From ebb3f35bd06591bf7092cfc61e5cd51857ed888f Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 3 Nov 2014 14:31:08 -0600 Subject: split the udev service The udev service now has been split into three services: udev starts the daemon, udev-trigger populates /dev and udev-settle waits for all udev events to time out. udev and udev-trigger will be needed in the sysinit runlevel; however, udev-settle will not on most systems. --- conf.d/udev | 38 -------------------------------------- conf.d/udev-settle | 5 +++++ conf.d/udev-trigger | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 38 deletions(-) create mode 100644 conf.d/udev-settle create mode 100644 conf.d/udev-trigger (limited to 'conf.d') diff --git a/conf.d/udev b/conf.d/udev index 41f6b9b..a714032 100644 --- a/conf.d/udev +++ b/conf.d/udev @@ -1,31 +1,5 @@ # /etc/conf.d/udev: config file for udev -# udev can trigger coldplug events which cause services to start and -# kernel modules to be loaded. -# Services are deferred to start in the boot runlevel. -# Set rc_coldplug="NO" if you don't want this. -# If you want module coldplugging but not coldplugging of services then you -# can disable service coldplugging in baselayout/openrc config files. -# The setting is named different in different versions. -# in /etc/rc.conf: rc_hotplug="!*" or -# in /etc/conf.d/rc: rc_plug_services="!*" -#rc_coldplug="YES" - -# We can create a /dev/root symbolic link to point to the root device in -# some situations. This is on by default because some software relies on -# it,. However, this software should be fixed to not do this. -# For more information, see -# https://bugs.gentoo.org/show_bug.cgi?id=438380. -# If you are not using any affected software, you do not need this, so -# feel free to turn it off. -#rc_dev_root_symlink="YES" - -# Expert options: - -# Timeout in seconds to wait for processing of uevents at boot. -# There should be no need to change this. -#udev_settle_timeout="60" - # Add extra command line options to udevd, use with care # udevd --help for possible values #udev_opts="" @@ -33,15 +7,3 @@ # Run udevd --debug and write output to /run/udevdebug.log # Should not be kept on as it fills diskspace slowly #udev_debug="YES" - -# Run udevadmin monitor to get a log of all events -# in /run/udevmonitor.log -#udev_monitor="YES" - -# Keep udevmonitor running after populating /dev. -#udev_monitor_keep_running="no" - -# Set cmdline options for udevmonitor. -# could be some of --env --kernel --udev -#udev_monitor_opts="--env" - diff --git a/conf.d/udev-settle b/conf.d/udev-settle new file mode 100644 index 0000000..b83580a --- /dev/null +++ b/conf.d/udev-settle @@ -0,0 +1,5 @@ +# /etc/conf.d/udev-settle: config file for udev-settle + +# Timeout in seconds to wait for processing of uevents at boot. +# There should be no need to change this. +#udev_settle_timeout="60" diff --git a/conf.d/udev-trigger b/conf.d/udev-trigger new file mode 100644 index 0000000..5850b8b --- /dev/null +++ b/conf.d/udev-trigger @@ -0,0 +1,32 @@ +# /etc/conf.d/udev-trigger: config file for udev-trigger + +# udev can trigger coldplug events which cause services to start and +# kernel modules to be loaded. +# Services are deferred to start in the boot runlevel. +# Set rc_coldplug="NO" if you don't want this. +# If you want module coldplugging but not coldplugging of services then you +# can disable service coldplugging in baselayout/openrc config files. +# The setting is named different in different versions. +# in /etc/rc.conf: rc_hotplug="!*" or +# in /etc/conf.d/rc: rc_plug_services="!*" +#rc_coldplug="YES" + +# We can create a /dev/root symbolic link to point to the root device in +# some situations. This is on by default because some software relies on +# it,. However, this software should be fixed to not do this. +# For more information, see +# https://bugs.gentoo.org/show_bug.cgi?id=438380. +# If you are not using any affected software, you do not need this, so +# feel free to turn it off. +#rc_dev_root_symlink="YES" + +# Run udevadmin monitor to get a log of all events +# in /run/udevmonitor.log +#udev_monitor="YES" + +# Keep udevmonitor running after populating /dev. +#udev_monitor_keep_running="no" + +# Set cmdline options for udevmonitor. +# could be some of --env --kernel --udev +#udev_monitor_opts="--env" -- cgit v1.2.3-65-gdbad