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)
| Option | Description | Source |
|---|
-c, --cache-file file | Read from cachefile instead of reading from the default cache file (see the CONFIGURATION FILE section for more details). | help + man |
-d, --no-encoding | Don’t encode non-printing characters. | help + man |
-g, --garbage-collect | Perform a garbage collection pass on the blkid cache to remove devices which no longer exist. | help + man |
-o, --output format | Use the specified output format. | help + man |
-k, --list-filesystems | List all known filesystems and RAIDs and exit. | help + man |
-s, --match-tag tag | For each (specified) device, show only the tags that match tag. | help + man |
-t, --match-token token | Search for block devices with tokens named NAME that have the value value, and display any devices which are found. | help + man |
-l, --list-one | Look up only one device that matches the search parameter specified with the --match-token option. | help + man |
-L, --label label | Look up the device that uses this filesystem label; | help + man |
-U, --uuid uuid | Look up the device that uses this filesystem uuid. | help + man |
-p, --probe | Switch to low-level superblock probing mode (bypassing the cache). | help + man |
-i, --info | Display information about I/O Limits (aka I/O topology). | help + man |
-H, --hint value | set hint for probing function | help + man |
-S, --size size | Override the size of device/file (only useful with --probe). | help + man |
-O, --offset offset | Probe at the given offset (only useful with --probe). | help + man |
-u, --usages list | Restrict the probing functions to the specified (comma-separated) list of "usage" types. | help + man |
-n, --match-types list | Restrict the probing functions to the specified (comma-separated) list of superblock types (names). | help + man |
-D, --no-part-details | Don’t print information (PART_ENTRY_ tags) from partition table in low-level probing mode. | help + man |
-h, --help | Display help text and exit. | help + man |
-V, --version | Display 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.