Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 190a191,197
- > if [ "${ROOTFS}" == "zfs" ]; then
- > /sbin/zpool import -N -d /dev/disk/by-id ${ROOTDEV%%/*}
- > /sbin/zfs set mountpoint=/ ${ROOTDEV} # ZFS on root, jsr added
- > /sbin/zfs set readonly=on ${ROOTDEV%%/${ROOTDEV##*/}} # ZFS on root, jsr added
- > mount -t $ROOTFS $ROOTDEV /mnt # ZFS on root, jsr modified
- > fi
- >
- 325,326c332,335
- < mount -o ro${ROOTFLAGS:+,$ROOTFLAGS} -t $ROOTFS $ROOTDEV /mnt
- <
- ---
- > if [ "${ROOTFS}" != "zfs" ]; then
- > mount -o ro${ROOTFLAGS:+,$ROOTFLAGS} -t $ROOTFS $ROOTDEV /mnt
- > fi
- >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement