lkml.org 
[lkml]   [1999]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.3.11+/dev/loop problems
From
Date
Preston.F.Crow@Dartmouth.EDU  (Preston F. Crow) writes:

> 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

You have to remove a loopback device first (with losetup -d) before you
can recreate it. Umounting doesn't do that.


-Andi

--
This is like TV. I don't like TV.

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

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.310 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site