2019-05-01 10:08:01 +02:00
|
|
|
# blkid
|
|
|
|
|
2025-05-02 00:32:14 +00:00
|
|
|
> List all recognized partitions and their Universally Unique Identifier (UUID).
|
2021-07-09 16:45:55 +02:00
|
|
|
> 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:
|
|
|
|
|
2025-03-28 16:06:49 +02:00
|
|
|
`sudo blkid {{[-o|--output]}} list`
|
2025-05-14 20:43:26 +03:00
|
|
|
|
|
|
|
- Get the UUID of the filesystem on a partition:
|
|
|
|
|
2025-08-11 15:54:29 +03:00
|
|
|
`sudo blkid {{[-s|--match-tag]}} UUID {{[-o|--output]}} value {{/dev/sdXY}}`
|