blob: ee123d28cce1e03ae20d425a07d8b7bc1be0f8db [file] [log] [blame]
Theodore Ts'o3839e651997-04-26 13:21:57 +00001.\" Revision 1.0 93/06/3 23:00 chk
2.\" Initial revision
3.\"
4.\"
Theodore Ts'o74becf31997-04-26 14:37:06 +00005.TH TUNE2FS 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
Theodore Ts'o3839e651997-04-26 13:21:57 +00006.SH NAME
7tune2fs \- adjust tunable filesystem parameters on second extended filesystems
8.SH SYNOPSIS
9.B tune2fs
10[
Theodore Ts'of3db3561997-04-26 13:34:30 +000011.B -l
12]
13[
14.B -c
15.I max-mount-counts
16]
17[
18.B -e
19.I errors-behavior
20]
21[
22.B -i
23.I interval-between-checks
24]
25[
26.B -m
27.I reserved-blocks-percentage
28]
29[
30.B -r
31.I reserved-blocks-count
32]
33[
34.B -u
35.I user
36]
37[
38.B -g
39.I group
Theodore Ts'o3839e651997-04-26 13:21:57 +000040]
41device
42.SH DESCRIPTION
43.BI tune2fs
44adjusts tunable filesystem parameters on a Linux second extended filesystem.
45.PP
46.B Never use tune2fs on a read/write mounted filesystem to change parameters!
47.PP
48.SH OPTIONS
49.TP
50.I -c max-mount-counts
51adjust the maximal mounts count between two filesystem checks.
52.TP
53.I -e errors-behavior
54change the behavior of the kernel code when errors are detected.
55.I errors-behavior
56can be one of the followings:
57.br
58\ continue\ \ Continue normal execution.
59.br
60\ remount-ro\ Remount the filesystem read-only.
61.br
62\ panic\ \ Causes a kernel panic.
63.TP
Theodore Ts'of3db3561997-04-26 13:34:30 +000064.I -g group
65set the user group which can benefit from the reserved blocks.
66.br
67.I group
68can be a numerical gid or a group name.
69.TP
70.I -i interval-between-checks[d|m|w]
Theodore Ts'o3839e651997-04-26 13:21:57 +000071adjust the maximal time between two filesystem checks.
Theodore Ts'of3db3561997-04-26 13:34:30 +000072No postfix or `d' result in days, `m' in months, and `w' in weeks.
Theodore Ts'o3839e651997-04-26 13:21:57 +000073A value of zero will disable the timedependent checking.
74.TP
75.I -l
76list the contents of the filesystem superblock.
77.TP
78.I -m reserved-blocks-percentage
79adjust the reserved blocks percentage on the given device.
Theodore Ts'of3db3561997-04-26 13:34:30 +000080.TP
81.I -r reserved-blocks-count
82adjust the reserved blocks count on the given device.
83.TP
84.I -u user
85set the user who can benefit from the reserved blocks.
86.I user
87can be a numerical uid or a user name.
Theodore Ts'o3839e651997-04-26 13:21:57 +000088.PP
89.SH BUGS
90We didn't find any bugs yet. Perhaps there are bugs but it's unlikely.
91.PP
92.SH WARNING
93.B Use this utility on your own risk. You're modifying filesystems.
94.SH AUTHOR
95.B tune2fs
96has been written by Remy Card <card@masi.ibp.fr>, the developer and maintainer
97of the ext2 fs.
98.br
99.B tune2fs
Theodore Ts'oa418d3a1997-04-26 14:00:26 +0000100uses the ext2fs library written by Theodore Ts'o <tytso@mit.edu>.
Theodore Ts'o3839e651997-04-26 13:21:57 +0000101.br
102This manual page was written by Christian Kuhtz <chk@data-hh.Hanse.DE>.
103.br
104Timedependent checking was added by Uwe Ohse <uwe@tirka.gun.de>.
105.SH AVAILABILITY
106.B tune2fs
Theodore Ts'of3db3561997-04-26 13:34:30 +0000107is available for anonymous ftp from ftp.ibp.fr and tsx-11.mit.edu in
108/pub/linux/packages/ext2fs.
Theodore Ts'o3839e651997-04-26 13:21:57 +0000109.SH SEE ALSO
110.BR dumpe2fs (8),
111.BR e2fsck (8),
112.BR mke2fs (8)