From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kevin P. Fleming" Date: Tue, 05 Aug 2003 01:25:34 +0000 Subject: Re: Some question about Udev Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org > On Tue, 2003-08-05 at 00:10, Greg KH wrote: > >>>1. How does Udev deal with the devices that can't be hot plugged ? such >>>as IDE disk, sound card. >>>If we want to use Udev to replace /dev, we must also manager these >>>devices. But these devices are probed at system boot time and will not >>>trigger the hotplug script, how could we know the existence of them ? >>>Could we call the Udev in the init process and go through /sys to create >>>all devices' files? >> >>udev will be called everytime /sbin/hotplug is called, and that is >>called every time we find a device during the boot process. I'll put >>udev into the initramfs image so it too will be present during that >>time. This way we will not miss any events. > Greg, how you do foresee the udev database (the tdb file(s)) and the /dev nodes it has created persisting across the mounting of the real root filesystem? Even if the root filesystem is mounted elsewhere and then pivoted onto /, that still means that udev's "state" is going to be effectively relocated. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ 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