Hi Rob,

Encountered an issue while mounting a device which is already mounted.

when __-t__ is not specified, the mount tries with the first device
filesystem
it finds from /proc/filesystems.

__mount()__ return an EBUSY, at this point no other file system is tried
for mounting
instead mount breaks out of the loop with a "Device Busy" error.

Shouldn't it try for another filesystem mount in this case, as this is also
the behavior
from GNU mount.

Use case.

Lets have a disk image, formatted ext4 setup at /dev/loop0.

mount /dev/loop0 /tmp

this mounts loop0 on /tmp with __ext4__

try again, mount tries with first fs in /proc/filesystems, e.g. ext3. An
error is
reported and mount breaks out without trying further.

What should be the right thing.

regards,
Ashwini
_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to