devfs
[Top] [All Lists]

Re: too much mounted

To: Sam Halliday <samuel@xxxxxxxxxxx>
Subject: Re: too much mounted
From: Michael Carmack <karmak@xxxxxxxxxx>
Date: Wed, 16 Oct 2002 21:22:34 +0000
Cc: devfs@xxxxxxxxxxx
In-reply-to: <20021016203242.4017569e.samuel@ma.hw.ac.uk>
References: <20021016203242.4017569e.samuel@ma.hw.ac.uk>
Sender: devfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.24i
On Wed, Oct 16, 2002 at 08:32:42PM +0100, Sam Halliday wrote:
> hi there,
> 
> i recently rebuilt my system with devfs support... i like it a lot! good
> idea! but unfortunately i have one small gripe... i have my /etc/mtab as
> a symbolic link to /proc/mounts which has always worked nicely for me
> and i can therefore be sure that even on a system crash or read-only
> root mount, my mtab will always be correct... however, using devfs (on
> linux-2.4.19 and i also tested 2.4.20-pre11) i get two mounts for the
> rootfs... here is my /proc/mounts
> 
> rootfs / rootfs rw 0 0
> /dev/root / ext3 rw 0 0
> none /dev devfs rw 0 0
> proc /proc proc rw 0 0
> /dev/hda7 /home ext3 rw 0 0
> none /dev/shm tmpfs rw 0 0
> automount(pid77) /mnt/.autofs autofs rw 0 0
> 
> is this a bug, or is my symlink a bad idea. this is the way Linux from
> Scratch reccomends doing to /etc/mtab and i agree with their arguements.
> has anyone else experienced this? is it known already, and if so, is
> there a fix in the running? (hopefully before 2.4.20!)

I have noticed it too, and I never saw this before 2.4.19. With 2.4.17
(or was it 2.4.9?) the root fs showed up as /dev/ide/host0/...
I wasn't even aware that devfs was the culprit here.

I've been running several machines like this for months and have never
noticed a problem, but I'm also curious why this changed recently.

m.



<Prev in Thread] Current Thread [Next in Thread>