chiark / gitweb /
fix man page typos
[elogind.git] / udev.8
diff --git a/udev.8 b/udev.8
index a591a1398e280defb89e8016d66f65892b6c868b..6d2f5e679eda9588b3f32c36ec0aed6801cbf103 100644 (file)
--- a/udev.8
+++ b/udev.8
@@ -17,15 +17,13 @@ directory, or it renames network interfaces.
 .PP
 Usually udev runs as 
 \fBudevd\fR(8) 
-and receives uevents directly from the kernel if a device is added or removed form the system. The program 
-\fBudev\fR 
-itself may be used as an event handler in situations, where running the daemon is not appropriate, like in initramfs.
+and receives uevents directly from the kernel if a device is added or removed form the system.
 .PP
 If udev receives a device event, it matches its configured rules against the available device attributes provided in sysfs to identify the device. Rules that match, may provide additional device information or specify a device node name and multiple symlink names and instruct udev to run additional programs as part of the device event handling.
 .SH "CONFIGURATION"
 .PP
 All udev configuration files are placed in 
-\fI/etc/udev/*\fR. Every file consist of a set of lines of text. All empty lines or lines beginning with '#' will be ignored.
+\fI/etc/udev/*\fR. Every file consists of a set of lines of text. All empty lines or lines beginning with '#' will be ignored.
 .SS "Configuration file"
 .PP
 udev expects its main configuration file at 
@@ -35,10 +33,6 @@ udev expects its main configuration file at
 Specifies where to place the device nodes in the filesystem. The default value is 
 \fI/dev\fR.
 .TP
-\fBudev_db\fR
-The name and location of the udev database. The default value is 
-\fI/dev/.udevdb\fR.
-.TP
 \fBudev_rules\fR
 The name of the udev rules file or directory to look for files with the suffix 
 \fI.rules\fR. Multiple rule files are read in lexical order. The default value is 
@@ -88,7 +82,7 @@ Match the kernel devpath.
 Match the kernel subsystem name
 .TP
 \fBBUS\fR
-Match the typ of bus the device is connected to.
+Match the type of bus the device is connected to.
 .TP
 \fBDRIVER\fR
 Match the kernel driver name.
@@ -97,7 +91,7 @@ Match the kernel driver name.
 Match the device number on the bus.
 .TP
 \fBENV{\fR\fB\fIkey\fR\fR\fB}\fR
-Match against the value of an environment key. Depending on the specified operation, this key is also used as a assignment.
+Match against the value of an environment key. Depending on the specified operation, this key is also used as an assignment.
 .TP
 \fBSYSFS{\fR\fB\fIfilename\fR\fR\fB}\fR
 Match the sysfs attribute value. Up to five values can be specified. Trailing whitespace is ignored, if the specified match value does not contain trailing whitespace itself.
@@ -122,13 +116,13 @@ Matches any single character specified within the brackets. example, the pattern
 The following keys can get values assigned:
 .TP
 \fBNAME\fR
-The name of the node to be created, or the name, the network interface should be renamed to. Only one rule can set the a name, all later rules with a NAME key will be ignored.
+The name of the node to be created, or the name the network interface should be renamed to. Only one rule can set the node name, all later rules with a NAME key will be ignored.
 .TP
 \fBSYMLINK\fR
 The name of a symlink targeting the node. Every matching rule can add this value to the list of symlinks to be created along with the device node. Multiple symlinks may be specified by separating the names by the space character.
 .TP
 \fBOWNER, GROUP, MODE\fR
-The permissions for the device node. Every specified value over writes the compiled\-in default value.
+The permissions for the device node. Every specified value overwrites the compiled\-in default value.
 .TP
 \fBENV{\fR\fB\fIkey\fR\fR\fB}\fR
 Export the key to the environment. Depending on the specified operation, this key is also used as a match.
@@ -186,7 +180,7 @@ The devpath of the device.
 \fB%s{\fR\fB\fIfile\fR\fR\fB}\fR, \fB$sysfs{\fR\fB\fIfile\fR\fR\fB}\fR
 The content of a sysfs attribute.
 .TP
-\fB%e{\fR\fB\fIkey\fR\fR\fB}\fR, \fB$env{\fR\fB\fIkey\fR\fR\fB}\fR
+\fB%E{\fR\fB\fIkey\fR\fR\fB}\fR, \fB$env{\fR\fB\fIkey\fR\fR\fB}\fR
 The value of an environment variable.
 .TP
 \fB%m\fR, \fB$major\fR
@@ -200,11 +194,6 @@ The string returned by the external program requested with PROGRAM. A single par
 \fB%c{N}\fR. If the number is followed by the '+' char this part plus all remaining parts of the result string are substituted: 
 \fB%c{N+}\fR
 .TP
-\fB%e\fR, \fB$enum\fR
-If a device node already exists with the name, the smallest next free number is used. This can be used to create compatibility symlinks and enumerate devices of the same type originating from different kernel subsystems.
-
-Note: The use of the enumeration facility is unreliable for events that request a number at the same time. The use of enumerations in todays setups where devices can come and go at any time is not recommended.
-.TP
 \fB%P\fR, \fB$parent\fR
 The node name of the parent device.
 .TP