Hi
I've encountered trouble trying to create a loopback device to use with 
usb_storage module instead of the card.
Here are my problems:


[EMAIL PROTECTED]:/media/card# losetup /dev/loop0 bigfile 
losetup: /dev/loop0: No such file or directory
[EMAIL PROTECTED]:/media/card# touch /dev/loop0
[EMAIL PROTECTED]:/media/card# losetup /dev/loop0 bigfile 
losetup: /dev/loop0
[EMAIL PROTECTED]:/media/card# ls -l /dev/loop0
-rw-r--r--    1 root     root            0 Oct  3 16:31 /dev/loop0


bigfile is the file I wanted to mount.
I also tried to mknod /dev/loop0 with the major and minor guessed from the 
desktop's ones:


[EMAIL PROTECTED]:/media/card# mknod /dev/loop2 b 7 1
[EMAIL PROTECTED]:/media/card# losetup /dev/loop2 bigfile 
losetup: /dev/loop2: No such device or address


What can be done about it? Or maybe some usb storage module supports exposing 
directories instead of devices?

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to