Re: luksClose not closing mapped device.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sunday 16 March 2014 17:49:27 Always Learning wrote:
> 
> On Sun, 2014-03-16 at 18:11 +0100, centos@xxxxxxxxxxxxxxx wrote:
> 
> > I'm having problems with closing luks device.
> 
> I use this routine in /root/bin/.cu
> 
> #! /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.

--
Nikolai
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux