1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00
Commit Graph

30 Commits

Author SHA1 Message Date
Kay Sievers
820fc48f24 udevd: add timestamp to --debug output 2009-07-17 13:26:46 +02:00
Kay Sievers
adda4c682a udevd: make sure a worker finishes event handling before exiting
Persistent network rules write out new rules files. When rules change,
we need to kill all workers to update the in-memory copy of the rules.
We need to make sure, that a worker finshes its work for all device
messages it has accepted, before it exits after a SIGTERM from the main
process.
2009-07-11 18:21:26 +02:00
Kay Sievers
871a36bd7e libudev: enumerate - sort with qsort()
On machines with many thousands of devices:
  $ time find /sys -name uevent | wc -l
  74876

  real      0m33.171s
  user      0m3.329s
  sys       0m29.719s

the current udevtrigger spends minutes sorting the device list:
  $ time /sbin/udevadm trigger --dry-run

  real      4m56.739s
  user      4m45.743s
  sys       0m7.862s

with qsort() it looks better:
  $ time udev/udevadm trigger --dry-run

  real      0m6.495s
  user      0m0.473s
  sys       0m5.923s
2009-07-08 02:04:49 +02:00
Kay Sievers
a71369b0db libudev: device - free values before updating them 2009-07-08 02:02:40 +02:00
Kay Sievers
257bb4cdac use MIN() MAX() from param.h 2009-07-07 19:30:19 +02:00
Kay Sievers
182c9b1584 build: add *exec* to the internal rootlibdir name
Automake like variables with *exec* in the directory names,
to decide, that it isn't *data*:
  http://www.gnu.org/software/hello/manual/automake/The-Two-Parts-of-Install.html#The-Two-Parts-of-Install
2009-07-05 23:56:24 +02:00
Kay Sievers
9cc94b1522 libudev: monitor - handle kernel supplied DEVNAME properly 2009-07-04 04:12:06 +02:00
Kay Sievers
fc8933f7f6 build: do not delete .la files 2009-07-04 04:12:06 +02:00
Kay Sievers
456719b6f9 udevadm: test - print list of properties 2009-07-02 22:56:19 +02:00
Kay Sievers
b25a94549c do not exports properties starting with a '.'
Private variables can be marked like:
  ENV{.FOO}="bar"
2009-06-28 02:21:58 +02:00
Kay Sievers
f86ac6e170 libudev: queue - add comments for queue format
udev/udev.pc
2009-06-22 00:32:26 +02:00
Kay Sievers
bc3ebcbdb8 libudev: install in $libdir and move later to $rootlibdir
That way, libudev.la will not get out of sync with the location of the
development so link.
2009-06-17 16:10:06 +02:00
Kay Sievers
6133f3432f cleanup ./configure installation directory options 2009-06-17 02:25:07 +02:00
Kay Sievers
0303f35723 libudev: doc - libudev-docs.sgml -> libudev-doc.xml 2009-06-16 18:54:18 +02:00
Kay Sievers
1a669a7019 libudev: doc - add empty libudev.types 2009-06-16 15:38:40 +02:00
Kay Sievers
80e9638bc8 libudev: remove prefix from .so version variables 2009-06-16 14:56:10 +02:00
Kay Sievers
1b98ae83be libudev: move .so version to libudev Makefile 2009-06-16 14:18:16 +02:00
Kay Sievers
aebaa8a66f libudev: doc - add namespace for index 2009-06-16 03:02:46 +02:00
Kay Sievers
8d6bc73aef libudev: doc - add queue 2009-06-15 20:28:28 +02:00
Kay Sievers
a7c140c723 libudev: doc - add enumerate 2009-06-15 20:04:46 +02:00
Kay Sievers
ce1d6d7fb4 libudev: doc - add section headers 2009-06-15 17:09:43 +02:00
Kay Sievers
1e5113228f libudev: update documentation 2009-06-15 13:22:38 +02:00
Kay Sievers
26812f0a13 libudev: add gtk-doc 2009-06-15 13:22:21 +02:00
Kay Sievers
045a3bc89e USE_LOG -> ENABLE_LOGGING, DEBUG -> ENABLE_DEBUG, USE_SELINUX -> WITH_SELINUX 2009-06-14 17:53:15 +02:00
Kay Sievers
98631e1c21 libudev: rename private files to *-private.c 2009-06-09 23:12:12 +02:00
Kay Sievers
44b49d3736 move common stuff from udev/ to private parts of libudev/ 2009-06-09 23:05:25 +02:00
Kay Sievers
9060b066d9 move syslog wrapper to libudev 2009-06-09 22:47:48 +02:00
Kay Sievers
119f66fc36 libudev: call log functions conditionally 2009-06-09 19:03:39 +02:00
Kay Sievers
a571016037 libudev: device_new() -> udev_device_new() 2009-06-09 13:11:23 +02:00
Kay Sievers
48a9b173e8 libudev: move to top-level directory 2009-06-08 21:36:06 +02:00