Re: 2.3.11+/dev/loop problems

Shevek (shevek@tirin.openworld.co.uk)
Tue, 27 Jul 1999 09:44:55 +0100 (BST)


This happens to me also when there are spaces in smbfs share names, which
breaks lots of things. AFAIK the kernel has unmounted the device, it's
just left in /etc/mtab, which can be hacked out with vi.

S.

On 26 Jul 1999, Preston F. Crow wrote:

> I've been playing with creating a filesystem in a file, mounting it with the
> loopback device, copying files to it, and then unmounting it. In the process
> of doing this, the directory acting as the mount point has become corrupted:
> % ls -l /mnt
> br-xr-S-wx 0 root root 0, 0 Jan 1 1970 /mnt
>
> The loopback filesystem was an ext2 filesystem in a file consisting mostly of
> holes (until I filled it up).
>
> I haven't yet been able to recreate the situation.
>
> In trying to use /dev/loop0 again, I received the error:
> ioctl: LOOP_SET_FD: Device or resource busy
> The 'df' and 'mount' commands insist that /mnt isn't mounted, though
> /proc/mounts
> lists it as being mounted. It seems that there was some confusion on
> unmounting
> it.
>
> --PC
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

--
Shevek
GM/CS/MU -d+ H+>++ s+: !g p2 au0 !a w+++ v-(---) C++++$ UL++++$ UB+
US+++$ UI+++$ P+>++++ L++++$ 3+ E--- N K !W(-----) M(-) !V -po+ Y+
t+ 5++ !j !R G' !tv b+++ D++ B--- e+ u+* h++ f? r-- n---- y?
Recent UH+>++ UO+ UC++ U?+++ UV++ and collecting.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/