mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
499 B
Plaintext
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}}`
|