From: Tom Gundersen Date: Thu, 18 Jun 2015 17:15:59 +0000 (+0200) Subject: man: udev_device - finish new_* man page X-Git-Tag: v221~7^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ef24a16ac054bc06c3a2520e0d8e862eeea65f8;p=thirdparty%2Fsystemd.git man: udev_device - finish new_* man page A description of device_id lacked. We still need to do the other udev_device_* man pages. --- diff --git a/man/udev_device_new_from_syspath.xml b/man/udev_device_new_from_syspath.xml index fc147a879ae..9c4ab7a1bf3 100644 --- a/man/udev_device_new_from_syspath.xml +++ b/man/udev_device_new_from_syspath.xml @@ -136,10 +136,37 @@ c for character devices, as well as a devnum (see makedev3). udev_device_new_from_subsystem_sysname looks up devices based - on the provided subsystem and sysname and - udev_device_new_from_device_id looks up devices based on the provided - device id (see - udev_device_get_subsystem3). + on the provided subsystem and sysname + (see udev_device_get_subsystem3 + and + udev_device_get_sysname3) + and udev_device_new_from_device_id looks up devices based on the provided + device id which is a special string in one of the following four forms: + + Device ID strings + + + + + + Example + Explanation + + + b8:2 + block device major:minor + + c128:1 + char device major:minor + + n3 + network device ifindex + + +sound:card29 + kernel driver core subsystem:device name + + +
udev_device_new_from_environment