fdisk交互


fdisk交互
命令 说明 指令
a 设置可引导标记 toggle a bootable flag
b 编辑bsd磁盘标签 edit bsd disklabel
c 设置DOS操作系统兼容标记 toggle the dos compatibility flag
d 删除一个分区 delete a partition
l 显示已知文件的系统类型,82 为 Linux swap 分区,83 为 Linux 分区 list known partition types
m 显示帮助菜单 print this menu
n 新建分区 add a new partition
o 建立空白DOS分区表 create a new empty DOS partition table
p 显示分区列表 print the partition table
q 不保存退出 quit without saving changes
s 新建空白SUN磁盘标签 create a new empty Sun disklabel
t 改变一个分区的系统ID change a partition's system id
u 改变显示记录单位 change display/entry units
v 验证分区表 verity the partition table
w 保存退出 write table to disk and exit
x 附加功能(仅专家) extra functionality (experts only)
原文地址:https://www.cnblogs.com/bky-lwyh930214/p/10222477.html