Linux sfdisk命令
Linux 教程
· 2019-02-15 18:43:33
Linux sfdisk命令是硬盘分区工具程序。
sfdisk为硬盘分区工具程序,可显示分区的设置信息,并检查分区是否正常。
语法
sfdisk [-?Tvx][-d <硬盘>][-g <硬盘>][-l <硬盘>][-s <分区>][-V <硬盘>]
参数:
- -?或--help 显示帮助。
- -d<硬盘> 显示硬盘分区的设置。
- -g<硬盘>或--show-geometry<硬盘> 显示硬盘的CHS参数。
- -l<硬盘> 显示后硬盘分区的相关设置。
- -s<分区> 显示分区的大小,单位为区块。
- -T或--list-types 显示所有sfdisk能辨识的文件系统ID。
- -v或--version 显示版本信息。
- -V<硬盘>或--verify<硬盘> 检查硬盘分区是否正常。
- -x或--show-extend 显示扩展分区中的逻辑分区。
实例
显示分区信息:
# sfdisk -l Disk /dev/sda: 1305 cylinders, 255 heads, 63 sectors/track Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/sda1 * 0+ 12 13- 104391 83 Linux /dev/sda2 13 1304 1292 10377990 8e Linux LVM /dev/sda3 0 - 0 0 0 Empty /dev/sda4 0 - 0 0 0 Empty Disk /dev/sdb: 652 cylinders, 255 heads, 63 sectors/track sfdisk: ERROR: sector 0 does not have an msdos signature /dev/sdb: unrecognized partition No partitions found
点击查看所有 Linux 教程 文章: https://codercto.com/courses/l/14.html
Twenty Lectures on Algorithmic Game Theory
Tim Roughgarden / Cambridge University Press / 2016-8-31 / USD 34.99
Computer science and economics have engaged in a lively interaction over the past fifteen years, resulting in the new field of algorithmic game theory. Many problems that are central to modern compute......一起来看看 《Twenty Lectures on Algorithmic Game Theory》 这本书的介绍吧!
XML 在线格式化
在线 XML 格式化压缩工具
RGB CMYK 转换工具
RGB CMYK 互转工具