Re: Broken header of a luks-partition - more than once

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

 



On Tue, 25 Aug 2009 00:50:23 +0200Thomas Bächler <thomas@xxxxxxxxxxxxx> wrote:

> Milan Broz schrieb:> > But see crypttab here - you have tmp device created as regular> > encrypted device with random key - are you sure that kernel> > _cannot_ swap sda & sdb and your system just formats temp device> > here?> > > >> # <target name> <source device>         <key file>      <options>> >> home            /dev/sdb2               none            luks> >> ctmp            /dev/sda2               /dev/urandom> >> tmp,cipher=aes-cbc-essiv:sha256> >> cswap           /dev/sda5               /dev/urandom> >> swap,cipher=aes-cbc-essiv:sha256> > Milan is probably right here, device names on modern distributions> are not deterministic! However, the underlying script should be> careful not to the device under the random key mapping if it contains> a valid filesystem.> > crypttab functionality is not part of cryptsetup, but part of your > distribution. You should report this problem there.> Okay, I assume that is a quite good point - i didn't know this fact.. Ithought crypttab is part of cryptsetup and has - more or less - nothingto do with anything else in first place.Since the failure takes some time to happen, I will probably report backin a couple of days or weeks. Thanks a lot for your time :)Would really not have thought of that!

Martin

_______________________________________________dm-crypt mailing listdm-crypt@xxxxxxxxxxxx://www.saout.de/mailman/listinfo/dm-crypt

[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux