1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 06:55:22 +02:00
tldr/pages/linux/blkid.md
Managor 57827f2844
blkid: add example (#16492)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2025-05-14 17:43:26 +00:00

402 B

blkid

List all recognized partitions and their Universally Unique Identifier (UUID). More information: https://manned.org/blkid.

  • List all partitions:

sudo blkid

  • List all partitions in a table, including current mountpoints:

sudo blkid {{[-o|--output]}} list

  • Get the UUID of the filesystem on a partition:

blkid {{[-s|--match-tag]}} UUID {{[-o|--output]}} value {{/dev/sdXY}}