From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Fri, 13 Feb 2004 17:58:25 +0000 Subject: Re: starting with an empty /dev Message-Id: <200402131258.26552.vapier@gentoo.org> MIME-Version: 1 Content-Type: multipart/mixed; boundary="Boundary-02=_CBRLAWRZfduqZSP" List-Id: References: <20040213102434.GA3991@wonderland.linux.it> In-Reply-To: <20040213102434.GA3991@wonderland.linux.it> To: linux-hotplug@vger.kernel.org --Boundary-02=_CBRLAWRZfduqZSP Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 13 February 2004 05:24 am, Marco d'Itri wrote: > IIRC initramfs already contains these devices, but anyway it's important > to remember that if they are removed everything will break. > Should we start thinking about how udev could be used in the real world? the devices that are needed are somewhat distro (well, init scripts)=20 dependent ... > Maybe you dont care but I have installed udev and it is working for me > great. But there were some problems. using /udev never even occurred to me ... i've been using udev on my /dev=20 since 002 :x > I have found that devices: > /dev/null, > /dev/console like i said above, this is specific to your init scripts ... /dev/console is needed if you want to see output from your init scripts ...= =20 you can boot *just fine* without it ... just wait a while into the getty's= =20 pop up :) /dev/null is needed by your _init scripts_ ... many boot up scripts just pu= mp=20 their output into /dev/null and then when there are errors, they output hap= py=20 little errors for the user to understand ... if, before you've loaded up=20 udev, you try to pump into /dev/null and your / is ro, the init scripts are= =20 going to think the command it just tried to run failed and so in general,=20 everything dies i've already created a small patch for inclusion with the Gentoo baselayout= to=20 handle the case when /dev/null doesnt exist (yeah, i like to `rm -rf /dev/*= ;=20 sync ; reboot -nf` for fun ... no seriously, i do) that way if you dont hav= e=20 anything in /dev/, your machine will boot up and you can login to create=20 whatever nodes you may need in order to have a 'normal' bootup (which is ki= nd=20 of where you're at matt, /dev/console and /dev/null) =2Dmike --Boundary-02=_CBRLAWRZfduqZSP Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iQIVAwUAQC0QQkFjO5/oN/WBAQJiRBAAo06JdronmSGF1SljAITHVLKDNhx0Rz5/ RVyJ3xFLY5bMqC9hh/uNr3QBYaPaWAEF/Zk17Y8fcutpZ2AqE8486A1NWw4xhctd 8fTlqkV0d8QsfX2EBbM275nQI8xrFYBud+r2bkl4ZXdj+EgZRiqwf7RYQ9wM125W f5t1HAeG2J3YIPR0E3Mlp8UHUErQFX660ORdAXd4ckEWHKcMyeUgh42Q3M++7RmW pOFM3jTyNdmkJrgHrZYtB+UhB1FsKueMDRl/VE2jO/kzf++3PVHUzBkjEX8yUEms 9wPUAq2/w+5CYllMWi0ezbDrtoPgMsZXJj6O+qJdDgi1hBjsMYSzR7+I97zT72MB fKHcdOVOP0tHpmMAL1MKvYj9mJEnNVFYxTsAqyVyBth9cH4wrvETgN6Xwdvz98Hd F4/6ahGnuPIQIEybohEHA5s3DUm2FZPzeDtcAM1Ztk3FIQbUcGU1YfWSTJiq+FpD BqNUqwUxEbofQc0m3+sdRHVF5KYrg5/s7sT8yjc1jO5ZN5i1jYFbtZCTl9TGtE/6 S4cFNvoV/acGyc9ByI0UhO3x6cxST2G+4jM75lxUSq/sl4Msf2ufrTI9+HRSMpWu NCwCyZdw2rIhQVLtJ7V28ov4Jd+StwVR3CKilU1o8C8u/YlaZZZLS0eGa1d7k0Er /KiHHvkVWgM= =jivC -----END PGP SIGNATURE----- --Boundary-02=_CBRLAWRZfduqZSP-- ------------------------------------------------------- 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