You are not logged in.
Hello, my loop device is busy:
$ sudo modprobe loop ; sudo mount -t iso9660 -o ro,loop=/dev/loop0 *.iso mnt
ioctl: LOOP_SET_FD: Device or resource busy
$ sudo rmmod loop
ERROR: Module loop is in use
The commands are issued on an external drive. I mounted the *.iso with the same command a while ago, and the external drive was unplugged accidently. But when I typed mount, their still was the entry showing the *.iso being mounted. (It's like a ghost process...)
So I just sudo umount mnt, then replugged the external drive in, issued the command above, and loop module/device is busy.
How can I troubleshoot this? And, of course, fix it. Thanks.
Last edited by lolilolicon (2009-08-28 10:53:34)
This silver ladybug at line 28...
Offline
Yay, I got it working!
$ sudo losetup -f
/dev/loop1
$ sudo losetup -d /dev/loop0
$ sudo losetup -f
/dev/loop0
$ sudo modprobe loop ; sudo mount -t iso9660 -o ro,loop=/dev/loop0 *.iso mnt
OK
This silver ladybug at line 28...
Offline