fdisk (一)-- manipulate disk partition table 硬盘分区
NAME
fdisk - manipulate disk partition table
SYNOPSIS
fdisk [-uc] [-b sectorsize] [-C cyls] [-H heads] [-S sects] device // 对象是硬件设备
fdisk -l [-u] [device...]
fdisk -s partition...
fdisk -v
fdisk -h
此处主要讲解两个参数:
-l List the partition tables for the specified devices and then exit. If no devices are given, those mentioned in /proc/partitions (if
that exists) are used.
-s partition...
Print the size (in blocks) of each given partition.