Linux命令——bldid
簡介
blkid用於檢視塊裝置UUID、Label、掛載、檔案系統型別等資訊
選項引數
無引數——顯示所有已掛載分割槽資訊
檢視特定分割槽
-s:指定輸出資訊(UUID、TYPE、LABEL、PTTYPE等)
-o:指定輸出格式(full、value、list、device、udev、export)
full print all tags (the default)
value print the value of the tags
list print the devices in a user-friendly format; this output format is unsupported for low-level probing (-p or -i).This output format is DEPRECATED in favour of the lsblk(8) command.
device print the device name only; this output format is always enabled for the -L and -U options
udev print key="value" pairs for easy import into the udev environment; the keys are prefixed by ID_FS_ or ID_PART_ prefixes.The udev output returns the ID_FS_AMBIVALENT tag if more superblocks are detected, and ID_PART_ENTRY_* tags are always returned for all partitions including empty partitions. This output format is DEPRECATED.
export print key=value pairs for easy import into the environment; this output format is automatically enabled when I/O Limits (-i option) are
requested