Implement DatasetMapping + basic ZFS list functionality.

This commit is contained in:
Christian Schwarz
2017-04-26 17:39:16 +02:00
parent 4494afe47f
commit 40f3b530e1
6 changed files with 384 additions and 4 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
while read line # we know this is not always correct...
do
if [[ "$line" =~ nomap* ]]; then
echo "NOMAP"
continue
fi
echo "didmap/${line}"
if [ "$1" == "stop" ]; then
break
fi
done
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
echo "error: this is a mock" 1>&2
exit 1