Skip to contentSkip to conversation

put symlink only rules to the man page

PATCH Applied Kay Sievers 3 participants 3 messages Mar 4, 2004 – Mar 13, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 put symlink only rules to the man page

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

===== udev.8 1.49 vs edited =====

udev.8 +11 -2
@@ -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:
Applied
#1 lore raw
Quoted 2 lines · Kay Sievers

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

Applied, thanks.

greg k-h

-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Kay Sievers
Quoted 3 lines · Kay Sievers

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

yes thank you. Greg, I guess it is quite OK for manual; anything more would fit into "usage example" case.

-andrey

Quoted 2 lines

thanks,
Kay

-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel