Provided by: util-linux_2.20.1-5.1ubuntu20_amd64 NAME mkfs - build a Linux filesystem SYNOPSIS SYNOPSIS mkfs [options] [-t type fs-options] device [size] DESCRIPTION mkfs is used to build a Linux filesystem on a device, usually a hard disk partition. mkfs -t ext2 /dev/fd0. The above example would create an ext2 file system on a floppy diskette in the first floppy drive. Related commands. fdisk — A disk partitioning utility. fsck — Check and repair a Linux file system. losetup — Set up and control loop devices. If called as mkfs.ext3 a journal is created as if the -j option was specified. 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.

Określa typ systemu plików (np. ext2, ext3, ext4 itp.) do utworzenia. Jeśli nie poda się tej opcji, mke2fs wybierze domyślny na podstawie polecenia, które go uruchomiło (np. mkfs.ext2, mkfs.ext3 itd.) lub na podstawie domyślnego systemu plików, zdefiniowanego plikiem /etc/mke2fs.conf. mkfs.ext3(8) [suse man page] 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, mke2f