From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kevin P. Fleming" Date: Wed, 21 Apr 2004 03:59:03 +0000 Subject: Clarification on /etc/udev/rules.d processing Message-Id: <4085F187.2070003@backtobasicsmgmt.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org I've just started using udev, and I've decided I'd much rather have individual config files for various purposes in /etc/udev/rules.d rather than one combined file. From my reading of the code, it appears that udev always reads all the files in that directory (which is good), and they are read in readdir() order which should mean I can control the order by using alphanumeric sorting of the names (also good). What I'm not clear on is how udev will handle multiple rules that match for a given device: if more than one rule wants to provide a device name, I presume udev will stop looking for device name rules as soon as any rules matches, right? In spite of that, rules that add symlinks to a device seem to always be processed even if they appear in the file after the rule that supplied the device name. I think this is the correct behavior, but I want to make sure it's the _expected_ behavior, not just "unspecified behavior" that could change at any time. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ 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