lsblk vs blkid to fetch UUID

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

 



Hi,
I have a use case which involves imaging of a system using custom
scripts. Imaging involves installing an operating system and
formatting all the disks and setting up a File System.
At times I would like to enable LUKS on certain disk partitions, so I
format the partition using cryptsetup to setup luks format.
However, I had been seeing issues with fetching UUID post luksFormat
using lsblk.  I have seen the same issue with blkid but its
occurrences are exponentially less.
I want to use lsblk because its faster but seems like blkid is more
reliable here.

[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