fdisk(专家模式)选项

可怕

在具有的GNU / Linux上fdisk (util-linux 2.20.1),使用时,说了fdisk /dev/sda3很多选项,甚至还有“专家模式”(x)。其中的大多数通过该m选项进行了说明

但是我找不到这些文档,也没有在maninfo页面找不到由于我现在不想在文件系统中摸索-有什么想法吗?

只是为了清楚起见:我不是在谈论“常规”选项,例如,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.

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章