summaryrefslogtreecommitdiff
path: root/udevinfo.c
AgeCommit message (Collapse)Author
2008-07-15udevadm: info - add --export format to --device-id-of-file=Kay Sievers
$ udevadm info --export --export-prefix="ROOT_" --device-id-of-file=/ ROOT_MAJOR=8 ROOT_MINOR=5
2008-04-28udevadm: info - do not print ATTR{dev}==Kay Sievers
2008-04-20logging: add trailing newline to all stringsKay Sievers
2008-04-07udevinfo: do not replace chars when printing ATTR== matchesKay Sievers
2008-03-29udevadm: info - resolve devpath if symlink is givenKay Sievers
2007-11-09udevadm: also return major==0 results for --device-id-of-fileKay Sievers
2007-11-09udevadm: add info option --device-id-of-file=<file>Kay Sievers
Now, that udevinfo is no longer in /usr, we can add this: $ udevadm info --device-id-of-file=/ 8 5 to create a dynamic rule to provide /dev/root.
2007-11-08udevadm: merge all udev tools into a single binaryKay Sievers
2007-10-24udevinfo: exclude "uevent" file from --attribute-walkKay Sievers
2007-09-20udevinfo: simplify symlink printing logicKay Sievers
2007-09-20remove extra space from udevinfo symlink outputHarald Hoyer
2007-08-24set buffer size if strlcpy/strlcat indicate truncationMichael Morony
2007-06-23no newline in log messagesKay Sievers
2007-06-04sysfs: skip unknown sysfs directoriesKay Sievers
2007-05-17replace_chars: replace spaces in node nameKay Sievers
2007-04-06udevinfo: export all information stored in databaseKay Sievers
2007-03-23udevinfo: relax check for the correct device if looked up by nameKay Sievers
2007-03-21udevinfo: print link priorityKay Sievers
2007-03-18udevinfo: remove -d optionKay Sievers
2007-03-17read list of devices from index, make index private to databaseKay Sievers
2007-03-07man: add missing options to various man pagesKay Sievers
2007-02-24remove --version from the udevinfo man pageKay Sievers
We have: udevd --version now, which is always available, unlike udevinfo which is installed in /usr.
2006-09-20fix udevinfo help text typoArjan Opmeer
2006-09-19udevinfo: print error in --attribute-walkKay Sievers
2006-09-05udevinfo: do not show symlinks as attributes in --attribute-walkKay Sievers
2006-09-03udevinfo: fix SUBSYTEMS spelling errorKay Sievers
2006-09-03make struct option arrays static constSergey Vlasov
2006-09-03udevinfo: use long optionsKay Sievers
2006-08-28update source file headersKay Sievers
2006-08-21cleanup commandline argument handlingKay Sievers
Print and log failure, but don't fail for tools which are usually not used iteractively. Add '--help' to all tools.
2006-08-19consistent key naming to match only the event device or include all parent ↵Kay Sievers
devices This scheme is more consistent and makes it obvious if a match happens against the event device only, or the full chain of parent devices. The old key names are now: BUS -> SUBSYSTEMS ID -> KERNELS SYSFS -> ATTRS DRIVER -> DRIVERS Match keys for the event device: KERNEL SUBSYSTEM ATTR DRIVER (in a future release, for now the same as DRIVERS) Match keys for all devices along the parent device chain: KERNELS SUBSYSTEMS ATTRS DRIVERS ID, BUS, SYSFS are no longer mentioned in the man page but still work. DRIVER must be converted to DRIVERS to match the new scheme. For now, an error is logged, if DRIVER is used. In a future release, the DRIVER key behaviour will change.
2006-08-18udevinfo, udevtest: simplify '/sys' stripping from devpath argumentKay Sievers
2006-08-18udevinfo: allow -a -n <node>Kay Sievers
2006-07-30udevinfo: add DRIVER==Kay Sievers
2006-06-16udevinfo: clarify parent device attribute useKay Sievers
2006-01-09replace libsysfsKay Sievers
We never used any of the libsysfs convenience features. Here we replace it completely with 300 lines of code, which are much simpler and a bit faster cause udev(d) does not open any syfs file for a simple event which does not need any parent device information. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-16remove "udev_db" option from config fileKay Sievers
All udev state is kept in /$udev_root/.udev/ now. No option to configure that anymore, it will always be there. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-31udevinfo: restore -d optionKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-30udevinfo: rename dump() to export()Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-29udevinfo: add database exportKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-27don't store devpath in udevdb, we don't need itKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-27add and use name_list_cleanup() for cleaning up the string listsKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-27change parameter order of udev_db_search_name()Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-27print persistent data with "udevinfo -q all"Kay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-27prepare for new HAL udevdb dumpKay Sievers
HAL soon wants to read the whole content of the udevdatabase while starting up. This makes the whole udev structure available to the udevinfo "dump". Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-10fix udevinfo outputThierry Vignaud
2005-07-22move code to its own filesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-26store the imported device information in the udevdbKay Sievers
Any program can query with udevinfo for persistent device attributes evaluated on device discovery now. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-06Fix udevinfo for empty sysfs directoriesGreg KH
udevinfo would die if it ran into a sysfs directory with no attributes. This is valid for a lot of scsi devices, so now we just continue on up the chain. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-04-26[PATCH] move execute_program to utils + add action to init_devicekay.sievers@vrfy.org