OS Manuals

/usr/bin/tune2fs

Ext2/3/4 filesystem extra utilities

From e2fsprogs-extra 1.47.4-r5 (os), captured 2026-11-05 by running tune2fs --help (exit 1). permalink

/usr/bin/tune2fs: invalid option -- '-'
Usage: /usr/bin/tune2fs [-c max_mounts_count] [-e errors_behavior] [-f] [-g group]
	[-i interval[d|m|w]] [-j] [-J journal_options] [-l]
	[-m reserved_blocks_percent] [-o [^]mount_options[,...]]
	[-r reserved_blocks_count] [-u user] [-C mount_count]
	[-L volume_label] [-M last_mounted_dir]
	[-O [^]feature[,...]] [-Q quota_options]
	[-E extended-option[,...]] [-T last_check_time] [-U UUID]
	[-I new_inode_size] [-z undo_file] device
tune2fs 1.47.4 (6-Mar-2025)
Options (19)
OptionDescriptionSource
-c max-mount-countsAdjust the number of mounts after which the file system will be checked by e2fsck(8).man
-C mount-countSet the number of times the file system has been mounted.man
-e error-behaviorChange the behavior of the kernel code when errors are detected.man
-E extended-optionsSet extended options for the file system.man
-fForce the tune2fs operation to complete even in the face of errors.man
-g groupSet the group which can use the reserved file system blocks.man
-IChange the inode size used by the file system.man
-jAdd an ext3 journal to the file system.man
-J journal-optionsOverride the default ext3 journal parameters.man
-lList the contents of the file system superblock, including the current values of the parameters that can be set via this program.man
-L volume-labelSet the volume label of the file system.man
-m reserved-blocks-percentageSet the percentage of the file system which may only be allocated by privileged processes.man
-M last-mounted-directorySet the last-mounted directory for the file system.man
-r reserved-blocks-countSet the number of reserved file system blocks.man
-Q quota-optionsSets the quota feature on the superblock and works on the quota files for the given quota type.man
-T time-last-checkedSet the time the file system was last checked using e2fsck.man
-u userSet the user who can use the reserved file system blocks.man
-U UUIDSet the universally unique identifier (UUID) of the file system to UUID.man
-z undo_fileBefore overwriting a file system block, write the old contents of the block to an undo file.man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.