On Sun, 2014-03-16 at 19:21 +0100, Nikolai Maziashvili wrote:
On Sunday 16 March 2014 17:49:27 Always Learning wrote:
#! /bin/bash cryptsetup luksClose $1 umount /dev/mapper/$1
First close then unmount? Isn't it supposed to be other way around - first unmount device then luksClose it? I've never tried it in this order.
I'll reverse them and see what happens. Thanks for your observation.