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
34 .B -s sparse-super-flag
54 .I last-mounted-directory
63 adjusts tunable filesystem parameters on a Linux second extended filesystem.
65 .B Never use tune2fs to change parameters of a read/write mounted filesystem!
69 .I -c max-mount-counts
70 adjust the maximal mounts count between two filesystem checks.
73 change the behavior of the kernel code when errors are detected.
75 can be one of the following:
77 \ continue\ \ Continue normal execution.
79 \ remount-ro\ Remount the filesystem read-only.
81 \ panic\ \ Cause a kernel panic.
84 set the user group which can benefit from the reserved blocks.
87 can be a numerical gid or a group name.
89 .I -i interval-between-checks[d|m|w]
90 adjust the maximal time between two filesystem checks.
91 No postfix or `d' result in days, `m' in months, and `w' in weeks.
92 A value of zero will disable the timedependent checking.
95 list the contents of the filesystem superblock.
97 .I -m reserved-blocks-percentage
98 adjust the reserved blocks percentage on the given device.
100 .I -r reserved-blocks-count
101 adjust the reserved blocks count on the given device.
103 .I -s sparse_super_flag
104 set or reset the sparse_superblock flag. The sparse_superblock feature
105 saves space on really big filesystems.
107 The Linux 2.0 kernel does not properly support this feature. Neither do
108 all Linux 2.1 kernels; please don't use this unless you know what you're
112 set the user who can benefit from the reserved blocks.
114 can be a numerical uid or a user name.
117 set the number of times the filesystem has been mounted.
120 set the volume label of the filesystem.
121 Ext2 filesystem labels can be at most 16 characters long; if
123 is longer than 16 characters,
125 will truncate it and print a warning message.
127 .I -M last-mounted-directory
128 set the last-mounted directory for the filesystem.
131 set the UUID of the filesystem. A sample UUID looks like this:
132 "c1b9d5a2-f162-11cf-9ece-0020afc76f16". The uuid may also be "null",
133 which will set the filesystem UUID to the null UUID. The uuid may also
134 be "random", which will generate a new random UUID for the filesystem.
137 We haven't found any bugs yet. Perhaps there are bugs but it's unlikely.
140 .B Use this utility at your own risk. You're modifying a filesystem!
143 was written by Remy Card <card@masi.ibp.fr>, the developer and maintainer
147 uses the ext2fs library written by Theodore Ts'o <tytso@mit.edu>.
149 This manual page was written by Christian Kuhtz <chk@data-hh.Hanse.DE>.
151 Timedependent checking was added by Uwe Ohse <uwe@tirka.gun.de>.
154 is part of the e2fsprogs package and is available for anonymous
155 ftp from tsx-11.mit.edu in /pub/linux/packages/ext2fs.