1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 12:55:23 +02:00
tldr/pages/linux/blkid.md

17 lines
402 B
Markdown
Raw Normal View History

2019-05-01 10:08:01 +02:00
# blkid
> List all recognized partitions and their Universally Unique Identifier (UUID).
> More information: <https://manned.org/blkid>.
2019-05-01 10:08:01 +02:00
- 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}}`