создать файловую систему ext2 / ext3 / ext4 (create an ext2/ext3/ext4 file system)
Имя (Name)
mke2fs - create an ext2/ext3/ext4 file system
Синопсис (Synopsis)
mke2fs
[ -c
| -l
filename ] [ -b
block-size ] [ -C
cluster-size ]
[ -d
root-directory ] [ -D
] [ -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
] [ -e
errors-
behavior ] [ -z
undo_file ] device [ fs-size ]
mke2fs -O journal_dev
[ -b
block-size ] [ -L
volume-label ] [ -n
] [ -q
] [ -v
] external-journal [ fs-size ]
Описание (Description)
mke2fs
is used to create an ext2, ext3, or ext4 file system,
usually in a disk partition (or file) named by device.
The file system size is specified by fs-size. If fs-size does
not have a suffix, it is interpreted as power-of-two kilobytes,
unless the -b
blocksize option is specified, in which case fs-
size is interpreted as the number of blocksize blocks. If the
fs-size is suffixed by 'k', 'm', 'g', 't' (either upper-case or
lower-case), then it is interpreted in power-of-two kilobytes,
megabytes, gigabytes, terabytes, etc. If fs-size is omitted,
mke2fs
will create the file system based on the device size.
If mke2fs
is run as mkfs.XXX
(i.e., mkfs.ext2
, mkfs.ext3
, or
mkfs.ext4
) the option -t
XXX is implied; so mkfs.ext3
will create
a file system for use with ext3, mkfs.ext4
will create a file
system for use with ext4, and so on.
The defaults of the parameters for the newly created file system,
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.