diff options
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/isomnt | 8 | ||||
-rwxr-xr-x | .local/bin/isoumnt | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/.local/bin/isomnt b/.local/bin/isomnt new file mode 100755 index 0000000..18a86fd --- /dev/null +++ b/.local/bin/isomnt @@ -0,0 +1,8 @@ +#!/usr/local/bin/dash -e + +echo qwe + +[ -z "$1" ] && exit 1 +doas mdconfig -a -t vnode -f "$1" -u 1 +mkdir -p "$HOME"/dvd +mount -t cd9660 /dev/md1 "$HOME"/dvd diff --git a/.local/bin/isoumnt b/.local/bin/isoumnt new file mode 100755 index 0000000..742db40 --- /dev/null +++ b/.local/bin/isoumnt @@ -0,0 +1,5 @@ +#!/usr/local/bin/dash -e + +umount /dev/md1 +rmdir "$HOME"/dvd +doas mdconfig -d -u 1 |