summaryrefslogtreecommitdiff
path: root/libudev/libudev-device.c
AgeCommit message (Collapse)Author
2011-09-26libudev: fix typo in documentationKay Sievers
2011-08-17libudev: udev_device_get_sysattr_value() return syspath of custom linksKay Sievers
2011-08-17export USEC_INITIALIZED= and take timestamp on message receive timeKay Sievers
2011-08-17libudev: util_get_sys_(subsystem,driver}() -> util_get_sys_core_link_value()Kay Sievers
2011-08-04libudev: list - use binary search for list lookupKay Sievers
2011-07-07libudev: device - add udev_device_has_tag() to libudev.h and gtk-docKay Sievers
2011-07-06libudev: device - export udev_device_has_tag()Kay Sievers
2011-06-28libudev: device - fix udev_device_get_tags_list_entry() to always load databaseKay Sievers
2011-05-20libudev: device - make a bunch of symbols staticKay Sievers
2011-05-20libudev: export symbols explicitely and individually from C code not from ↵Kay Sievers
separate file or prefix match
2011-05-16libudev: device - use DEVMODE from kernel as the default modeKay Sievers
2011-04-24libudev: list - use bit flags for 'sort' and 'unique'Kay Sievers
2011-04-20timeout handling without alarm()Kay Sievers
2011-04-13udevadm: info --cleanup-dbKay Sievers
Most of the udev database from initramfs should be deleted before starting udev in the real root. udevadm: info --cleanup-db deletes all database entries in /run/udev. Events that processed IMPORT{db}, or mark devices explicitely as persistent, will be excluded.
2011-03-23use /run/udev/ if possible and fall back to /dev/.udev/Kay Sievers
2011-03-15move /dev/.udev/ to /dev/.run/udev/ and convert old udev database at udevd ↵Kay Sievers
startup
2011-03-05libudev: resolve ifindex in udev_device_new_from_id_filename()Kay Sievers
2011-03-04libudev: udev_device_get_sysattr_list_entry() updateKay Sievers
2011-03-04libudev: allow to get list of all available sysfs attrs for a deviceThomas Egerer
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
2010-12-15libudev: record and export "age" of device recordKay Sievers
2010-12-14libudev: enumerate - allow to filter-out not-already-initialized devicesKay Sievers
2010-12-14check ifindex > 0 instead of subsystem == "net"Kay Sievers
2010-12-12udevd: switch to common id_filename functionsKay Sievers
2010-12-11udevd: simplify udev database and fix DEVNAME handlingKay Sievers
2010-12-10udevd: use dev_t or netif ifindex as database keyKay Sievers
We need to preserve the database of network interfaces while we rename them. Use the kernel's numbers wherever possible, instead of the device names. Fix wrong database filenames which contain a '/', translated from '!' in the kernel name. Fix segfault for kobject pathes where the subsystem can not be determined from sysfs.
2010-10-22libudev: return kernel provided devnode when asked before we handled any rulesKay Sievers
2010-10-13udevd: do not wrongly delay events for devices with swapped namesKay Sievers
Renaming network devices might delay events for the other device, which has the same devpath in the meantime as the original event. Causing a delay until the timout of the event is reached. Look at the ifindex/devnum of the devices to check if they are really the same devices.
2010-05-14libudev: add O_CLOEXECKay Sievers
2010-05-07libudev: add documentation for recently added functionsKay Sievers
2010-04-23libudev: accept NULL in udev_device_get_tags_list_entry()Kay Sievers
2010-04-22fix logic on-demand loading logic for db and ueventKay Sievers
2010-04-22add TAG= to improve event filtering and device enumerationKay Sievers
2010-04-21more readlink buffer size handlingKay Sievers
2010-04-13remove "ignore_remove" optionKay Sievers
2010-04-13remove "all_partitions" optionKay Sievers
We can not predict the major/minor of non-existing devices: $ grep . /sys/class/block/sd*/dev /sys/class/block/sda1/dev:259:524288 /sys/class/block/sda2/dev:259:262144 /sys/class/block/sda3/dev:259:786432 /sys/class/block/sda4/dev:259:131072 /sys/class/block/sda/dev:259:0 /sys/class/block/sdb/dev:259:655360 /sys/class/block/sdc/dev:259:393216 If this functionality is still needed for some broken hardware, it needs to be solved with a tool not part of the udev package. Because such option is unreliable and unsafe to use.
2010-03-25libudev: update documentationKay Sievers
2010-03-17libudev: add udev_device_new_from_environment()Kay Sievers
2010-03-10libbudev-private: rename udev_list_entry_get_flag()Kay Sievers
2010-03-02Use UTIL_LINE_SIZE, not UTIL_PATH_SIZE to truncate propertiesDavid Zeuthen
Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-03-02Decrease buffer size when advancing past NUL byteDavid Zeuthen
Otherwise we'll overflow the buffer if space is tight. Also add a comment explaining this. Signed-off-by: David Zeuthen <davidz@redhat.com>
2009-12-24remove remaining support for CONFIG_SYSFS_DEPRECATEDKay Sievers
2009-12-15remove remaining support for CONFIG_SYSFS_DEPRECATEDKay Sievers
2009-12-03libudev: doc - use #NULLKay Sievers
2009-12-03udev_device_get_parent_with_subsystem_devtype(): Clarify documentationMartin Pitt
devtype can be NULL, in which case it is ignored for matching.
2009-09-09simplify "symlink name stack"Kay Sievers
With well defined and kernel-supplied node names, we no longer need to support a possible stack of conflicting symlinks and node names. Only symlinks with identical names can be claimed by multiple devices. This shrinks the former /dev/.udev/names/ significantly. Also the /dev/{block,char}/MAJ:MIN" links are excluded from the name stack - they are unique and can not conflict.
2009-08-19change database file namesKay Sievers
With very deeply nested devices, We can not use a single file name to carry an entire DEVPATH. Use <subsystem>:<sysname> as the database filename, which should also simplify the handling of devices moving around, as these values will not change but still be unique. For the name stack we use the <maj>:<min> now as the filename. > On Tue, Aug 18, 2009 at 09:59:56AM -0400, Ric Wheeler wrote: > The first is that udev grumbles during boot about "file name too long" > like the following: > > Aug 17 06:49:58 megadeth udevd-event[20447]: unable to create db file > '/dev/.udev/db/\x2fdevices\x2fpci0000:00\x2f0000:00:04.0\x2f0000:17:00.0\x2f0000:18:0a.0\x2f0000:1f:00.0\x2fhost11\x2fport-11:0\x2fexpander-11:0\x2fport-11:0:0\x2fexpander-11:1\x2fport-11:1:0\x2fexpander-11:2\x2fport-11:2:17\x2fexpander-11:3\x2fport-11:3:1\x2fend_device-11:3:1\x2fbsg\x2fend_device-11:3:1': > File name too long
2009-08-08fix spellingAlan Jenkins
Fix spelling in docbook comments, code comments, and a local variable name. Thanks to "ispell -h" for docbook HTML and "scspell" for source code. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2009-07-08libudev: device - free values before updating themKay Sievers
2009-07-04libudev: monitor - handle kernel supplied DEVNAME properlyKay Sievers
2009-07-02udevadm: test - print list of propertiesKay Sievers