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