udevd - Break startup into pre and post mount parts
authorAlex Hornung <ahornung@gmail.com>
Mon, 15 Nov 2010 06:34:34 +0000 (06:34 +0000)
committerAlex Hornung <ahornung@gmail.com>
Mon, 15 Nov 2010 18:03:55 +0000 (18:03 +0000)
commit3913f938423afdeab0986d8bd37da47d494716f4
tree92c6bbf95dd9f89f3f8f5852034444c9cac4a5db
parente33b65d98cf5866e5395aab0d6c803c20e89116f
udevd - Break startup into pre and post mount parts

* Add a SIGHUP handler to udevd that will recreate the socket and pid
  files, flush the current device database and read out a new one.

* Break the udevd rc.d script into udevd_early, to be run before
  mountcritlocal and a dependency of lvm, and udevd, which is the
  regular rc.d script which can be run at any time and on init takes
  over from udevd_early.

* Adjust lvm rc.d script to depend on udevd_early instead of udevd.

Suggested-by: Sascha Wildner
etc/rc.d/Makefile
etc/rc.d/lvm
etc/rc.d/udevd
etc/rc.d/udevd_early [new file with mode: 0644]
sbin/udevd/udevd.c