On Wed, 16 Oct 2002 21:22:34 +0000 Michael Carmack <karmak@xxxxxxxxxx>
wrote:
> On Wed, Oct 16, 2002 at 08:32:42PM +0100, Sam Halliday wrote:
> > 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.
well, i got a little too annoyed with the bugs involved in running a
symlink form /etc/mtab to /proc/mounts, and i _just_ changed my system
to use a real file /etc/mtab. but i can assure you that when i switched
to devfs, this problem occured, so to me id say it probably is devfs to
blame, sorry!
Sam
--
Q: How many journalists does it take to screw in a lightbulb?
A: Three. One to report it as an inspired government program to bring
light to the people, one to report it as a diabolical government plot
to deprive the poor of darkness, and one to win a Pulitzer prize for
reporting that Electric Company hired a lightbulb-assassin to break
the bulb in the first place.
|