Re: devfs mounted twice in linux 2.4.19-pre3

Richard Gooch (rgooch@ras.ucalgary.ca)
Mon, 18 Mar 2002 08:36:37 -0700


Denis Vlasenko writes:
> On 17 March 2002 09:19, Felix Braun wrote:
> > Hi Richard,
> >
> > I just noticed that devfs is listed twice in /proc/mounts in linux
> > 2.4.19-pre3, which confuses my shutdown script. Under 2.4.19-pre my
> > /proc/mounts looks like this:
> >
> > devfs /dev devfs rw 0 0
> > /dev/ide/host0/bus0/target0/lun0/part5 / reiserfs rw 0 0
> > none /dev devfs rw 0 0
> > /proc /proc proc rw 0 0
> > /dev/discs/disc0/part1 /dos vfat rw 0 0
> > /dev/discs/disc0/part9 /opt reiserfs rw,noatime 0 0
> > none /dev/pts devpts rw 0 0
> > /dev/discs/disc0/part7 /usr reiserfs rw 0 0
> > none /dev/shm tmpfs rw 0 0
> >
> > whereas under 2.4.18 the first line didn't show up. Is that a
> > misconfiguration on my part?
>
> Maybe you mount devfs manually after kernel did the same?
> devfs /dev devfs rw 0 0 - most probably mounted by initscripts
> none /dev devfs rw 0 0 - by kernel
>
> Look into /var/log/messages for:
> kernel: VFS: Mounted root (nfs filesystem).
> kernel: Mounted devfs on /dev <============ do yo have this?

No, I don't think that's the problem. I now also have two devfs
entries in /proc/mounts with 2.4.19-pre3. My boot scripts don't mount
devfs. I'm looking into the problem. It seems to have something to do
with Al's changes to the boot sequence code.

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/