[BusyBox] losetup applet mounting files readonly

K Raghu Prasad raghuprasad at yahoo.com
Fri Mar 21 12:43:03 UTC 2003


Hi friends,

I am using busybox-0.60.5. I need to mount a file
as filesytem. So I do the following:

losetup /dev/loop0 myfilesystem.fs
mount /dev/loop0 /mnt

Now second command mounts the loop device read-only.
even a remount with read-write does not work. I am not
using busybox "mount". My mount utility mounts the
file
with read-write if I run following command:

mount myfilesystem.fs /mnt -o loop

This prompted me to supect that losetup is having a
bug. So I used native losetup utility supplied by
SuSE 8.0. I worked correctly.

Now my question: Is it a bug or is there any command
line option available to set up loop device 
in read-write mode?

Thanks in advance
Raghu


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com



More information about the busybox mailing list