linux磁盘分区fdisk命令详解

时间:2022-01-13 16:26:21

注解:

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 注:这是删除一个分区的动作;
 l  list known partition types 注:l是列出分区类型,以供我们设置相应分区的类型;
m print this menu 注:m 是列出帮助信息;
n  add a new partition 注:添加一个分区;
o  create a new empty DOS partition table
p  print the partition table 注:p列出分区表;
q  quit without saving changes 注:不保存退出;
s  create a new empty Sun disklabel
t  change a partition's system id 注:t 改变分区类型;
u  change display/entry units
v  verify the partition table
w  write table to disk and exit 注:把分区表写入硬盘并退出;
x  extra functionality (experts only) 注:扩展应用,专家功能


本文出自 “爱生活的小白” 博客,请务必保留此出处http://sf1314.blog.51cto.com/13295031/1977343