OS Manuals

/usr/bin/blkid

Block device identification tool from util-linux

From blkid 2.42.4-r2 (os), captured 2026-11-05 by running blkid --help (exit 0). permalink

Usage:
 blkid --label <label> | --uuid <uuid>

 blkid [--cache-file <file>] [-ghlLv] [--output <format>] [--match-tag <tag>]
       [--match-token <token>] [<dev> ...]

 blkid -p [--match-tag <tag>] [--offset <offset>] [--size <size>]
       [--output <format>] <dev> ...

 blkid -i [--match-tag <tag>] [--output <format>] <dev> ...

Options:
 -c, --cache-file <file>    read from <file> instead of reading from the default
                              cache file (-c /dev/null means no cache)
 -d, --no-encoding          don't encode non-printing characters
 -g, --garbage-collect      garbage collect the blkid cache
 -o, --output <format>      output format; can be one of:
                              value, device, export, json or full; (default: full)
 -k, --list-filesystems     list all known filesystems/RAIDs and exit
 -s, --match-tag <tag>      show specified tag(s) (default show all tags)
 -t, --match-token <token>  find device with a specific token (NAME=value pair)
 -l, --list-one             look up only first device with token specified by -t
 -L, --label <label>        convert LABEL to device name
 -U, --uuid <uuid>          convert UUID to device name

Low-level probing options:
 -p, --probe                low-level superblocks probing (bypass cache)
 -i, --info                 gather information about I/O limits
 -H, --hint <value>         set hint for probing function
 -S, --size <size>          override device size
 -O, --offset <offset>      probe at the given offset
 -u, --usages <list>        filter by "usage" (e.g. -u filesystem,raid)
 -n, --match-types <list>   filter by filesystem type (e.g. -n vfat,ext3)
 -D, --no-part-details      don't print info from partition table

 -h, --help                 display this help
 -V, --version              display version

Arguments:
 Values for <size> and <offset> may be followed by a suffix: KiB, MiB,
 GiB, TiB, PiB, EiB, ZiB, or YiB (where the "iB" is optional).

 <dev> specify device(s) to probe (default: all devices)

For more details see blkid(8).
Options (20)
OptionDescriptionSource
-c, --cache-file fileRead from cachefile instead of reading from the default cache file (see the CONFIGURATION FILE section for more details).help + man
-d, --no-encodingDon’t encode non-printing characters.help + man
-g, --garbage-collectPerform a garbage collection pass on the blkid cache to remove devices which no longer exist.help + man
-o, --output formatUse the specified output format.help + man
-k, --list-filesystemsList all known filesystems and RAIDs and exit.help + man
-s, --match-tag tagFor each (specified) device, show only the tags that match tag.help + man
-t, --match-token tokenSearch for block devices with tokens named NAME that have the value value, and display any devices which are found.help + man
-l, --list-oneLook up only one device that matches the search parameter specified with the --match-token option.help + man
-L, --label labelLook up the device that uses this filesystem label;help + man
-U, --uuid uuidLook up the device that uses this filesystem uuid.help + man
-p, --probeSwitch to low-level superblock probing mode (bypassing the cache).help + man
-i, --infoDisplay information about I/O Limits (aka I/O topology).help + man
-H, --hint valueset hint for probing functionhelp + man
-S, --size sizeOverride the size of device/file (only useful with --probe).help + man
-O, --offset offsetProbe at the given offset (only useful with --probe).help + man
-u, --usages listRestrict the probing functions to the specified (comma-separated) list of "usage" types.help + man
-n, --match-types listRestrict the probing functions to the specified (comma-separated) list of superblock types (names).help + man
-D, --no-part-detailsDon’t print information (PART_ENTRY_ tags) from partition table in low-level probing mode.help + man
-h, --helpDisplay help text and exit.help + man
-V, --versionDisplay version and exit.help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.