linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Kevin P. Fleming" <kpfleming@cox.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: Some question about Udev
Date: Tue, 05 Aug 2003 01:25:34 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-106004683929353@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-106004529728260@msgid-missing>

> 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

  reply	other threads:[~2003-08-05  1:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-05  0:55 Some question about Udev Stanley Wang
2003-08-05  1:25 ` Kevin P. Fleming [this message]
2003-08-05 17:19 ` Greg KH
2003-08-05 18:09 ` Greg KH
2003-08-05 18:19 ` Kevin P. Fleming
2003-08-06  7:23 ` Greg KH
2003-08-06 17:09 ` Kevin P. Fleming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-hotplug-106004683929353@msgid-missing \
    --to=kpfleming@cox.net \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).