diff options
author | VMiklos <vmiklos@gmail.com> | 2007-04-22 14:10:18 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-04-22 14:10:18 +0200 |
commit | 8127859217bcc4db6f42f8d549f157df93a44557 (patch) | |
tree | 26361ec5f7c68ece3a210bbef091b701c1571d63 /extras/path_id/path_id.8 | |
parent | fc630edad4631f4c046052f504a67ce9df381531 (diff) |
path_id: add man page
Diffstat (limited to 'extras/path_id/path_id.8')
-rw-r--r-- | extras/path_id/path_id.8 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/extras/path_id/path_id.8 b/extras/path_id/path_id.8 new file mode 100644 index 0000000000..e55914de31 --- /dev/null +++ b/extras/path_id/path_id.8 @@ -0,0 +1,26 @@ +.TH PATH_ID 8 "April 2007" "" "Linux Administrator's Manual" +.SH NAME +path_id \- udev callout to provide the shortest possible unique hardware path +to a device for the Linux Persistent Device Naming scheme +.SH SYNOPSIS +DEVPATH=<devpath>; path_id + +path_id <devpath> +.SH "DESCRIPTION" +.B path_id +is normally called from a udev rule, to provide udev a unique hardware path for +a device. Udev can use this information to create symlinks in /dev/ to the real +device node. +.SH EXAMPLES +For all block devices on a system: + +.nf +for i in `find /sys/class/block` +do + DEVPATH="`echo $i | sed -e 's@^/sys\|/dev@@g'`"; path_id +done +.fi +.SH SEE ALSO +.BR udev (7) +.SH AUTHORS +Developed by Hannes Reinecke <hare@suse.de>. |