summaryrefslogtreecommitdiff
path: root/udevinfo.c
AgeCommit message (Collapse)Author
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
2005-04-26[PATCH] udevinfo: print SYSFS attribute the same way we match itkay.sievers@vrfy.org
2005-04-26[PATCH] udevinfo: print errors to stderr instead of stdoutkay.sievers@vrfy.org
On Wed, 2005-03-23 at 13:55 +0100, Dieter Stueken <stueken@conterra.de> wrote: > I noticed a few funny synlinks within /dev: > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.196950896 +0100 device2 -> hda2 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.196950896 +0100 not2 -> hda2 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.196950896 +0100 found2 -> hda2 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.196950896 +0100 in2 -> hda2 > lrwxrwxrwx 1 root root 4 2005-03-21 15:33:54.196950896 +0100 database2 -> hda2 > I don't know exactly, what caused this in depth. But I found udevinfo > prints all error messages to stdout instead of using stderr.
2005-04-26[PATCH] support log-priority levels in udev.confkay.sievers@vrfy.org
2005-04-26[PATCH] remove unneeded includekay.sievers@vrfy.org
2005-04-26[PATCH] udevinfo -d: use '=' as separator, cause ':' may be a part of the ↵kay.sievers@vrfy.org
devpath
2005-04-26[PATCH] replace strncpy()/strncat() by strlcpy()/strlcat()kay.sievers@vrfy.org
2005-04-26[PATCH] rename LOG to USE_LOG in all placeskay.sievers@vrfy.org
2005-04-26[PATCH] udevinfo -d: speed-up device dumpkay.sievers@vrfy.org
2005-04-26[PATCH] allow unlimitied count of symlinkskay.sievers@vrfy.org
2005-04-26[PATCH] udevinfo: print devpath -> node relationship for all deviceskay.sievers@vrfy.org
2005-04-26[PATCH] trivial rename of some variableskay.sievers@vrfy.org