Public bug reported:

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
             'symlink' pointing to 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
              specified device. Valid queries are: name, symlink, path, env, 
all.

       -a     Print all sysfs properties of the specified device that can be 
used in udev rules to match the
              specified device. It prints all devices along the chain, up to 
the root of sysfs that can be used
              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
              returns the absolute path.

       -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/hda/hda1=/dev/hda1
/block/hda/hda2=/dev/hda2
/block/hda/hda3=/dev/hda3
/block/hda/hda4=/dev/hda4
/block/hda/hda5=/dev/hda5
/block/hda/hda6=/dev/hda6
/class/input/input0/event0=/dev/input/event0
/class/input/mice=/dev/input/mice
/class/misc/device-mapper=/dev/mapper/control
/class/sound/controlC0=/dev/snd/controlC0
/class/sound/pcmC0D0c=/dev/snd/pcmC0D0c
/class/sound/pcmC0D0p=/dev/snd/pcmC0D0p
/class/sound/pcmC0D1c=/dev/snd/pcmC0D1c
/class/sound/timer=/dev/snd/timer
/class/usb_device/usbdev1.1=/dev/bus/usb/001/001
/class/usb_device/usbdev2.1=/dev/bus/usb/002/001
/class/usb_device/usbdev3.1=/dev/bus/usb/003/001
==================================================

and is really usefull for reporting current mappings.

docs should be updated

** Affects: udev (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
udevinfo has no information about -d option
https://launchpad.net/bugs/98565

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to