0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

mke2fs

Posted at
MKE2FS(8)                           System Manager's Manual                           MKE2FS(8)

NAME
       mke2fs - create an ext2/ext3/ext4 filesystem

SYNOPSIS
       mke2fs  [  -c | -l filename ] [ -b block-size ] [ -D ] [ -f fragment-size ] [ -g blocks-
       per-group ] [ -G number-of-groups ] [ -i bytes-per-inode ] [ -I inode-size ] [ -j ] [ -J
       journal-options  ] [ -N number-of-inodes ] [ -n ] [ -m reserved-blocks-percentage ] [ -o
       creator-os ] [ -O feature[,...]  ] [ -q ] [ -r fs-revision-level ] [ -E extended-options
       ]  [ -v ] [ -F ] [ -L volume-label ] [ -M last-mounted-directory ] [ -S ] [ -t fs-type ]
       [ -T usage-type ] [ -U UUID ] [ -V ] device [ blocks-count ]

       mke2fs -O journal_dev [ -b block-size ] [ -L volume-label ] [ -n ] [ -q ] [ -v ]  exter‐
       nal-journal [ blocks-count ]

DESCRIPTION
       mke2fs is used to create an ext2, ext3, or ext4 filesystem, usually in a disk partition.
       device is the special file corresponding to the device (e.g /dev/hdXX).  blocks-count is
       the  number  of blocks on the device.  If omitted, mke2fs automagically figures the file
       system size.  If called as mkfs.ext3 a journal is created as if the -j option was speci‐
       fied.

       The  defaults  of  the parameters for the newly created filesystem, if not overridden by
       the options listed below, are controlled by  the  /etc/mke2fs.conf  configuration  file.
       See the mke2fs.conf(5) manual page for more details.

OPTIONS
       -b block-size
              Specify  the size of blocks in bytes.  Valid block-size values are 1024, 2048 and
              4096 bytes per block.  If omitted, block-size is heuristically determined by  the
              filesystem size and the expected usage of the filesystem (see the -T option).  If
              block-size is preceded by a negative sign ('-'), then mke2fs will use  heuristics
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?