udevinfo has no information about -d option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: udev
i can't find any reference to -d parameter in help or man:
=======
# udevinfo -h
Usage: udevinfo [-anpqrVh]
-q TYPE query database for the specified value:
'name' name of device node
'path' sysfs device path
'env' the device related imported environment
'all' all values
-p PATH sysfs device path used for query or chain
-n NAME node/symlink name used for query
-r prepend to query result or print udev_root
-a print all SYSFS_attributes along the device chain
-e export the content of the udev database
-V print udev version
-h print this help text
=======
# man udevinfo
=======
[...]
OPTIONS
-q Query the database for specified type of device data. It needs the -p or -n to identify the
-a Print all sysfs properties of the specified device that can be used in udev rules to match the
in udev rules.
-p device-path
The sysfs path of the device to query.
-n node-name
The name of the device node or a symlink to query
-r The udev root directory: /dev. If used in conjunction with a name or symlink query, the query
-e Export the content of the udev database.
-h Print help text.
AUTHOR
[...]
=======
but i can actually execute this command:
=======
# udevinfo -d
/block/hda=/dev/hda
/block/
/block/
/block/
/block/
/block/
/block/
/class/
/class/
/class/
/class/
/class/
/class/
/class/
/class/
/class/
/class/
/class/
=======
and is really usefull for reporting current mappings.
docs should be updated
Changed in udev: | |
importance: | Undecided → Low |
status: | Unconfirmed → Confirmed |
(Kinda)
The -d option wasn't documented because it was being removed, and it now has been removed completely.
udevinfo --export-db is the preferred alternative now, which doesn't have the same problems