Hi,

I was a little surprised to discover that busybox mount is silent
about failed mount attempts, when the desired FS type is not present
in the kernel:

/ # cat /proc/filesystems | grep ext2
/ # mount -t ext2 /dev/xsa2 /mnt
/ # echo $?
111

On my desktop:
[jwilli...@petalogix-ws1 linux-2.6.x]$ sudo mount -t rubbish /dev/loop0 /mnt
mount: unknown filesystem type 'rubbish'

I am effectively building busybox "allyesconfig" so I'm sure it's not
just a missing option.  Is this some kind of policy decision or just
not implemented yet?  Other failure modes get messages (e.g. not
providing a mount point when missing /etc/fstab).

Thanks,

John
-- 
John Williams, PhD, B.Eng, B.IT
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com  p: +61-7-30090663  f: +61-7-30090663
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to