chiark / gitweb /
[PATCH] udev.8 tweak numeric id text
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Tue, 25 Nov 2003 06:27:25 +0000 (22:27 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:04 +0000 (21:13 -0700)
04-udev.8-tweak-numeric-id-text.diff
  o change "return value" to "returned string"
  o add textual owner/group example for udev.permissions
  o mention klibc compile as special case for udev.permissions
  o remove duplicated numeric owner clause

udev.8

diff --git a/udev.8 b/udev.8
index e9470838b488646de48b370163c55a2d88cb6994..1500b3b424d79a5e3f350043a269b154410bda26 100644 (file)
--- a/udev.8
+++ b/udev.8
@@ -104,7 +104,8 @@ the kernel minor number for the device
 the bus id for the device
 .TP
 .B %c
 the bus id for the device
 .TP
 .B %c
-the CALLOUT program return value (this does not work within the PROGRAM field for the obvious reason.)
+the CALLOUT program returned string
+(this does not work within the PROGRAM field for the obvious reason.)
 .RE
 .P
 A sample \fIudev.conf\fP might look like this:
 .RE
 .P
 A sample \fIudev.conf\fP might look like this:
@@ -134,26 +135,25 @@ Permissions and ownership for the created device files may specified at
 The file consists of a set of lines. All empty lines and
 lines beginning with a '#' will be ignored.
 .br
 The file consists of a set of lines. All empty lines and
 lines beginning with a '#' will be ignored.
 .br
-Every line lists a device name followed by numeric owner, group and permission
+Every line lists a device name followed by owner, group and permission
 mode. All values are separated by colons. The name field may end with a
 wildcard to apply the values to a whole class of devices.
 .br
 mode. All values are separated by colons. The name field may end with a
 wildcard to apply the values to a whole class of devices.
 .br
-If udev was built using glibc, string owner and group names may be used.
+If
+.B udev
+was built using klibc or is used before the user database is accessible (e.g.
+.B initrd
+), only numeric owner and group values may be used.
 .sp
 A sample \fIudev.permissions\fP might look like this:
 .sp
 .nf
 #name:user:group:mode
 .sp
 A sample \fIudev.permissions\fP might look like this:
 .sp
 .nf
 #name:user:group:mode
+input/*:root:root:644
 ttyUSB1:0:8:0660
 ttyUSB1:0:8:0660
-video*:500:500:0660
+video*:root:video:0660
 dsp1:::0666
 .fi
 dsp1:::0666
 .fi
-.P
-If 
-.B
-udev
-was built using glibc, string owner and group names may be used.
-
 .SH "FILES"
 .nf
 .ft B
 .SH "FILES"
 .nf
 .ft B