aboutsummaryrefslogtreecommitdiffstats
path: root/zfs/export.sh
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-03-20 07:29:18 +0000
committerterminaldweller <thabogre@gmail.com>2022-03-20 07:29:18 +0000
commitf98346db8ddcc329301fd77dec1e392a9c2f2851 (patch)
treec0772f0b36a5c8a047eeb164251946b968cdeb91 /zfs/export.sh
parentmostly pretty git logs (diff)
downloadscripts-f98346db8ddcc329301fd77dec1e392a9c2f2851.tar.gz
scripts-f98346db8ddcc329301fd77dec1e392a9c2f2851.zip
using autossh
Diffstat (limited to 'zfs/export.sh')
-rwxr-xr-xzfs/export.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/zfs/export.sh b/zfs/export.sh
new file mode 100755
index 0000000..7110d69
--- /dev/null
+++ b/zfs/export.sh
@@ -0,0 +1,3 @@
+#/bin/sh
+sudo umount -n /mnt/{dev/pts,dev,sys,proc}
+sudo zpool export zroot