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

16 lines
407 B
Markdown

# 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}}`