summaryrefslogtreecommitdiffstats
path: root/dracut/90zfs/zfs-genrules.sh
diff options
context:
space:
mode:
authorZachary Bedell <[email protected]>2011-07-04 13:25:31 -0400
committerBrian Behlendorf <[email protected]>2011-07-06 09:20:28 -0700
commitfde4ce992db516796df3a7d1c0e018c5f8c537f6 (patch)
tree50714e99cd11b1ad75f29adcea03d5ae512216d7 /dracut/90zfs/zfs-genrules.sh
parente93ced48475b697734ae4fbc65c4e600b9752849 (diff)
Update for Dracut-010
Update Dracut module for Dracut-010 and fix race conditions that caused boot to fail on MP systems. Add support for zfs_force flag and parsing of spl_hostid from kernel command line. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'dracut/90zfs/zfs-genrules.sh')
-rwxr-xr-xdracut/90zfs/zfs-genrules.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/dracut/90zfs/zfs-genrules.sh b/dracut/90zfs/zfs-genrules.sh
deleted file mode 100755
index ffbd51ff1..000000000
--- a/dracut/90zfs/zfs-genrules.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-if [ "${root%%:*}" = "zfs" ]; then
- [ -d /dev/.udev/rules.d ] || mkdir -p /dev/.udev/rules.d
- {
- printf 'KERNEL=="%s", SYMLINK+="root"\n' null
- printf 'SYMLINK=="%s", SYMLINK+="root"\n' null
- } >> /dev/.udev/rules.d/99-zfs.rules
-
- printf '[ -e "%s" ] && { ln -s "%s" /dev/root 2>/dev/null; rm "$job"; }\n' \
- "/dev/null" "/dev/null" >> /initqueue-settled/zfssymlink.sh
-
- echo '[ -e /dev/root ]' > /initqueue-finished/zfs.sh
-fi