Fdisk
fdisk(專家模式)選項
在帶有 的 GNU/Linux 上
fdisk (util-linux 2.20.1)
,使用時說fdisk /dev/sda3
有很多選項,甚至是“專家模式”(x
)。其中大部分是通過m
選項解釋的。但我找不到關於這些的文件,也不是在
man
非info
頁面中。因為我現在不想摸索我的文件系統 - 知道嗎?只是為了說明這一點:我不是在談論“正常”選項,例如,
fdisk -v
而是fdisk
首先必須啟動的選項。我的猜測是我可能會在另一個相關man
頁面中獲得好運,但到目前為止我找不到任何東西。我錯過了什麼?
Expert mode can be used to force the drive geometry to match another drive: x: Enter expert mode c: Change the number of cylinders h: Change the number of heads r: Return to normal mode
此外,
fdisk/README.fdisk
在源包上講述了以下故事:Extra commands for experts -------------------------- The eXtra command `x' puts `fdisk' into `expert' mode, in which a slightly different set of commands is available. The Active, Delete, List, New, Type, Verify, and `eXpert' commands are not available in expert mode. The commands Write and Quit are available as in ordinary mode, the Print command is available, but produces output in a slightly different format, and of course the Menu command prints the expert menu. There are several new commands. 1. The Return command brings you back to the main menu. 2. The Extended command prints the list of table entries which point to other tables. Ordinary users do not need this information. The data is shown as it is stored. The same format is used for the expert Print command. 3. The dangerous Begin command allows you to move the start of data in a partition away from its beginning. Other systems create partitions with this format, and it is sometimes useful to be able to reproduce it. 4. The slightly dangerous Cylinders command allows you to change the available number of cylinders. For SCSI disk owners, note that we require not the actual number of physical cylinders, but the number of logical cylinders used by DOS and other operating systems. 5. The extremely dangerous Heads and Sectors commands allow you to change the number of heads and sectors. It should not be necessary to use these commands unless you have a SCSI disk, whose geometry Linux is not always able to determine. SCSI disk owners note that we need not the actual number of heads or of sectors per track, but the number believed to exist by DOS and other operating systems. *Warning*: If you set either of these numbers to a bad value, you may lose all data on your disk. Always, after giving any of the commands Begin, Cylinder, Heads, or Sectors, you should Return to the main menu and give the Verify command.