Implement DatasetMapping + basic ZFS list functionality.
This commit is contained in:
Executable
+18
@@ -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
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
echo "error: this is a mock" 1>&2
|
||||
exit 1
|
||||
Reference in New Issue
Block a user