summaryrefslogtreecommitdiff
path: root/udevd.c
AgeCommit message (Collapse)Author
2007-05-11udevd: close /proc/meminfo after readingKay Sievers
2007-05-03udevd: use fgets() to read /proc filesKay Sievers
Based on a patch by: George Beshers <gbeshers@sgi.com>
2007-04-26udevcontrol: allow to set global variables in udevdHarald Hoyer
The initial patch is from Harald, possible new bugs are from me.
2007-04-19udevd: fix serialization of eventsKay Sievers
We see sequences like: UEVENT[1176966403.907336] add@/block/dasda UDEV [1176966403.920359] add@/block/dasda UEVENT[1176966403.964379] add@/block/dasda/dasda1 UEVENT[1176966403.964438] add@/block/dasda/dasda2 UEVENT[1176966403.964483] online@/block/dasda UEVENT[1176966403.964519] online@/block/dasda/dasda1 UEVENT[1176966403.964555] online@/block/dasda/dasda2 UDEV [1176966403.967413] add@/block/dasda/dasda1 UDEV [1176966403.968719] add@/block/dasda/dasda2 UDEV [1176966403.974750] online@/block/dasda/dasda1 UDEV [1176966403.982241] online@/block/dasda/dasda2 UDEV [1176966403.999847] online@/block/dasda where the event for the disk (last event) should come before the events for the partitons. We skipped events for dependency reasons, but the dependency check for later events did not see the skipped events.
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>