summaryrefslogtreecommitdiff
path: root/udevd.c
AgeCommit message (Collapse)Author
2006-12-08rename config "filename" to "dir"Kay Sievers
2006-09-08udevd: add --debug-trace optionKay Sievers
2006-09-08udevd: add --verbose option to log also to stdoutKay Sievers
2006-09-08udevd: use getopt_long()Kay Sievers
2006-09-03udevd: use files instead of symlinks for /dev/.udev/queue,failedKay Sievers
2006-09-03udevtrigger: options to filter by subsystem and sysfs attributeKay Sievers
2006-08-28update source file headersKay Sievers
2006-08-24rename major/minor variable to maj/min to avoid warningKay Sievers
2006-08-22fix rc when using udev --daemonMarco d'Itri
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-20export DRIVER for older kernels as a replacement for PHYSDEVDRIVERKay Sievers
2006-08-18selinux: init once in the daemon, not in every event processHarald Hoyer
2006-08-15udevd: remove huge socket buffer on the control socketKay Sievers
2006-08-13udevd: read DRIVER from the environmentKay Sievers
2006-08-10udevd: autotune max_childs/max_childs_runningKay Sievers
2006-08-05udevd: remove useless udevinitsend parameterKay Sievers
2006-08-05initialize unused sockets to -1Kay Sievers
2006-08-05rename udevcontrol message types and variablesKay Sievers
2006-07-25remove 'static' from local variableKay Sievers
2006-07-21increase /proc/stat read bufferKay Sievers
2006-07-21switch uevent netlink socket to group 1 onlyKay Sievers
2006-05-27remove udevsendKay Sievers
2006-04-28udevd: create leading directories for /dev/.udev/uevent_seqnumKay Sievers
2006-04-25udevd: export initial sequence number on startupKay Sievers
2006-04-06let udevmonitor show the possibly renamed devpathKay Sievers
For renamed network interfaces, the udev socket message header contained the original devpath, which we have updated in the environment after the kernel has silently renamed the netif.
2006-04-06add inotify support for hppa and MIPS and log if inotify is not availableMarco d'Itri
2006-04-05udevd: export current seqnum and add udevsettleKay Sievers
2006-03-16correct use of fcntl()Kay Sievers
2006-03-16reset signal handler in event processKay Sievers
2006-02-23udevd: fix queue export for multiple events for the same deviceKay Sievers
Identified by Joachim Plack <jplack@suse.de> while working around the problem that the device nodes appear and disappear while the partitiontable is re-read and the application need to waait for an empty udevd queue.
2006-01-28remove UDEVD_UEVENT_INITSENDKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-25let "ignore_device" always return the event successfullyKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-25rename apply_format() cause it is public nowKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-24substitute format chars in RUN after rule matchingAndrey Borzenkov
Apply substitutions before running a program, not while the rule is parsed. It allows to use environment variables set during rule processing as command arguments.
2006-01-24increase kernel uevent buffer sizeKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-20ignore all messages with missing devpath or actionKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
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-12-04update SUSE rulesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-25move SEQNUM event skipping to udevsendKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-22clean-up empty queue directoriesScott James Remnant
This allows scripts to do: while test -d /dev/.udev/queue; do sleep 0.1; done And don't create a failed symlink if there is another event for the same devpath in the queue.
2005-11-17udevd: add a missing returnKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-17udevd: track killed event processes as failedKay Sievers
Thanks to Marco for catching this. 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-11-16udevd: export event queue and event stateKay Sievers
All pending and running events can be found as symlinks to the actual device in /dev/.udev/queue/ now. This way we can lookup if specific events are still in the queue, before doing actions which require events to have finished. All failed event processes can be found in /dev/.udev/failed/. This makes it possible to retry a failed event process at a later time in the boot process. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-16udevd: track exit status of event processKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-16udevd: ignore all messages without DEVPATHKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-12add linux/types.h back, old glibc-kernel-headers want itKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-07move some logging from dbg() to info()Marco d'Itri
2005-11-07add strerror() to error logsMarco d'Itri
2005-11-07never queue events with TIMEOUT setKay Sievers
With removing the event reorder queue, we can fix the TIMEOUT events like firmware loading proper, and never delay any of these events. Signed-off-by: Kay Sievers <kay.sievers@suse.de>