/dev/sda5 19588 21677 16777216 82 Linux swap / Solaris
/dev/sda6 21677 23415 13962240 83 Linux
/dev/sda7 23416 36469 104854528 83 Linux
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT。 Use GNU Parted。
Disk /dev/sdb: 92017。3 GB, 92017310654464 bytes
255 heads, 63 sectors/track, 11187134 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 6029312 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 267350 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary。
(4)查看挂接的分区状态
[root@Master ~]# mount | column -t
/dev/sda2 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw)
/dev/sda3 on /home type ext4 (rw)
/dev/sda6 on /tmp type ext4 (rw)
/dev/sda7 on /usr type ext4 (rw)
/dev/sdb1 on /PureDisk type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw
(5)查看挂接的分区状态
[root@Master ~]# swapon -s
Filename Type Size Used Priority
/dev/sda5 partition 16777212 39676 -1 linux查看硬件信息命令(6):http://www.youerw.com/fanwen/lunwen_85480.html