Files
cheatsheet-tldr/tldr/linux/blkid
2025-08-12 00:20:27 +00:00

22 lines
499 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`