Note that the -output udev output format uses a different encoding which cannot be disabled. The non-printing characters are encoded by ^ and M- notation by default. d, -no-encoding Don’t encode non-printing characters. If you want to start with a clean cache (i.e., don’t report devices previously scanned but not necessarily available at this time), specify /dev/null. c, -cache-file cachefile Read from cachefile instead of reading from the default cache file (see the CONFIGURATION FILE section for more details). OPTIONS top The size and offset arguments may be followed by the multiplicative suffixes like KiB (=1024), MiB (=1024*1024), and so on for GiB, TiB, PiB, EiB, ZiB and YiB (the "iB" is optional, e.g., "K" has the same meaning as "KiB"), or the suffixes KB (=1000), MB (=1000*1000), and so on for GB, TB, PB, EB, ZB and YB. It’s recommended to use wipefs(8) to get a detailed overview and to erase obsolete stuff (magic strings) from the device. ![]() The low-level probing mode ( -p) provides more information and extra exit status in this case. For security reasons blkid silently ignores all devices where the probing result is ambivalent (multiple colliding filesystems are detected). blkid has two main forms of operation: either searching for a device with a specific NAME=value pair, or displaying NAME=value pairs for one or more specified devices. If none is given, all partitions or unpartitioned devices which appear in /proc/partitions are shown, if they are recognized. It is possible to specify multiple device arguments on the command line. When device is specified, tokens from only this device are displayed. blkid is mostly designed for system services and to test libblkid(3) functionality. blkid reads information directly from devices and for non-root users it returns cached unverified information. lsblk(8) provides more information, better control on output formatting, easy to use in scripts and it does not require root permissions to get actual information. It is recommended to use lsblk(8) command to get information about block devices, or lsblk -fs to get an overview of filesystems, or findmnt(8) to search in already mounted filesystems. It can determine the type of content (e.g., filesystem or swap) that a block device holds, and also the attributes (tokens, NAME=value pairs) from the content metadata (e.g., LABEL or UUID fields). DESCRIPTION top The blkid program is the command-line interface to working with the libblkid(3) library. ![]() BLKID(8) System Administration BLKID(8) NAME top blkid - locate/print block device attributes SYNOPSIS top blkid -label label | -uuid uuid blkid blkid -probe device.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |