fdisk命令使用

常用的几个命令

    m:获取帮助

    n:新建分区

    p:显示分区表

    d:删除分区

    b:设置卷标

    w:保存分区表

    t:改变分区文件系统类型

    v:检验分区

    q:退出


查看帮助命令

Command (m for help): m                                        

Command action

  a  toggle a bootable flag

  b  edit bsd disklabel

  c  toggle the dos compatibility flag

  d  delete a partition

  g  create a new empty GPT partition table

  G  create an IRIX (SGI) partition table

  l  list known partition types

  m  print this menu                                                              

  n  add a new partition                                                        

  o  create a new empty DOS partition table

  p  print the partition table                                                   

  q  quit without saving changes

  s  create a new empty Sun disklabel

  t  change a partition's system id

  u  change display/entry units

  v  verify the partition table

  w  write table to disk and exit                                           

  x  extra functionality (experts only)

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容