YouTip LogoYouTip

Linux Comm Mke2Fs

# Linux mke2fs Command [![Image 3: Linux Command Manual](#) Linux Command Manual](#) The Linux mke2fs command is used to create an ext2 file system. ### Syntax mke2fs **Parameters**: * -b Specifies the block size in bytes. * -c Checks for bad blocks. * -f Specifies the fragment size in bytes. * -F Forces mke2fs to run, regardless of the specified device. * -i Specifies the "bytes per inode" ratio. * -N Specifies the number of inodes to create. * -l Reads information about bad blocks from the specified file. * -L Sets the volume label for the file system. * -m Specifies the percentage of blocks reserved for the administrator, default is 5%. * -M Records the last mounted directory. * -q Suppresses all output during execution. * -r Specifies the revision of the ext2 file system to create. * -R= Sets RAID parameters. * -S Writes only the superblock and group descriptors, without changing the inode table, inode bitmap, and block bitmap. * -v Displays verbose information during execution. * -V Displays version information. [![Image 4: Linux Command Manual](#) Linux Command Manual](#)
← Linux Comm Mkfs Ext2Linux Comm Mkdosfs β†’