From mboxrd@z Thu Jan 1 00:00:00 1970 From: rich turner Date: Wed, 15 Dec 2004 23:21:42 +0000 Subject: Re: determining udev running Message-Id: <1103152901.4055.68.camel@rich> List-Id: References: <1103138473.4055.28.camel@rich> In-Reply-To: <1103138473.4055.28.camel@rich> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org can someone shoot any holes in my logic here. how about this: we used udev to populate /dev if: 1. /dev is a mounted filesystem as determined by /proc/mounts 2. there is a file /dev/.udev.tdb is there any importance for checking for udevd? doesnt it just listen for new devices detected by the kernel and create the nodes if they dont already exist? On Wed, 2004-12-15 at 14:50, rich turner wrote: > On Wed, 2004-12-15 at 11:51, Marco d'Itri wrote: > > On Dec 15, Kay Sievers wrote: > > > > > You may check for a symlink to udevsend in /etc/hotplug.d/default/ > > This will not work if udev is not active (e.g. because the init script > > detected a 2.4 kernel or was manually disabled). > > but i think this is what i need to know, if udev is active. or better > yet, i only want to know whether a system booted with udev, or populated > the /dev directory using udev. > > isnt there anything i can check to see that udev was used to populate > /dev? > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > 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 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ 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