From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Wed, 15 Dec 2004 19:49:22 +0000 Subject: Re: determining udev running Message-Id: <1103140162.14134.102.camel@localhost.localdomain> 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 On Wed, 2004-12-15 at 11:21 -0800, rich turner wrote: > is there a consistent way to know if udev is currently running on a > system? > > i realize udevd will be running and will be visible through a ps > listing, but i would like to check for the existence of a file or an > entry in /proc or /sys. As udev runs entirely in userspace, the kernel doesn't know about it. You may check for a symlink to udevsend in /etc/hotplug.d/default/ or /proc/sys/kernel/hotplug that may be set to udev or udevsend. Kay ------------------------------------------------------- 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