What Is Mke2Fs in Linux?

What Is Mke2Fs in Linux?
Contents

mke2fs is used to create an ext2/ext3 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.

What is mke2fs conf?

mke2fs. conf is the configuration file for mke2fs(8). It controls the default parameters used by mke2fs(8) when it is creating ext2 or ext3 filesystems. Comments are delimited by a semicolon (‘;’) or a hash (‘#’) character at the beginning of the comment, and are terminated by the end of line character.

What is mkfs used for?

mkfs is used to build a Linux filesystem on a device, usually a hard disk partition. The device argument is either the device name (e.g., /dev/hda1, /dev/sdb2), or a regular file that shall contain the filesystem. The size argument is the number of blocks to be used for the filesystem.

Chloe Bennett
Author

Chloe Bennett

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.