On Thu, Oct 8, 2009 at 3:26 AM, John Williams
<[email protected]> wrote:

> 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'

Returning to your original mail. It's strange that you
do not get any error message. There should be one.
Example from my machine:

# busybox mount -t exttt2 /dev/sr0 /mnt/d
mount: mounting /dev/sr0 on /mnt/d failed: No such file or directory


It comes from this syscall:

stat64("/dev/sr0", {st_mode=S_IFBLK|0660, st_rdev=makedev(11, 0), ...}) = 0
mount("/dev/sr0", "/mnt/d", "exttt2", MS_SILENT, "") = -1 ENOENT (No
such file or directory)

Do you have CONFIG_FEATURE_MTAB_SUPPORT=y? Does the message appear
if you switch it off?

--
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to