summaryrefslogtreecommitdiff
path: root/udevd.c
AgeCommit message (Collapse)Author
2007-03-17read list of devices from index, make index private to databaseKay Sievers
2007-03-16selinux: move selinux_exit() to the main programsKay Sievers
2007-03-16store devpath with the usual leading slashKay Sievers
2007-03-15increase /proc/stat bufferKay Sievers
2007-03-14encode db-file names, instead of just replacing '/'Kay Sievers
2007-03-13udevd: cleanup std{in,our,err} on startupMatthias Schwarzott
It occurs, when root-partition has no /dev/console, meaning that kernel could not open it, and such udevd is started without open filedescriptors 0 1 2. In that case udevd openes its sockets (netlink and control). They get fds between 0 and 2. Later duping /dev/null to 0 1 2 closes the sockets and replaces them with /dev/null. The error condition can also be reproduced by starting udevd with this command-line: udevd --daemon <&- >&- 2>&-
2007-02-24add option --version to udevdMatthias Schwarzott
2007-01-21udevd: init signal pipe before daemonizingSergey Vlasov
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>