1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-04 22:21:55 +03:00
Commit Graph

18 Commits

Author SHA1 Message Date
Harald Hoyer
1343a9524f udevcontrol: allow to set global variables in udevd
The initial patch is from Harald, possible new bugs are from me.
2007-04-26 22:52:20 +02:00
Kay Sievers
88caa9da18 man: add missing options to various man pages 2007-03-07 18:00:12 +01:00
Kay Sievers
27b77df44d update source file headers 2006-08-28 00:29:11 +02:00
Kay Sievers
e3396a2d38 cleanup commandline argument handling
Print and log failure, but don't fail for tools which are
usually not used iteractively. Add '--help' to all tools.
2006-08-21 02:38:20 +02:00
Kay Sievers
f051e34069 udevd: autotune max_childs/max_childs_running 2006-08-10 12:50:53 +02:00
Kay Sievers
b3518c16e3 rename udevcontrol message types and variables 2006-08-05 13:22:44 +02:00
Tobias Klauser
f1e9ccb94d print usage of udevcontrol when no or invalid command is given 2006-07-03 01:03:53 +02:00
Kay Sievers
9571122e00 fix offsetof() build issue with recent glibc 2006-05-01 20:36:21 +02:00
Kay Sievers
1aa1e24848 replace libsysfs
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>
2006-01-09 21:18:00 +01:00
Marco d'Itri
ff3e4bed21 add strerror() to error logs 2005-11-07 18:44:18 +01:00
Kay Sievers
c895fd0027 move rules parsing into daemon
The rules files are parsed only once at daemon startup. Every udev
event process will be fork()'d from udevd without exec()'ing the udev
binary. The in-memory rules will be inherited from the daemon itself.

If inotify is available, udevd will reload all rules if any change in
/etc/udev/rules.d/ happens. Otherwise -HUP or "udevcontrol reload_rules"
can be used.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-27 21:04:38 +02:00
Kay Sievers
916c5e4725 fix the new warnings I asked for
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-27 20:32:07 +02:00
Kay Sievers
2b996ad193 add Usage: to udevmonitor and udevcontrol
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-11 20:34:24 +02:00
Kay Sievers
e8d569b414 move code to its own files
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-22 12:35:58 -04:00
Kay Sievers
7628ff6e14 udevcontrol: add max_childs command
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-16 03:22:27 +02:00
Kay Sievers
8ab44e3fd0 udevd: control log-priority of the running daemon with udevcontrol
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-16 01:58:47 +02:00
Hannes Reinecke
60d7b20100 udevcontrol: fix exit code
Kay is lazy! :)

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-13 22:38:42 +02:00
Kay Sievers
3b47c7394d udevd: add udevcontrol
Controls the behavior of the running daemon. Currently only stopping and starting
of the execution queue is supported.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 04:41:09 +02:00