From 6593e8961afbe0b74d5a67c545a991c7733e88df Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 20 Aug 2010 12:19:23 +0200 Subject: [PATCH] udev(7): Point out required extension, and remove some confusion Rules files must end in .rules. Also drop the redundant and confusing sentence about "file names must be unique". What is really meant is explained in a better way in the paragraph above. https://launchpad.net/bugs/616108 --- udev/udev.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/udev/udev.xml b/udev/udev.xml index 20c394c..336b203 100644 --- a/udev/udev.xml +++ b/udev/udev.xml @@ -75,12 +75,13 @@ the custom rules directory /etc/udev/rules.d/ and the temporary rules directory /dev/.udev/rules.d/. All rule files are sorted and processed in lexical order, regardless - in which of these directories they live. + in which of these directories they live. Files in + /etc/udev/rules.d/ have precedence over files with + the same name in /lib/udev/rules.d/. This can be + used to ignore a default rules file if needed. - Rule files are required to have a unique name, duplicate file names - are ignored. Files in /etc/udev/rules.d/ have precedence - over files with the same name in /lib/udev/rules.d/. This - can be used to ignore a default rules file if needed. + Rule files must end in .rules, other extensions + are ignored. Every line in the rules file contains at least one key value pair. There are two kind of keys, match and assignment keys. -- 2.7.4