1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-17 01:35:42 +02:00
tldr/pages/linux/blkid.md
2025-08-11 15:54:29 +03:00

407 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:

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