|
发表于 2003-9-24 13:32:58
|
显示全部楼层
比如,我挂了一个USB闪存,用fdisk -l看,有如下信息:
[root@user root]# fdisk -l
Disk /dev/scsi/host0/bus0/target0/lun0/disc: 131 MB, 131072000 bytes
5 heads, 50 sectors/track, 1024 cylinders
Units = cylinders of 250 * 512 = 128000 bytes
Device Boot Start End Blocks Id System
/dev/scsi/host0/bus0/target0/lun0/part1 ? 7479086 8153844 84344761 69 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(68, 13, 10) logical=(7479085, 2, 16)
Partition 1 has different physical/logical endings:
phys=(288, 115, 43) logical=(8153843, 2, 37)
Partition 1 does not end on cylinder boundary:
/dev/scsi/host0/bus0/target0/lun0/part2 ? 6806078 14285604 934940732+ 73 Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(371, 114, 37) logical=(6806077, 4, 32)
Partition 2 has different physical/logical endings:
phys=(366, 32, 33) logical=(14285603, 3, 46)
Partition 2 does not end on cylinder boundary:
/dev/scsi/host0/bus0/target0/lun0/part3 ? 11 11 0 74 Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(371, 114, 37) logical=(10, 1, 24)
Partition 3 has different physical/logical endings:
phys=(372, 97, 50) logical=(10, 1, 23)
Partition 3 does not end on cylinder boundary:
/dev/scsi/host0/bus0/target0/lun0/part4 1 13740454 1717556736 0 Empty
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(0, 0, 0) logical=(0, 0, 1)
Partition 4 has different physical/logical endings:
phys=(0, 0, 0) logical=(13740453, 4, 22)
Partition 4 does not end on cylinder boundary:
Partition table entries are not in disk order
Disk /dev/ide/host0/bus0/target0/lun0/disc: 6495 MB, 6495068160 bytes
255 heads, 63 sectors/track, 789 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/ide/host0/bus0/target0/lun0/part1 * 1 443 3558366 83 Linux
/dev/ide/host0/bus0/target0/lun0/part2 444 788 2771212+ 5 Extended
/dev/ide/host0/bus0/target0/lun0/part5 444 506 506016 82 Linux swap
/dev/ide/host0/bus0/target0/lun0/part6 507 788 2265133+ 83 Linux
最上面显示的就是USB-STORAGE的信息:Disk /dev/scsi/host0/bus0/target0/lun0/disc: 131 MB, 131072000 bytes说明就是/dev/sda1,有131M。 |
|