diff options
author | terminaldweller <thabogre@gmail.com> | 2022-06-04 03:59:21 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-06-04 03:59:21 +0000 |
commit | 00312e004f7fa0bfe077708818b030890a1a63d9 (patch) | |
tree | 68840cedc0956ea4d7c57177eeb7e4872335fd5f /zfs | |
parent | update (diff) | |
download | scripts-00312e004f7fa0bfe077708818b030890a1a63d9.tar.gz scripts-00312e004f7fa0bfe077708818b030890a1a63d9.zip |
updates
Diffstat (limited to 'zfs')
-rwxr-xr-x | zfs/export.sh | 3 | ||||
-rwxr-xr-x | zfs/import.sh | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/zfs/export.sh b/zfs/export.sh index 7110d69..b9b2c18 100755 --- a/zfs/export.sh +++ b/zfs/export.sh @@ -1,3 +1,4 @@ -#/bin/sh +#!/bin/sh + sudo umount -n /mnt/{dev/pts,dev,sys,proc} sudo zpool export zroot diff --git a/zfs/import.sh b/zfs/import.sh index 4181aa9..25efb71 100755 --- a/zfs/import.sh +++ b/zfs/import.sh @@ -1,4 +1,4 @@ -#/bin/sh +#!/bin/sh sudo zpool import -N -R /mnt zroot sudo zfs load-key -L prompt zroot |