Latest web development tutorials

Linux mke2fs command

Linux command Daquan Linux command Daquan

Linux mke2fs command is used to create an ext2 file system.

grammar

mke2fs [-cFMqrSvV][-b <区块大小>][-f <不连续区段大小>][-i <字节>][-N <inode数>][-l <文件>][-L <标签>][-m <百分比值>][-R=<区块数>][ 设备名称][区块数]

Parameters:

  • -b <block size> specifies the block size, in bytes.
  • -c Check for bad blocks.
  • -f <discontinuous section size> specifies the size of the discontinuous zone, in bytes.
  • -F Regardless of why the specified device, enforce mke2fs.
  • -i <byte> Specifies the proportion of "bytes / inode" is.
  • -N <Inode number> Specifies the number of inode to be established.
  • -l <file> from the specified file, read the file bad block information in the West.
  • -L Tag name <tab> settings file system.
  • -m <percent value> Specifies the ratio of administrators to retain the block, the default is 5%.
  • -M Record last hanging in the directory.
  • -q does not display any information when executed.
  • -r Specifies to create ext2 file system version.
  • -R = <Block number> Set disk array parameters.
  • -S Writes only superblock and group descriptors, without changing the inode able inode bitmap and the block bitmap.
  • -v Displays detailed information when executed.
  • -V Display version information.

Linux command Daquan Linux command Daquan