mkfslinux中磁盘文件格式化命令
形式:
mkfs [options] [-t type] [fs-options] device [size]
OPTIONS
-t, –type type
Specify the type of filesystem to be built. If not specified,
the default filesystem type (currently ext2) is used.
fs-options
Filesystem-specific options to be passed to the real filesystem
builder.
-V, --verbose
Produce verbose output, including all filesystem-specific com‐
mands that are executed. Specifying this option more than once
inhibits execution of any filesystem-specific commands. This is
really only useful for testing.
-V, --version
Display version information and exit. (Option -V will display
version information only when it is the only parameter, other‐
wise it will work as --verbose.)
fdisk-磁盘查看
形式
fdisk [options] device
fdisk -l [device…]