On Fri, Jun 23, 2017 at 07:01:28AM -0700, Rehan Iftikhar wrote: > Hello > > if I plug in an HDD that is encrypted with dm-crypt should I be able to use > tools like lsblk or udevadm to get the HDD's manufacturers serial number > *before* I decrypt the device? Yes, you can easily get the hardware serial number. LUKS only protects the disk sectors - the serial number is accessed via SCSI commands and so not affected by disk sector encryption. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt