From 57827f2844b86683df8ab876330464281c86ba27 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Wed, 14 May 2025 20:43:26 +0300 Subject: [PATCH] blkid: add example (#16492) Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/linux/blkid.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/blkid.md b/pages/linux/blkid.md index 0ba53b2725..8748089bcb 100644 --- a/pages/linux/blkid.md +++ b/pages/linux/blkid.md @@ -10,3 +10,7 @@ - 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}}`