[CentOS] luksClose not closing mapped device.

Sun Mar 16 19:10:02 UTC 2014
Always Learning <centos at u62.u22.net>

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.

-- 
Paul.
England,
EU.

   Our systems are exclusively Centos. No Micro$oft Windoze here.