1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
| Options: -a, --all 显示所有设备 -b, --bytes 指定SIZE字段以bytes为单位显示,而不是可读形式如1G -d, --nodeps 只显示磁盘而不显示分区 -D, --discard print discard capabilities -e, --exclude <list> 排除MAJ主设备编号的磁盘,可以在多种磁盘类型时使用 -I, --include <list> 只显示指定的主设备编号磁盘 -f, --fs 显示文件系统 -i, --ascii 只使用ascii字符 -m, --perms 显示权限 -l, --list 显示为列表形式 -n, --noheadings 不显示头部标题 -o, --output <list> 显示指定格式 -p, --paths 显示完整的设备路径 -P, --pairs 显示key="value"格式 -r, --raw 显示原始格式 -s, --inverse 显示依赖关系 -t, --topology 显示设备详情 -S, --scsi 显示SCSI设备
-o可选的字段列表如下 NAME device name KNAME internal kernel device name MAJ:MIN major:minor device number FSTYPE filesystem type MOUNTPOINT where the device is mounted LABEL filesystem LABEL UUID filesystem UUID PARTLABEL partition LABEL PARTUUID partition UUID RA read-ahead of the device RO read-only device RM removable device MODEL device identifier SERIAL disk serial number SIZE size of the device STATE state of the device OWNER user name GROUP group name MODE device node permissions ALIGNMENT alignment offset MIN-IO minimum I/O size OPT-IO optimal I/O size PHY-SEC physical sector size LOG-SEC logical sector size ROTA rotational device SCHED I/O scheduler name RQ-SIZE request queue size TYPE device type DISC-ALN discard alignment offset DISC-GRAN discard granularity DISC-MAX discard max bytes DISC-ZERO discard zeroes data WSAME write same max bytes WWN unique storage identifier RAND adds randomness PKNAME internal parent kernel device name HCTL Host:Channel:Target:Lun for SCSI TRAN device transport type REV device revision VENDOR device vendor
|