[BusyBox] loopback mount not working in unstable

Bruce Edge bedge at troikanetworks.com
Mon Jun 30 20:59:19 UTC 2003


I can't mount using a loopback device:

[root at maint tmp]# mount -o loop initrd mnt
mount: ioctl: LOOP_SET_FD: Invalid argument
mount: Could not setup loop device

I am using devfs, so I thought perhaps it was only looking for the non devfs loop devics, so I created a few links:

[root at kahuna-maint tmp]# ls -l /dev/loop*
lr-xr-xr-x    1 root     root            6 Jun 30 07:30 /dev/loop0 -> loop/0
lr-xr-xr-x    1 root     root            6 Jun 30 07:30 /dev/loop1 -> loop/1
lr-xr-xr-x    1 root     root            6 Jun 30 07:30 /dev/loop2 -> loop/2

But it didn't help, same error.

losetup doesn't work either:

[root at kahuna-maint tmp]# losetup initrd mnt
losetup: ioctl: LOOP_SET_FD: Inappropriate ioctl for device

I'm running:
[root at kahuna-maint tmp]# busybox
BusyBox v0.61.pre (2003.06.30-20:23+0000) multi-call binary

Any ideas?

Thanks, Bruce.



More information about the busybox mailing list