mounting a loopback file from a link fails with busybox 1.2.1

Yann Le Doaré yledoare at linuxconsole.org
Mon Aug 7 18:26:55 UTC 2006


Hi, I have a problem with busybox 1.2.1 (1.0.1 relase is OK for that) :
When I want to mount a lookback file from a link, I have the "Block
device required" error.

# Create a file
dd if=/dev/zero of=/tmp/testfs count=200
# make a filesystem on this file
mke2fs -F /tmp/testfs 
# mounting is ok
./busybox mount /tmp/testfs /mnt/floppy/ -o loop
umount /mnt/floppy
# Make a link
ln -sf /tmp/testfs /tmp/testfslnk
# busybox 1.2.1 reports : "mount: Mounting /tmp/testfslnk
on /mnt/floppy/ failed: Block device required"
./busybox mount /tmp/testfslnk /mnt/floppy/ -o loop

Regards.

Yann Le Doaré.




More information about the busybox mailing list