BLKID(8) blkid - / blkid --label | --uuid blkid [--no-encoding --garbage-collect --list-one --cache-file ] [--output ] [--match-tag ] [--match-token =] [...] blkid --probe [--offset ] [--output ] [--size ] [--match-tag ] [--match-types ] [--usages ] [--no-part-details] ... blkid --info [--output ] [--match-tag ] ... blkid libblkid(3) . (., ) , (, ,,=") (., ). lsblk(8) , ,,lsblk --fs" , findmnt(8) . lsblk(8) , , . blkid . blkid libblkid(3) . , . . , /proc/partitions , . blkid : ,,=", ,,=" . blkid ( ). (-p) . wipefs(8) ( ) . KiB (=1024), MiB (=1024*1024), GiB, TiB, PiB, EiB, ZiB YiB (,,iB" , ., ,,K" ,,KiB"), KB (=1000), MB (=1000*1000), GB, TB, PB, EB, ZB YB. -c, --cache-file - ( ). (., ), /dev/null. -d, --no-encoding . ^ ,,M-" . --output udev . -D, --no-part-details (__* ) . -g, --garbage-collect ,,blkid" . -H, --hint . . ,,_=" UDF-. -i, --info / (. / ). ,,export" . --probe. -k, --list-filesystems - . -l, --list-one --match-token. , , / ( ,,udev"-). : , EVMS, LVM, MD, . , blkid . blkid ,,udev" --match-token. ( mount(8), .) . -L, --label ; --list-one --output --match-token =. ,,/dev/disk/by-label" ,,udev"- ( /etc/blkid.conf). . --label ,,udev"-. , blkid(8) ,,e2fsprogs" -L -o . , -l -o -t = -o -L. -n, --match-types ( ) (). ,,no" . : blkid --probe --match-types vfat,ext3,ext4 /dev/sda1 vfat, ext3 ext4 , blkid --probe --match-types nominix /dev/sda1 ,,minix" . --probe. -o, --output . . -s. : full () value list ; (--probe --info). lsblk(8). device ; --label --uuid udev ,,="" ,,udev" ; __ __. ,,udev" ; , UTF-8, ( ) ,,_". _ENC . ,,udev"- __ , ___* . . export ,,=" ; / ( --info) . ^ M- . json Print the tags entries in JSON objects. -O, --offset ( --probe). --info. -p, --probe ( ). ( ,,PTTYPE") ( ,,PART_ENTRY_*"). ,,libblkid" --probe ( PART_ENTRY_UUID= vs PARTUUID=). --no-part-details. -s, --match-tag () , . --match-tag . , () . , --match-tag none . -S, --size / ( --probe). -t, --match-token = , . , , . , ; . -u, --usages ( ) ,,". ,,no" . : blkid --probe --usages filesystem,other /dev/sda1 (., ), blkid --probe --usages noraid /dev/sda1 -. --probe. -U, --uuid . --label. -h, --help . -V, --version Display version and exit. ( --match-token) , 0. --match-tag , . , () , 2. , 4. (-p), 8 . /etc/blkid.conf BLKID_CONF. ,,libblkid" : SEND_UEVENT= (uevent) /dev/disk/by-{label,uuid,partuuid,partlabel}/ , , - . ,,yes" (). CACHE_FILE=<> . BLKID_FILE. /run/blkid/blkid.tab, /etc/blkid.tab /run. EVALUATE=<> () -. , ,,libblkid" ,,udev" ,,scan". . ,,udev,scan". ,,udev" /dev/disk/by-* ,,udev"- ,,scan" /proc/partitions. LIBBLKID_DEBUG=all . blkid Andreas Dilger ,,libblkid" Theodore Ts'o Karel Zak. libblkid(3), findfs(8), lsblk(8), wipefs(8) For bug reports, use the issue tracker . blkid ,,util-linux" . util-linux 2.41 2025-03-29 BLKID(8)