git: udevd - Break startup into pre and post mount parts

Alex Hornung alexh at crater.dragonflybsd.org
Mon Nov 15 10:06:03 PST 2010


commit 3913f938423afdeab0986d8bd37da47d494716f4
Author: Alex Hornung <ahornung at gmail.com>
Date:   Mon Nov 15 06:34:34 2010 +0000

    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

Summary of changes:
 etc/rc.d/Makefile    |    2 +-
 etc/rc.d/lvm         |    4 +-
 etc/rc.d/udevd       |   19 +++++++++++++++
 etc/rc.d/udevd_early |   13 ++++++++++
 sbin/udevd/udevd.c   |   62 ++++++++++++++++++++++++++++++++++++++++++-------
 5 files changed, 88 insertions(+), 12 deletions(-)
 create mode 100644 etc/rc.d/udevd_early

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3913f938423afdeab0986d8bd37da47d494716f4


-- 
DragonFly BSD source repository





More information about the Commits mailing list