
tune2fs | 487
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Options
--help
Print help message and exit.
-s, --silent, --quiet
Print nothing to standard output, but return an exit status.
--version
Display version information and exit.
tune2fs
tune2fs [options] device
System administration command. Tune the parameters of a Linux
Second Extended Filesystem by adjusting various parameters. You
must specify the device on which the filesystem resides; it must not
be mounted read/write when you change its parameters.
Options
-c max-mount-counts
Specify the maximum number of mount counts between two
checks on the filesystem.
-C mount-count
Specify the mount count. For use with -c to force a check the
next time the system boots.
-e behavior
Specify the kernel’s behavior when encountering errors.
behavior must be one of:
continue
Continue as usual.
remount-ro
Remount the offending filesystem in read-only mode.
panic
Cause a kernel panic.
-f Force completion even if there are errors.
-g group
Allow group (a group ID or name) to use reserved blocks.
-i interval[d|w|m]
Specify the maximum interval between filesystem checks.
Units may be in days (d), weeks (w), or months (m). If interval
is 0, checking will not be time-dependent.
-j Add an ext3 journal to the filesystem. If specified without -J,
use the default journal parameters.
-J jrnl-options
Specify ...