aboutsummaryrefslogtreecommitdiffstats
path: root/misc/tune2fs.8
blob: a3cbf35b8c095873029540d16a4df84994462d13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
.\" Revision 1.0 93/06/3 23:00  chk
.\" Initial revision
.\"
.\"
.TH TUNE2FS 8 "November 1994" "Version 0.5b"

.SH NAME
tune2fs \- adjust tunable filesystem parameters on second extended filesystems
.SH SYNOPSIS
.B tune2fs
[
.B -l
]
[
.B -c
.I max-mount-counts
]
[
.B -e
.I errors-behavior
]
[
.B -i
.I interval-between-checks
]
[
.B -m
.I reserved-blocks-percentage
]
[
.B -r
.I reserved-blocks-count
]
[
.B -u
.I user
]
[
.B -g
.I group
]
device
.SH DESCRIPTION
.BI tune2fs
adjusts tunable filesystem parameters on a Linux second extended filesystem.
.PP
.B Never use tune2fs on a read/write mounted filesystem to change parameters!
.PP
.SH OPTIONS
.TP
.I -c max-mount-counts
adjust the maximal mounts count between two filesystem checks.
.TP
.I -e errors-behavior
change the behavior of the kernel code when errors are detected.
.I errors-behavior
can be one of the followings:
.br
\	continue\	\	Continue normal execution.
.br
\	remount-ro\	Remount the filesystem read-only.
.br
\	panic\	\	Causes a kernel panic.
.TP
.I -g group
set the user group which can benefit from the reserved blocks.
.br
.I group
can be a numerical gid or a group name.
.TP
.I -i interval-between-checks[d|m|w]
adjust the maximal time between two filesystem checks. 
No postfix or `d' result in days, `m' in months, and `w' in weeks.
A value of zero will disable the timedependent checking.
.TP
.I -l
list the contents of the filesystem superblock.
.TP
.I -m reserved-blocks-percentage
adjust the reserved blocks percentage on the given device.
.TP
.I -r reserved-blocks-count
adjust the reserved blocks count on the given device.
.TP
.I -u user
set the user who can benefit from the reserved blocks.
.I user
can be a numerical uid or a user name.
.PP
.SH BUGS
We didn't find any bugs yet. Perhaps there are bugs but it's unlikely.
.PP
.SH WARNING
.B Use this utility on your own risk. You're modifying filesystems.
.SH AUTHOR
.B tune2fs 
has been written by Remy Card <card@masi.ibp.fr>, the developer and maintainer
of the ext2 fs.
.br
.B tune2fs
uses the ext2fs library written by Theodore T'so <tytso@mit.edu>.
.br
This manual page was written by Christian Kuhtz <chk@data-hh.Hanse.DE>.
.br
Timedependent checking was added by Uwe Ohse <uwe@tirka.gun.de>.
.SH AVAILABILITY
.B tune2fs
is available for anonymous ftp from ftp.ibp.fr and tsx-11.mit.edu in
/pub/linux/packages/ext2fs.
.SH SEE ALSO
.BR dumpe2fs (8),
.BR e2fsck (8),
.BR mke2fs (8)