在操作系统终端控制台中执行format命令,选择想要查询的硬盘的编号(如:0),出现的format menu如下所示,键入partition:
注意:由于format命令有格式化硬盘的选项,请在操作时千万小心。
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format>partition
在出现的partition menu中选择print选项,如下所示:
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition>print
即可看到硬盘的分区信息,包括裸分区的信息。示例如下:
Total disk cylinders available: 7506 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 6155 13.83GB (6156/0/0) 29007072
1 swap wu 6156 - 7025 1.95GB (870/0/0) 4099440
2 backup wm 0 - 7505 16.86GB (7506/0/0) 35368272
3 unassigned wm 7026 - 7069 101.23MB (44/0/0) 207328
4 unassigned wm 7070 - 7113 101.23MB (44/0/0) 207328
5 unassigned wm 7114 - 7374 600.50MB (261/0/0) 1229832
6 unassigned wm 7375 - 7505 301.40MB (131/0/0) 617272
7 unassigned wm 0 0 (0/0/0) 0
查看完后输入q退出format命令。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作