找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 33|回复: 0

fdisk命令详解

[复制链接]

55

主题

27

回帖

240

积分

管理员

积分
240
发表于 6 天前 | 显示全部楼层 |阅读模式
fdisk: Usage:

fdisk [options] <disk> change partition table

fdisk [options] -l <disk> list partition table(s)

fdisk -s <partition> give partition size(s) in blocks

Options:

-b <size> sector size (512, 1024, 2048 or 4096)

-c switch off DOS-compatible mode

-h print help

-u <size> give sizes in sectors instead of cylinders

-v print version

d delete a partition 删除分区;

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 不保存退出;

t change a partition's system id 改变分区类型;

w write table to disk and exit 把分区表写入硬盘并退出。
懒得打字嘛,点击右侧快捷回复 【右侧内容,后台自定义】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表