git://git.camperquake.de
/
zfs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Call udevadm trigger more safely
[zfs.git]
/
dracut
/
90zfs
/
mount-zfs.sh
1
#!/bin/sh
2
3
. /lib/dracut-lib.sh
4
5
if [ "$rootfs" = "zfs" ]; then
6
zfsrootfs=`echo "$root" | sed 's|^zfs:||'`
7
zfspool=`echo "$zfsrootfs" | sed 's|/.*||g'`
8
zpool import -N "$zfspool"
9
mount -o zfsutil -t "$rootfs" "$zfsrootfs" "$NEWROOT" && ROOTFS_MOUNTED=yes
10
fi