Re: blkid: Bug in LUKS detection?

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

 



On Sat, Aug 29, 2009 at 03:24:59PM +0200, Thomas Bächler wrote:
> We may have hit a bug in blkid. I have had reports from at least two  
> people that blkid does not properly detect all their LUKS devices.
>
> Running "blkid /dev/sdXY" returns nothing for one LUKS device,

Try 
 
   BLKID_DEBUG=0xffff blkid /dev/sdXY

or try 

   blkid -p blkid /dev/sdXY

The important is also return value (echo $?). I guess the problem is
that the device contains any other (old) filesystem. The old versions
of mkswap and cryptsetup don't zap old superblocks on the device.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux