Re: unmount problem with loop devices

Matthew Wilcox (Matthew.Wilcox@genedata.com)
Wed, 30 Jun 1999 08:48:12 +0200


On Wed, Jun 30, 1999 at 07:53:55AM +0200, don@sabotage.org wrote:
> dwguest@win.tue.nl:
> > Use losetup -d if you use mount/umount in such a way
>
> > Do not use a symlink to /proc/mounts as /etc/mtab
>
> Ah didn't realize the mount was doing an implicit losetup.
> And good guess to everyone who knew /etc/mtab was symlinked to /proc/mounts,
> it's necessary because / is a readonly iso9660. ;)

Not at all; you can mount a ramdisk on /etc even if you have no other
writable storage available.

-- 
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson

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