Re: [patch] 2.3.99pre6/devfs--unable to open initial console

From: Matthew Vanecek (linuxguy@directlink.net)
Date: Sun Apr 30 2000 - 06:16:31 EST


Matthew Vanecek wrote:
> yada-yada

Well, I figured it out all by my lonesome. In a rare moment of
inspiration, I actually paid close attention to the boot messages and
compared that to a dmesg from pre5. Seems the all-important "Mounted
devfs on /dev" message doesn't appear in pre6 bootup. Inspection of the
source showed that we are now defaulting to not mounting devfs on /dev
at bootup, when devfs is configured in the kernel (is there a logical
reason for this I missed while searching the archives?). Searching
further down base.c revealed a 'mount' strcmp that wasn't in pre5's
fs/devfs/base.c, implying a new boot option.

Checking the Documentation/filesystems/devfs/{README,boot-options} files
for the 1,561st time revealed that, as I suspected, this new option was
not yet documented. Being an enterprising person, I made such changes
as were necessary, and included them in the attached diff. Hopefully it
will make it into the official distribution.......

Well, what do you expect at this time of the night, anyhow??

:) Good day to all, sorry to have bothered you.

-- 
Matthew Vanecek
Visit my Website at http://mysite.directlink.net/linuxguy
For answers type: perl -e 'print
$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
*****************************************************************
For 93 million miles, there is nothing between the sun and my shadow
except me. I'm always getting in the way of something...

diff -urN Documentation/filesystems/devfs-old/README Documentation/filesystems/devfs/README --- Documentation/filesystems/devfs-old/README Sun Apr 30 06:03:55 2000 +++ Documentation/filesystems/devfs/README Sun Apr 30 06:02:51 2000 @@ -455,7 +455,10 @@ Fail-safe Approach with devfs mounted on /dev <subsection> --------------------------------------------- -The default is for devfs to be mounted onto /dev at boot time. +The new default (as of 2.3.99-pre6) is for devfs *not* to be mounted +onto /dev at boot time. In order to enable automatic mounting at +bootup, you must use the "devfs=mount" boot option, either from the +boot prompt, or with an "append =" line in your lilo.conf. Device drivers which do not yet have devfs support will not automagically appear in the devfs. The simplest way to create device nodes for these drivers is to unpack a tarfile containing the required diff -urN Documentation/filesystems/devfs-old/boot-options Documentation/filesystems/devfs/boot-options --- Documentation/filesystems/devfs-old/boot-options Sun Apr 30 06:03:55 2000 +++ Documentation/filesystems/devfs/boot-options Sun Apr 30 06:02:59 2000 @@ -61,6 +61,9 @@ show show unregistered devices by default -nomount do not mount devfs onto /dev at boot time +nomount do not mount devfs onto /dev at boot time -- this is the + default + +mount mount devfs onto /dev at boot time only disable non-devfs device nodes for devfs-capable drivers

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



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:18 EST