From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stanley Wang Date: Tue, 05 Aug 2003 00:55:00 +0000 Subject: Re: Some question about Udev Message-Id: List-Id: 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: > On Mon, Aug 04, 2003 at 09:20:15PM +0800, Stanley Wang wrote: > > Hi Greg, > > I have some question about Udev, please help me :) > > Try asking these on the linux-hotplug-devel mailing list next time, so > that others can see the answers for future searches. Thanks a lot! I forget to CC linux-hotplug-devel. > > > 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. My question: Could we boot the kernel by using udev and a empty /dev directory? > > > 2. When you talked about namedev in your slices(page 11), you mentioned > > "tdb". What's it? > > Quote from your slices: > > > > NAMEDEV > > [snip] > > > > *able to be queried to determine current devices > > *uses tdb > > It's a database package called "Tiny DataBase" from the samba authors. > > Hope this helps, > > greg k-h -- Opinions expressed are those of the author and do not represent Intel Corporation "gpg --recv-keys --keyserver wwwkeys.pgp.net E1390A7F" {E1390A7F:3AD1 1B0C 2019 E183 0CFF 55E8 369A 8B75 E139 0A7F} ------------------------------------------------------- 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