Skip to content

Setup disks, partitions, and filesystems on Linux

  • Get the list of block devices: lsblk
  • Get the attributes of a block device: blkid <device>