HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

blkid — List all recognized partitions and their Universally Unique Identifier (UUID). More information: <ht

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandallandclirecognizedblkidpartitionslist
linux

Problem

How to use the blkid command: List all recognized partitions and their Universally Unique Identifier (UUID). More information: <https://manned.org/blkid>.

Solution

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

Code Snippets

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

Context

tldr-pages: linux/blkid

Revisions (0)

No revisions yet.