diff options
author | Kyle Fuller <[email protected]> | 2011-08-06 18:28:16 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-08-19 16:26:13 -0700 |
commit | 146cde8f4acd52d258ba80817dd1134702a91954 (patch) | |
tree | 7dbd1a5844e75616d3ff9477a1217c957d209d12 /dracut/90zfs/module-setup.sh | |
parent | 9c4f40b894dd5b5c2ef18546d23d7e91095ac509 (diff) |
Move 90-zfs udev rule from dracut to udev/rules.d
This rule does not need to be dracut specific. Automatically loading
the zfs module stack when a zfs device is detected is usually desirable.
My only concern is that this might cause trouble for large pools where
we don't want to automatically import the pool until all the disks are
available. However, we'll cross that bridge when we come to it.
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'dracut/90zfs/module-setup.sh')
-rwxr-xr-x | dracut/90zfs/module-setup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dracut/90zfs/module-setup.sh b/dracut/90zfs/module-setup.sh index 822f89988..23735e31e 100755 --- a/dracut/90zfs/module-setup.sh +++ b/dracut/90zfs/module-setup.sh @@ -28,7 +28,7 @@ installkernel() { } install() { - inst_rules "$moddir/90-zfs.rules" + inst_rules /lib/udev/rules.d/90-zfs.rules inst_rules /lib/udev/rules.d/60-zpool.rules inst_rules /lib/udev/rules.d/60-zvol.rules inst /etc/zfs/zdev.conf |