From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Fri, 20 Feb 2004 19:25:48 +0000 Subject: Re: udev for /dev Message-Id: <200402201425.54197.vapier@gentoo.org> MIME-Version: 1 Content-Type: multipart/mixed; boundary="Boundary-02=_C9lNA9+LjNT8O5m" List-Id: References: <20040220062015.85721.qmail@web14907.mail.yahoo.com> In-Reply-To: <20040220062015.85721.qmail@web14907.mail.yahoo.com> To: linux-hotplug@vger.kernel.org --Boundary-02=_C9lNA9+LjNT8O5m Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 20 February 2004 11:58 am, Fr=E9d=E9ric L. W. Meunier wrote: > On Thu, 19 Feb 2004, Jon Smirl wrote: > > First question, isn't there a script for rebuilding the /dev directory? > > If it's to rebuild the static /dev that came with your > distribution, reinstall the appropriate package. Probably > dev-*. or just run `MAKEDEV generic-i386` in /dev/ > > Second issue, I was forced to put a single device, > > /dev/console into /dev to make this work. I discovered this > > because I had deleted all of the common nodes out of /dev. > > Apparently it needs to be there in the transition from initrd > > to the boot device. Can this be avoided? This is a real mess > > if you delete /dev/console. I spent a couple of hours with my > > rescue disk before I figured out what happened. > > The same here. init needs it. no, no one *needs* it ... i think i posted an e-mail here about it before b= ut=20 it's only 'needed' if you want to see output before the *getty apps are=20 started. the kernel will open that device node before executing init so th= at=20 init will have the proper stdout file descriptor to write to. if you dont= =20 have /dev/console, the kernel prints the warning about not being able to op= en=20 it, and then just runs init which works *fine* without the node. =2Dmike --Boundary-02=_C9lNA9+LjNT8O5m Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iQIVAwUAQDZfQUFjO5/oN/WBAQKlZQ//WcIOPQANdP4yEeDiFyfDHLJoi1fhlTCg /WRRj0NEF4c7oEtnBDIqvUEgqWaETZyVc6eqB+idmBh+IGmHthK12hKLgjd7O0mz kqvbbmKa/ga1IOn+LqIzm+fzByVQHKInBbYsfMb+/7a7bsCT88NbYR1Na2a9+vyU Jpzk7xHvxkeItmuE7ur6A5k7V20nXHK3UQU0nEAhhJ70avVjZsjWJaLxKOHIc8yV 9tBlRQlAiuGszMceJ/anYX9jXqCayhcrlO8imoS6cGTxX6y0euifo/cRIpUJwiLa x865aQRlC2gBc7NwCpPX0ckTzb4gGLYaeA5RyCtj3Vn5cfTonR/8pMgnerakYw94 c00EKGNiWgcuVIOmaeJDRxwXxO9B00GYEbXy+z2gK6NgfWIafrfE4cH2mUYLmoso BmP/9BsT/YFzxqGaFiERuq1I/MjyTQgjeQ9+2j/gh3fAUisK1AvUnIWYXzCr5g+p yX/T2uJHjJfzvgM1zu7fLjqMPi0rqAj5tq2u550YYMoYeg/S+ZEbUF75B5mqq4UD +DJkjNEOZdrBFvUJhaoVRJsxSMItooFjoyCsIVOuLY7JlKColyZkY+56rMZrbgWg u+JY04/ZVqgCyJ6ozUtRjcR3wdevOdyi5zAZiukuhCjZCiW2WKcg0KFqV+kdfrH9 3DImOF7zPAI= =RfJV -----END PGP SIGNATURE----- --Boundary-02=_C9lNA9+LjNT8O5m-- ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel