linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [udev] man-page mention multiple symlinks
@ 2003-12-10  3:57 Kay Sievers
  0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2003-12-10  3:57 UTC (permalink / raw)
  To: linux-hotplug

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

As usual, when the stuff gets in the tree - here is a small
man page update and a TODO line removal.

thanks,
Kay


01-man-page_multiple_symlinks.diff
  mention multiple symlinks
  update example with silly symlink rule :)
  shorten example line to have less than 80 chars
  remove "want symlink support" from TODO

[-- Attachment #2: 01-man-page_multiple_symlinks.diff --]
[-- Type: text/plain, Size: 1744 bytes --]

diff -Nru a/TODO b/TODO
--- a/TODO	Wed Dec 10 04:33:35 2003
+++ b/TODO	Wed Dec 10 04:33:35 2003
@@ -8,7 +8,6 @@
 
 - fix kernel name logic to handle devices like sdaj and such.
 - more documentation (can never have too much.)
-- add symlink generation and removal support
 - better partition support (it's a hack right now, maybe new libsysfs changes
   can help out a lot here.)
 - allow database to be queried by other programs
diff -Nru a/udev.8 b/udev.8
--- a/udev.8	Wed Dec 10 04:33:35 2003
+++ b/udev.8	Wed Dec 10 04:33:35 2003
@@ -94,7 +94,7 @@
 Every line in the rules file define the mapping between device attributes and
 the device file name. It starts with a keyword defining the method used to
 match, followed by one ore more keys to compare and the filename for the
-device. Optional the name for a symlink targeting the node may specified.
+device. One ore more optional symlinks targeting the node may be specified.
 .br
 If no matching configuration is found, the default kernel device name
 is used.
@@ -175,11 +175,11 @@
 # USB mouse at third port of the second hub to be called mouse1
 TOPOLOGY, BUS="usb", PLACE="2.3", NAME="mouse1"
 
-# ttyUSB1 should always be called pda
-REPLACE, KERNEL="ttyUSB1", NAME="pda"
+# ttyUSB1 should always be called pda with two additional symlinks
+REPLACE, KERNEL="ttyUSB1", NAME="pda", SYMLINK="palmtop handheld"
 
-# USB webcams with symlinks to be called webcam0, webcam1, ...
-LABEL, BUS="usb", model="WebCam Version 3", NAME="video%n", SYMLINK="webcam%n"
+# multiple USB webcams with symlinks to be called webcam0, webcam1, ...
+LABEL, BUS="usb", model="WebCam V3", NAME="video%n", SYMLINK="webcam%n"
 .fi
 .P
 Permissions and ownership for the created device files may specified at

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

* Re: [udev] man-page mention multiple symlinks
@ 2003-12-10 15:41 Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-12-10 15:41 UTC (permalink / raw)
  To: linux-hotplug

On Wed, Dec 10, 2003 at 04:57:16AM +0100, Kay Sievers wrote:
> As usual, when the stuff gets in the tree - here is a small
> man page update and a TODO line removal.

Thanks, applied.

greg k-h


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

end of thread, other threads:[~2003-12-10 15:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-10 15:41 [udev] man-page mention multiple symlinks Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2003-12-10  3:57 Kay Sievers

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).