linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] put symlink only rules to the man page
@ 2004-03-04 21:46 Kay Sievers
  2004-03-09 19:51 ` Greg KH
  2004-03-13 19:08 ` Andrey Borzenkov
  0 siblings, 2 replies; 3+ messages in thread
From: Kay Sievers @ 2004-03-04 21:46 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 154 bytes --]

Here we mention the "symlink only - add it to another rule" feature
to the man page. Andrey, does this describe what you have implemented :)

thanks,
Kay

[-- Attachment #2: 02-symlink-only-man.patch --]
[-- Type: text/plain, Size: 1183 bytes --]

===== udev.8 1.49 vs edited =====
--- 1.49/udev.8	Thu Mar  4 14:38:53 2004
+++ edited/udev.8	Thu Mar  4 22:37:54 2004
@@ -200,8 +200,7 @@
 call.
 .TP
 .B NAME
-The name of the node to be created. If the name field is omitted or its
-value is empty, the device will be ignored and no node will be created.
+The name of the node to be created.
 .br
 If given with the attribute
 .BR NAME{ all_partitions }
@@ -211,6 +210,16 @@
 .B SYMLINK
 The name of a symlink targeting the node. Multiple symlinks may be
 specified by separating the names by the space character.
+.br
+If both the name and the symlink fields are omitted or its
+values empty, the device will be ignored and no node will be created.
+.br
+If only the symlink field is given and the name field is omitted,
+the rule will not be applied immediatly, but the symlink field is added
+to the symlink list of the rule which will create the node.
+This makes it possible to specify additional symlinks in a possibly
+separate rules file, while the device nodes are maintained by the
+distribution provided rules file.
 .P
 .RB "The " NAME " ," SYMLINK " and " PROGRAM
 fields support simple printf-like string substitution:

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-13 19:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-04 21:46 [PATCH] put symlink only rules to the man page Kay Sievers
2004-03-09 19:51 ` Greg KH
2004-03-13 19:08 ` Andrey Borzenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).