public
Description: personal scripts
Homepage:
Clone URL: git://github.com/mackstann/bin.git
bin / Umount
100755 10 lines (5 sloc) 0.29 kb
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
 
# Written by Nick Welch <nick@incise.org>. Author disclaims copyright.
 
# Umount: sometimes disks get mounted multiple times on accident. this makes
# sure they are umount-ed as many times as necessary to make them go away.
 
while sudo umount "$1" >/dev/null 2>&1; do :; done