Linux fdisk是一個(gè)創(chuàng)建和維護(hù)分區(qū)表的程序,它兼容DOS類(lèi)型的分區(qū)表、BSD或者SUN類(lèi)型的磁盤(pán)列表。 語(yǔ)法fdisk [必要參數(shù)][選擇參數(shù)] 必要參數(shù):
選擇參數(shù):
菜單操作說(shuō)明
實(shí)例顯示當(dāng)前分區(qū)情況: # fdisk -lDisk /dev/sda: 10.7 GB, 10737418240 bytes255 heads, 63 sectors/track, 1305 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sda1 * 1 13 104391 83 Linux/dev/sda2 14 1305 10377990 8e Linux LVMDisk /dev/sdb: 5368 MB, 5368709120 bytes255 heads, 63 sectors/track, 652 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk /dev/sdb doesn't contain a valid partition table 顯示SCSI硬盤(pán)的每個(gè)分區(qū)情況 # fdisk -lu Disk /dev/sda: 10.7 GB, 10737418240 bytes255 heads, 63 sectors/track, 1305 cylinders, total 20971520 sectorsUnits = sectors of 1 * 512 = 512 bytes Device Boot Start End Blocks Id System/dev/sda1 * 63 208844 104391 83 Linux/dev/sda2 208845 20964824 10377990 8e Linux LVMDisk /dev/sdb: 5368 MB, 5368709120 bytes255 heads, 63 sectors/track, 652 cylinders, total 10485760 sectorsUnits = sectors of 1 * 512 = 512 bytesDisk /dev/sdb doesn't contain a valid partition table
|
|
來(lái)自: 狗尾草p3fbgduj > 《攝像頭知識(shí)》