dotfiles/dot_bin/executable_umount-force-ver...

7 lines
146 B
Bash

#! /usr/bin/env bash
umount "/dev/mapper/veracrypt$1"
dmsetup remove "veracrypt$1"
dmsetup remove "veracrypt$1_0"
dmsetup remove "veracrypt$1_1"