English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux mke2fs command

Linux Command大全

Linux mke2The fs command is used to create ext2File System.

Syntax

mke2fs [-cFMqrSvV][-b <block size>][-f <discontinuous segment size>][-i <bytes>][-N <inode number>][-l <file>][-L <Label>][-m <percentage value>][-R=<block number>][Device Name][Block Number]

Parameters:

  • -b<block size> Specify the block size, in bytes.
  • -c Check for damaged blocks.
  • -f<discontinuous segment size> Specify the size of the discontinuous segment, in bytes.
  • -F Force execution of mke regardless of the specified device.2fs.
  • -i<bytes> Specify "bytes"/the ratio of "inode"
  • -N<inode number> Specify the number of inodes to be created.
  • -l<file> Read the information about the damaged blocks from the specified file.
  • -L<Label> Set the label name of the file system.
  • -m<percentage value> Specify the percentage of blocks reserved for administrators, the default is5%
  • -M Record the last mounted directory.
  • -q Do not display any information during execution.
  • -r Specify the ext to be created2File system version.
  • -R=<block number> Set disk array parameters.
  • -S Only write superblock and group descriptors, without changing the inode bitmap and block bitmap.
  • -v Display detailed information during execution.
  • -V Display version information.

Linux Command大全