首页天道酬勤centos查看网卡硬件信息,centos查看系统配置

centos查看网卡硬件信息,centos查看系统配置

张世龙 05-12 13:44 80次浏览

在Linux上,可以使用blkid命令查询查询设备上使用的文件系统类型。 blkid主要用于查询系统块设备(包括交换分区)中使用的文件系统类型、标签和UUID等信息。 要使用此命令,必须安装e2fsprogs软件包。

首先,要查看帮助信息,请使用帮助。

[ root @ localhost~] # bl kid-helpblkidfromutil-Linux2. 23.2 (libblkid2. 23.0,25-apr-2013 ) usage : bl kid [-t token ] [ dev [-ssize ] [-o格式] dev . bl kid-I [-stag ] [-o格式] dev . options :-cfilereadfromfilions - ddon ' tencodenon-printing characters-hprintthisusagemessageandexit-ggarbagecollecttheblkidcache-oformatoutputputformat (default : full (-klistallknownfilesystems/raidsandexit-stagshowspecifiedtag (s ) default show all tags () ) ) )。 - ttokenfinddevicewithaspecifictoken (name=value pair ) )。 - llookuponlyfirstdevicewithtokenspecifiedby-t-llabelconvertlabeltodevicename-uuidconvertuidtodevicename-vprintversiversiiiiion default:alldevices ) low-levelprobingoptions :-plow-levelsuperblocksprobing-I gather信息引导I/o limits-ssizeoverwritedevicesize-ooffsetprobeatthegivenoffset-ulistfilterby ' usage ' (e.g.- ufile system,raid )

尝试单独使用blkid命令来确定所有设备的文件系统类型。

[ root @ localhost~] # bl kid/dev/sda 1: uuid=' 80e 2524 e-c28e-41d6- b972-04a 4506267 B4 ' type=' xfs '/dev/sda 2: uuid=' od zaco-mypf-3it x-f0df-kpwe-eu32-P1 bjwd ' type=' LV m2 _ member '/dev/mapper/centos-rororood

[ root @ localhost~] # bl kid/dev/sda1/dev/sda 1: uuid=' 80e 2524 e-c28e-41d6- b972-04a 4506267 B4 ' type='

[ root @ localhost~] # bl kid-su uid/dev/sda1/dev/sda 1: uuid=' 80e 2524 e-c28e-41d6- b972-04a 4506267 B4 '

[ root @ localhost~] # bl kid-stype/dev/sda 1: type=' xfs '/dev/sda 23360 type=' LV m2 _ member '/dev/ma ppppe

[ root @ localhost~] # bl kid-o设备/dev/sda1/dev/sda2/dev/mapper/centos-root/dev/mapper/centos-SW

[ root @ localhost~] # lkid-----olistdevicefs---------- typelabelmountpointuuuuid---------------------. -----------------请参阅dev/sda2LVM2_member(inuse ) od zaco-mypf-3it x-f0df-kpwe-eu32-P1 bjwe

查看电脑硬盘的命令,查看uuid的命令