* The default action for udevadm trigger' changed from
add' to
`change'. At boot time, however, we want an `add' event to trigger certain rules (e.g. LVM and mdadm). svn path=/nixos/trunk/; revision=21804
This commit is contained in:
parent
1f2db38e9a
commit
edee370883
|
@ -193,7 +193,7 @@ in
|
||||||
# the LVM rules to create device nodes. See
|
# the LVM rules to create device nodes. See
|
||||||
# http://www.mail-archive.com/fedora-devel-list@redhat.com/msg10261.html
|
# http://www.mail-archive.com/fedora-devel-list@redhat.com/msg10261.html
|
||||||
${udev}/sbin/udevadm control --env=STARTUP=1
|
${udev}/sbin/udevadm control --env=STARTUP=1
|
||||||
${udev}/sbin/udevadm trigger
|
${udev}/sbin/udevadm trigger --action=add
|
||||||
${udev}/sbin/udevadm settle # wait for udev to finish
|
${udev}/sbin/udevadm settle # wait for udev to finish
|
||||||
${udev}/sbin/udevadm control --env=STARTUP=
|
${udev}/sbin/udevadm control --env=STARTUP=
|
||||||
|
|
||||||
|
|
|
@ -115,7 +115,7 @@ export UDEV_CONFIG_FILE=@udevConf@
|
||||||
mkdir -p /dev/.udev # !!! bug in udev?
|
mkdir -p /dev/.udev # !!! bug in udev?
|
||||||
udevd --daemon
|
udevd --daemon
|
||||||
udevadm control --env=STARTUP=1
|
udevadm control --env=STARTUP=1
|
||||||
udevadm trigger
|
udevadm trigger --action=add
|
||||||
udevadm settle
|
udevadm settle
|
||||||
udevadm control --env=STARTUP=
|
udevadm control --env=STARTUP=
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue