From: Richard W.M. Jones Date: Thu, 31 Jan 2019 12:02:42 +0000 (+0000) Subject: restore: Unmount floppy from mountpoint automatically. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=7f88baee6353cec42c4abd6ced2f176bea66c26a;p=libguestfs-talks.git restore: Unmount floppy from mountpoint automatically. --- diff --git a/2019-fosdem/restore b/2019-fosdem/restore index ee22354..2b676da 100755 --- a/2019-fosdem/restore +++ b/2019-fosdem/restore @@ -2,6 +2,7 @@ # Unmount everything. sudo umount /tmp/mnt >&/dev/null +sudo umount /run/media/rjones/NBDKITFLOPY/ >&/dev/null sudo mdadm --stop /dev/md0 >&/dev/null