1 .\" Revision 1.0 93/06/3 23:00 chk
5 .TH TUNE2FS 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
7 tune2fs \- adjust tunable filesystem parameters on second extended filesystems
23 .I interval-between-checks
27 .I reserved-blocks-percentage
31 .I reserved-blocks-count
55 .I last-mounted-directory
59 \fR[^]\fIfeature\fR[,...]
68 adjusts tunable filesystem parameters on a Linux second extended filesystem.
71 .BI \-c " max-mount-counts"
72 adjust the maximal mounts count between two filesystem checks. If
74 is -1 then the number of times the filesystem is mounted will be disregarded
75 by e2fsck and the kernel.
77 .BI \-e " error-behavior"
78 change the behavior of the kernel code when errors are detected.
80 can be one of the following:
82 \ continue\ \ Continue normal execution.
84 \ remount-ro\ Remount filesystem read-only.
86 \ panic\ \ Cause a kernel panic.
89 set the user group which can benefit from the reserved blocks.
92 can be a numerical gid or a group name.
94 .BI \-i " interval-between-checks\fR[\fBd\fR|\fBm\fR|\fBw\fR]"
95 adjust the maximal time between two filesystem checks.
102 in weeks. A value of zero will disable the timedependent checking.
105 list the contents of the filesystem superblock.
107 .BI \-m " reserved-blocks-percentage"
108 adjust the reserved blocks percentage on the given device.
110 .BI \-r " reserved-blocks-count"
111 adjust the reserved blocks count on the given device.
113 .BI \-s " sparse_super_flag"
114 set or reset the sparse_superblock flag. The sparse_superblock feature
115 saves space on really big filesystems.
117 The Linux 2.0 kernel does not properly support this feature. Neither do
118 all Linux 2.1 kernels; please don't use this unless you know what you're
122 set the user who can benefit from the reserved blocks.
124 can be a numerical uid or a user name.
126 .BI \-C " mount-count"
127 set the number of times the filesystem has been mounted.
129 .BI \-L " volume-label"
130 set the volume label of the filesystem.
131 Ext2 filesystem labels can be at most 16 characters long; if
133 is longer than 16 characters,
135 will truncate it and print a warning message.
137 .BI \-M " last-mounted-directory"
138 set the last-mounted directory for the filesystem.
140 .BI \-O " \fR[^]\fIfeature\fR[,...]"
141 set or clear the indicated filesystem features (options) in the filesystem.
143 can be one of the following supported filesystem options:
145 which will cause the filesystem to use sparse superblocks, and
147 which will cause the filesystem to store file type information in
148 directory entries. After setting or clearing either filesystem feature,
149 e2fsck must be run on the filesystem.
152 set the UUID of the filesystem. A sample UUID looks like this:
153 "c1b9d5a2-f162-11cf-9ece-0020afc76f16". The uuid may also be
155 which will set the filesystem UUID to the null UUID. The uuid may also be
157 which will generate a new random UUID for the filesystem.
159 We haven't found any bugs yet. Perhaps there are bugs but it's unlikely.
161 Never use tune2fs to change parameters of a read/write mounted filesystem!
164 You're modifying a filesystem!
167 was written by Remy Card <Remy.Card@linux.org>.
169 uses the ext2fs library written by Theodore Ts'o <tytso@mit.edu>.
170 This manual page was written by Christian Kuhtz <chk@data-hh.Hanse.DE>.
171 Timedependent checking was added by Uwe Ohse <uwe@tirka.gun.de>.
174 is part of the e2fsprogs package and is available for anonymous
175 ftp from tsx-11.mit.edu in /pub/linux/packages/ext2fs.