X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udevinfo.8;h=bf6a0aded1ee3a0e8061dda6de0d12e4c9a6526d;hp=fdb0e6f62bc2545559c0f3e41d7b57c8da025a89;hb=b579916fb53f3916cf27c85072ce87f5b6b84b8b;hpb=01fc67683a88d4175a9437fb24e3b99e83eeb3ef diff --git a/udevinfo.8 b/udevinfo.8 index fdb0e6f62..bf6a0aded 100644 --- a/udevinfo.8 +++ b/udevinfo.8 @@ -1,52 +1,54 @@ -.TH UDEVINFO 8 "October 2003" "" "Linux Administrator's Manual" +.TH UDEVINFO 8 "January 2004" "" "Linux Administrator's Manual" .SH NAME udevinfo \- retrieve information from udev .SH SYNOPSIS .B udevinfo -.RI "[-q " query_type " -p " sysfs_path "] [-drVh]" +.RI "[\-q " query_type " \-p " sysfs_path "] [\-drVh]" .SH "DESCRIPTION" .B udevinfo -allows users to query the udev database for information on any of the devices -currently present in the system. It also provides a way to query any device -in the sysfs tree to help in creating +allows users to query the udev database for information on any device +currently present on the system. It also provides a way to query any device +in the sysfs tree to help creating .B udev -rule files. +rules. .SH "OPTIONS" .TP -.B -V +.B \-V Print the version information. .TP -.B -r -Print the the +.B \-r +Print the .B udev_root directory. When used in conjunction with a query for the node name, the .B udev_root will be prepended. .TP -.BI -q " query_type" +.BI \-q " query_type" Query the database for specified value of a created device node. -.RB Needs " -p " or " -n " specified. +.RB Needs " \-p " or " \-n " specified. .br Valid types are: -.BR name ", " symlink ", " mode " ," owner " , " group " or " path. +.BR name ", " symlink ", " mode " ," owner " , " group " , " path " or " all. .TP -.BI -p " sysfs_path" +.BI \-p " sysfs_path" Specify the sysfs path of the device to query. .TP -.BI -n " name" -Specify the name of the node for the device to query. +.BI \-n " name" +Specify the name of the node or the symlink for the device to query. +Partition names generated with the NAME{all_partitons} option can not be +queried, the main device must be used instead. .TP -.B -a +.B \-a Print all -.BI SYSFS_ filename -attributes along the device chain. Useful for for finding +.BI SYSFS{ filename } +attributes along the device chain. Useful for finding unique attributes to compose a rule. -.RB Needs " -p " specified. +.RB Needs " \-p " specified. .TP -.B -d +.B \-d Dump the whole database. .TP -.B -h +.B \-h Print help text. .SH "FILES" .nf