Whamcloud - gitweb
ee123d28cce1e03ae20d425a07d8b7bc1be0f8db
[tools/e2fsprogs.git] / misc / tune2fs.8.in
1 .\" Revision 1.0 93/06/3 23:00  chk
2 .\" Initial revision
3 .\"
4 .\"
5 .TH TUNE2FS 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
6 .SH NAME
7 tune2fs \- adjust tunable filesystem parameters on second extended filesystems
8 .SH SYNOPSIS
9 .B tune2fs
10 [
11 .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
40 ]
41 device
42 .SH DESCRIPTION
43 .BI tune2fs
44 adjusts 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
51 adjust the maximal mounts count between two filesystem checks.
52 .TP
53 .I -e errors-behavior
54 change the behavior of the kernel code when errors are detected.
55 .I errors-behavior
56 can 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
64 .I -g group
65 set the user group which can benefit from the reserved blocks.
66 .br
67 .I group
68 can be a numerical gid or a group name.
69 .TP
70 .I -i interval-between-checks[d|m|w]
71 adjust the maximal time between two filesystem checks. 
72 No postfix or `d' result in days, `m' in months, and `w' in weeks.
73 A value of zero will disable the timedependent checking.
74 .TP
75 .I -l
76 list the contents of the filesystem superblock.
77 .TP
78 .I -m reserved-blocks-percentage
79 adjust the reserved blocks percentage on the given device.
80 .TP
81 .I -r reserved-blocks-count
82 adjust the reserved blocks count on the given device.
83 .TP
84 .I -u user
85 set the user who can benefit from the reserved blocks.
86 .I user
87 can be a numerical uid or a user name.
88 .PP
89 .SH BUGS
90 We 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 
96 has been written by Remy Card <card@masi.ibp.fr>, the developer and maintainer
97 of the ext2 fs.
98 .br
99 .B tune2fs
100 uses the ext2fs library written by Theodore Ts'o <tytso@mit.edu>.
101 .br
102 This manual page was written by Christian Kuhtz <chk@data-hh.Hanse.DE>.
103 .br
104 Timedependent checking was added by Uwe Ohse <uwe@tirka.gun.de>.
105 .SH AVAILABILITY
106 .B tune2fs
107 is available for anonymous ftp from ftp.ibp.fr and tsx-11.mit.edu in
108 /pub/linux/packages/ext2fs.
109 .SH SEE ALSO
110 .BR dumpe2fs (8),
111 .BR e2fsck (8),
112 .BR mke2fs (8)