Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 1 | .\" -*- nroff -*- |
Theodore Ts'o | 50e1e10 | 1997-04-26 13:58:21 +0000 | [diff] [blame] | 2 | .\" Copyright 1993, 1994, 1995 by Theodore Ts'o. All Rights Reserved. |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 3 | .\" This file may be copied under the terms of the GNU Public License. |
| 4 | .\" |
Theodore Ts'o | 74becf3 | 1997-04-26 14:37:06 +0000 | [diff] [blame] | 5 | .TH E2FSCK 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@" |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 6 | .SH NAME |
Theodore Ts'o | a7ac1df | 2003-08-24 17:56:41 -0400 | [diff] [blame] | 7 | e2fsck \- check a Linux ext2/ext3 file system |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 8 | .SH SYNOPSIS |
| 9 | .B e2fsck |
| 10 | [ |
Theodore Ts'o | 1a855cb | 2007-08-10 23:58:56 -0400 | [diff] [blame^] | 11 | .B \-pacnyrdfkvtDFV |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 12 | ] |
| 13 | [ |
| 14 | .B \-b |
| 15 | .I superblock |
| 16 | ] |
| 17 | [ |
| 18 | .B \-B |
| 19 | .I blocksize |
| 20 | ] |
| 21 | [ |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 22 | .BR \-l | \-L |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 23 | .I bad_blocks_file |
| 24 | ] |
Theodore Ts'o | efac9a1 | 1998-05-07 05:02:00 +0000 | [diff] [blame] | 25 | [ |
| 26 | .B \-C |
| 27 | .I fd |
| 28 | ] |
Theodore Ts'o | adee8d7 | 2001-07-23 00:17:49 -0400 | [diff] [blame] | 29 | @JDEV@[ |
| 30 | @JDEV@.B \-j |
| 31 | @JDEV@.I external-journal |
| 32 | @JDEV@] |
Theodore Ts'o | 0684a4f | 2002-08-17 10:19:44 -0400 | [diff] [blame] | 33 | [ |
| 34 | .B \-E |
| 35 | .I extended_options |
| 36 | ] |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 37 | .I device |
| 38 | .SH DESCRIPTION |
| 39 | .B e2fsck |
Theodore Ts'o | f044b4d | 2002-08-17 13:32:21 -0400 | [diff] [blame] | 40 | is used to check a Linux second extended file system (ext2fs). |
| 41 | .B E2fsck |
| 42 | also |
Theodore Ts'o | 8139367 | 2005-04-16 14:05:09 -0400 | [diff] [blame] | 43 | supports ext2 filesystems containing a journal, which are |
Theodore Ts'o | f044b4d | 2002-08-17 13:32:21 -0400 | [diff] [blame] | 44 | also sometimes known as ext3 filesystems, by first applying the journal |
| 45 | to the filesystem before continuing with normal |
| 46 | .B e2fsck |
| 47 | processing. After the journal has been applied, a filesystem will |
| 48 | normally be marked as clean. Hence, for ext3 filesystems, |
| 49 | .B e2fsck |
| 50 | will normally run the journal and exit, unless its superblock |
| 51 | indicates that further checking is required. |
Theodore Ts'o | 1e9a7e0 | 2001-11-24 16:40:57 -0500 | [diff] [blame] | 52 | .PP |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 53 | .I device |
Theodore Ts'o | 1e9a7e0 | 2001-11-24 16:40:57 -0500 | [diff] [blame] | 54 | is the device file where the filesystem is stored (e.g. |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 55 | .IR /dev/hdc1 ). |
Theodore Ts'o | 73d1d49 | 2005-06-19 21:04:12 -0400 | [diff] [blame] | 56 | .PP |
| 57 | Note that in general it is not safe to run |
| 58 | .B e2fsck |
| 59 | on mounted filesystems. The only exception is if the |
| 60 | .B \-n |
| 61 | option is specified, and |
| 62 | .BR \-c , |
| 63 | .BR \-l , |
| 64 | or |
| 65 | .B -L |
| 66 | options are |
| 67 | .I not |
| 68 | specified. However, even if it is safe to do so, the results printed by |
| 69 | .B e2fsck |
| 70 | are not valid if the filesystem is mounted. If |
| 71 | .B e2fsck |
| 72 | asks whether or not you should check a filesystem which is mounted, |
| 73 | the only correct answer is ``no''. Only experts who really know what |
Theodore Ts'o | 5fb86b4 | 2005-06-20 08:24:28 -0400 | [diff] [blame] | 74 | they are doing should consider answering this question in any other way. |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 75 | .SH OPTIONS |
| 76 | .TP |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 77 | .B \-a |
Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 78 | This option does the same thing as the |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 79 | .B \-p |
Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 80 | option. It is provided for backwards compatibility only; it is |
| 81 | suggested that people use |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 82 | .B \-p |
Theodore Ts'o | 583ccdc | 1997-05-09 03:06:31 +0000 | [diff] [blame] | 83 | option whenever possible. |
Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 84 | .TP |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 85 | .BI \-b " superblock" |
Theodore Ts'o | 24dd402 | 1998-02-01 00:16:40 +0000 | [diff] [blame] | 86 | Instead of using the normal superblock, use an alternative superblock |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 87 | specified by |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 88 | .IR superblock . |
| 89 | This option is normally used when the primary superblock has been |
Theodore Ts'o | a1ccadb | 1999-11-23 13:57:16 +0000 | [diff] [blame] | 90 | corrupted. The location of the backup superblock is dependent on the |
| 91 | filesystem's blocksize. For filesystems with 1k blocksizes, a backup |
| 92 | superblock can be found at block 8193; for filesystems with 2k |
Theodore Ts'o | 5f629b7 | 2001-05-01 20:01:08 +0000 | [diff] [blame] | 93 | blocksizes, at block 16384; and for 4k blocksizes, at block 32768. |
| 94 | .IP |
| 95 | Additional backup superblocks can be determined by using the |
| 96 | .B mke2fs |
| 97 | program using the |
| 98 | .B \-n |
| 99 | option to print out where the superblocks were created. The |
| 100 | .B \-b |
| 101 | option to |
| 102 | .BR mke2fs , |
| 103 | which specifies blocksize of the filesystem must be specified in order |
| 104 | for the superblock locations that are printed out to be accurate. |
| 105 | .IP |
| 106 | If an alternative superblock is specified and |
Theodore Ts'o | 24dd402 | 1998-02-01 00:16:40 +0000 | [diff] [blame] | 107 | the filesystem is not opened read-only, e2fsck will make sure that the |
| 108 | primary superblock is updated appropriately upon completion of the |
| 109 | filesystem check. |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 110 | .TP |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 111 | .BI \-B " blocksize" |
Theodore Ts'o | 583ccdc | 1997-05-09 03:06:31 +0000 | [diff] [blame] | 112 | Normally, |
| 113 | .B e2fsck |
| 114 | will search for the superblock at various different |
| 115 | block sizes in an attempt to find the appropriate block size. |
| 116 | This search can be fooled in some cases. This option forces |
| 117 | .B e2fsck |
| 118 | to only try locating the superblock at a particular blocksize. |
| 119 | If the superblock is not found, |
| 120 | .B e2fsck |
| 121 | will terminate with a fatal error. |
Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 122 | .TP |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 123 | .B \-c |
Theodore Ts'o | 583ccdc | 1997-05-09 03:06:31 +0000 | [diff] [blame] | 124 | This option causes |
| 125 | .B e2fsck |
Theodore Ts'o | bba44f9 | 2005-12-09 18:18:06 -0500 | [diff] [blame] | 126 | to use |
Theodore Ts'o | 74becf3 | 1997-04-26 14:37:06 +0000 | [diff] [blame] | 127 | .BR badblocks (8) |
Theodore Ts'o | bba44f9 | 2005-12-09 18:18:06 -0500 | [diff] [blame] | 128 | program to do a read-only scan of the device in order to find any bad |
| 129 | blocks. If any bad blocks are found, they are added to the bad block |
| 130 | inode to prevent them from being allocated to a file or directory. If |
| 131 | this option is specified twice, then the bad block scan will be done |
Theodore Ts'o | 3ed57c2 | 2001-12-24 15:01:59 -0500 | [diff] [blame] | 132 | using a non-destructive read-write test. |
Theodore Ts'o | 74becf3 | 1997-04-26 14:37:06 +0000 | [diff] [blame] | 133 | .TP |
Theodore Ts'o | 77be4d2 | 2003-03-06 12:39:55 -0500 | [diff] [blame] | 134 | .BI \-C " fd" |
Theodore Ts'o | efac9a1 | 1998-05-07 05:02:00 +0000 | [diff] [blame] | 135 | This option causes |
| 136 | .B e2fsck |
| 137 | to write completion information to the specified file descriptor |
| 138 | so that the progress of the filesystem |
Theodore Ts'o | 5596def | 1999-07-19 15:27:37 +0000 | [diff] [blame] | 139 | check can be monitored. This option is typically used by programs |
| 140 | which are running |
| 141 | .BR e2fsck . |
| 142 | If the file descriptor specified is 0, |
Theodore Ts'o | efac9a1 | 1998-05-07 05:02:00 +0000 | [diff] [blame] | 143 | .B e2fsck |
Theodore Ts'o | 5596def | 1999-07-19 15:27:37 +0000 | [diff] [blame] | 144 | will print a completion bar as it goes about its business. This requires |
| 145 | that e2fsck is running on a video console or terminal. |
Theodore Ts'o | efac9a1 | 1998-05-07 05:02:00 +0000 | [diff] [blame] | 146 | .TP |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 147 | .B \-d |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 148 | Print debugging output (useless unless you are debugging |
Theodore Ts'o | 583ccdc | 1997-05-09 03:06:31 +0000 | [diff] [blame] | 149 | .BR e2fsck ). |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 150 | .TP |
Theodore Ts'o | 850d05e | 2002-07-25 00:00:08 -0400 | [diff] [blame] | 151 | .B \-D |
| 152 | Optimize directories in filesystem. This option causes e2fsck to |
| 153 | try to optimize all directories, either by reindexing them if the |
| 154 | filesystem supports directory indexing, or by sorting and compressing |
| 155 | directories for smaller directories, or for filesystems using |
| 156 | traditional linear directories. |
| 157 | .TP |
Theodore Ts'o | 0684a4f | 2002-08-17 10:19:44 -0400 | [diff] [blame] | 158 | .BI \-E " extended_options" |
| 159 | Set e2fsck extended options. Extended options are comma |
| 160 | separated, and may take an argument using the equals ('=') sign. The |
| 161 | following options are supported: |
| 162 | .RS 1.2i |
| 163 | .TP |
| 164 | .BI ea_ver= extended_attribute_version |
| 165 | Assume the format of the extended attribute blocks in the filesystem is |
| 166 | the specified version number. The version number may be 1 or 2. The |
| 167 | default extended attribute version format is 2. |
| 168 | .RE |
| 169 | .TP |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 170 | .B \-f |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 171 | Force checking even if the file system seems clean. |
| 172 | .TP |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 173 | .B \-F |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 174 | Flush the filesystem device's buffer caches before beginning. Only |
Theodore Ts'o | 583ccdc | 1997-05-09 03:06:31 +0000 | [diff] [blame] | 175 | really useful for doing |
| 176 | .B e2fsck |
| 177 | time trials. |
Theodore Ts'o | adee8d7 | 2001-07-23 00:17:49 -0400 | [diff] [blame] | 178 | @JDEV@.TP |
| 179 | @JDEV@.BI \-j " external-journal" |
| 180 | @JDEV@Set the pathname where the external-journal for this filesystem can be |
| 181 | @JDEV@found. |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 182 | .TP |
Theodore Ts'o | 4fb9d52 | 2004-02-24 00:16:09 -0500 | [diff] [blame] | 183 | .BI \-k |
| 184 | When combined with the |
| 185 | .B \-c |
| 186 | option, any existing bad blocks in the bad blocks list are preserved, |
| 187 | and any new bad blocks found by running |
| 188 | .BR badblocks (8) |
| 189 | will be added to the existing bad blocks list. |
| 190 | .TP |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 191 | .BI \-l " filename" |
Theodore Ts'o | 3ed57c2 | 2001-12-24 15:01:59 -0500 | [diff] [blame] | 192 | Add the block numbers listed in the file specified by |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 193 | .I filename |
Theodore Ts'o | 4313932 | 1998-02-16 22:34:46 +0000 | [diff] [blame] | 194 | to the list of bad blocks. The format of this file is the same as the |
| 195 | one generated by the |
| 196 | .BR badblocks (8) |
Theodore Ts'o | 3ed57c2 | 2001-12-24 15:01:59 -0500 | [diff] [blame] | 197 | program. Note that the block numbers are based on the blocksize |
| 198 | of the filesystem. Hence, |
| 199 | .BR badblocks (8) |
| 200 | must be given the blocksize of the filesystem in order to obtain correct |
| 201 | results. As a result, it is much simpler and safer to use the |
| 202 | .B -c |
| 203 | option to |
| 204 | .BR e2fsck , |
| 205 | since it will assure that the correct parameters are passed to the |
| 206 | .B badblocks |
Theodore Ts'o | 4313932 | 1998-02-16 22:34:46 +0000 | [diff] [blame] | 207 | program. |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 208 | .TP |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 209 | .BI \-L " filename" |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 210 | Set the bad blocks list to be the list of blocks specified by |
| 211 | .IR filename . |
| 212 | (This option is the same as the |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 213 | .B \-l |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 214 | option, except the bad blocks list is cleared before the blocks listed |
| 215 | in the file are added to the bad blocks list.) |
| 216 | .TP |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 217 | .B \-n |
| 218 | Open the filesystem read-only, and assume an answer of `no' to all |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 219 | questions. Allows |
| 220 | .B e2fsck |
| 221 | to be used non-interactively. (Note: if the |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 222 | .BR \-c , |
| 223 | .BR \-l , |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 224 | or |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 225 | .B \-L |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 226 | options are specified in addition to the |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 227 | .B \-n |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 228 | option, then the filesystem will be opened read-write, to permit the |
| 229 | bad-blocks list to be updated. However, no other changes will be made |
Theodore Ts'o | 84d3518 | 2005-12-09 17:28:56 -0500 | [diff] [blame] | 230 | to the filesystem.) This option |
| 231 | may not be specified at the same time as the |
| 232 | .B \-p |
| 233 | or |
| 234 | .B \-y |
| 235 | options. |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 236 | .TP |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 237 | .B \-p |
Theodore Ts'o | 84d3518 | 2005-12-09 17:28:56 -0500 | [diff] [blame] | 238 | Automatically repair ("preen") the file system. This option will case |
| 239 | .B e2fsck |
| 240 | to automatically |
| 241 | fix any filesystem problems that can be safely fixed without human |
| 242 | intervention. If |
| 243 | .B e2fsck |
| 244 | discovers a problem which may require the system administrator |
| 245 | to take additional corrective action, |
| 246 | .B e2fsck |
| 247 | will print a description of the problem and then exit with the value 4 |
| 248 | logically or'ed into the exit code. (See the \fBEXIT CODE\fR section.) |
| 249 | This option is normally used by the system's boot scripts. It may not |
| 250 | be specified at the same time as the |
| 251 | .B \-n |
| 252 | or |
| 253 | .B \-y |
| 254 | options. |
Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 255 | .TP |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 256 | .B \-r |
Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 257 | This option does nothing at all; it is provided only for backwards |
| 258 | compatibility. |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 259 | .TP |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 260 | .B \-t |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 261 | Print timing statistics for |
| 262 | .BR e2fsck . |
| 263 | If this option is used twice, additional timing statistics are printed |
| 264 | on a pass by pass basis. |
| 265 | .TP |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 266 | .B \-v |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 267 | Verbose mode. |
| 268 | .TP |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 269 | .B \-V |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 270 | Print version information and exit. |
| 271 | .TP |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 272 | .B \-y |
| 273 | Assume an answer of `yes' to all questions; allows |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 274 | .B e2fsck |
Theodore Ts'o | 84d3518 | 2005-12-09 17:28:56 -0500 | [diff] [blame] | 275 | to be used non-interactively. This option |
| 276 | may not be specified at the same time as the |
| 277 | .B \-n |
| 278 | or |
| 279 | .B \-p |
| 280 | options. |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 281 | .SH EXIT CODE |
| 282 | The exit code returned by |
| 283 | .B e2fsck |
| 284 | is the sum of the following conditions: |
| 285 | .br |
| 286 | \ 0\ \-\ No errors |
| 287 | .br |
| 288 | \ 1\ \-\ File system errors corrected |
| 289 | .br |
| 290 | \ 2\ \-\ File system errors corrected, system should |
| 291 | .br |
Theodore Ts'o | 4cae045 | 2002-07-21 14:14:03 -0400 | [diff] [blame] | 292 | \ \ \ \ be rebooted |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 293 | .br |
| 294 | \ 4\ \-\ File system errors left uncorrected |
| 295 | .br |
| 296 | \ 8\ \-\ Operational error |
| 297 | .br |
| 298 | \ 16\ \-\ Usage or syntax error |
| 299 | .br |
Theodore Ts'o | 4cae045 | 2002-07-21 14:14:03 -0400 | [diff] [blame] | 300 | \ 32\ \-\ E2fsck canceled by user request |
| 301 | .br |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 302 | \ 128\ \-\ Shared library error |
| 303 | .br |
Theodore Ts'o | 5596def | 1999-07-19 15:27:37 +0000 | [diff] [blame] | 304 | .SH SIGNALS |
| 305 | The following signals have the following effect when sent to |
| 306 | .BR e2fsck . |
| 307 | .TP |
| 308 | .B SIGUSR1 |
| 309 | This signal causes |
| 310 | .B e2fsck |
| 311 | to start displaying a completion bar. (See discussion of the |
Theodore Ts'o | caf8ce4 | 1999-10-21 19:56:34 +0000 | [diff] [blame] | 312 | .B \-C |
Theodore Ts'o | 5596def | 1999-07-19 15:27:37 +0000 | [diff] [blame] | 313 | option.) |
| 314 | .TP |
| 315 | .B SIGUSR2 |
| 316 | This signal causes |
| 317 | .B e2fsck |
| 318 | to stop displaying a completion bar. |
Theodore Ts'o | 5c57647 | 1997-04-29 15:29:49 +0000 | [diff] [blame] | 319 | .SH REPORTING BUGS |
Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 320 | Almost any piece of software will have bugs. If you manage to find a |
| 321 | filesystem which causes |
| 322 | .B e2fsck |
| 323 | to crash, or which |
| 324 | .B e2fsck |
| 325 | is unable to repair, please report it to the author. |
| 326 | .PP |
| 327 | Please include as much information as possible in your bug report. |
| 328 | Ideally, include a complete transcript of the |
| 329 | .B e2fsck |
Theodore Ts'o | 15f5051 | 2005-06-05 16:46:19 -0400 | [diff] [blame] | 330 | run, so I can see exactly what error messages are displayed. (Make sure |
| 331 | the messages printed by |
| 332 | .B e2fsck |
| 333 | are in English; if your system has been |
| 334 | configured so that |
| 335 | .BR e2fsck 's |
| 336 | messages have been translated into another language, please set the the |
| 337 | .B LC_ALL |
| 338 | environment variable to |
| 339 | .B C |
| 340 | so that the transcript of e2fsck's output will be useful to me.) |
| 341 | If you |
Theodore Ts'o | 8139367 | 2005-04-16 14:05:09 -0400 | [diff] [blame] | 342 | have a writable filesystem where the transcript can be stored, the |
Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 343 | .BR script (1) |
| 344 | program is a handy way to save the output of |
Theodore Ts'o | 583ccdc | 1997-05-09 03:06:31 +0000 | [diff] [blame] | 345 | .B e2fsck |
Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 346 | to a file. |
| 347 | .PP |
| 348 | It is also useful to send the output of |
| 349 | .BR dumpe2fs (8). |
| 350 | If a specific inode or inodes seems to be giving |
| 351 | .B e2fsck |
| 352 | trouble, try running the |
| 353 | .BR debugfs (8) |
| 354 | command and send the output of the |
Theodore Ts'o | 583ccdc | 1997-05-09 03:06:31 +0000 | [diff] [blame] | 355 | .BR stat (1u) |
| 356 | command run on the relevant inode(s). If the inode is a directory, the |
| 357 | .B debugfs |
Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 358 | .I dump |
| 359 | command will allow you to extract the contents of the directory inode, |
| 360 | which can sent to me after being first run through |
Theodore Ts'o | 15f5051 | 2005-06-05 16:46:19 -0400 | [diff] [blame] | 361 | .BR uuencode (1). |
| 362 | The most useful data you can send to help reproduce |
Theodore Ts'o | 9447f38 | 2006-05-22 17:59:37 -0400 | [diff] [blame] | 363 | the bug is a compressed raw image dump of the filesystem, generated using |
Theodore Ts'o | 15f5051 | 2005-06-05 16:46:19 -0400 | [diff] [blame] | 364 | .BR e2image (8). |
| 365 | See the |
| 366 | .BR e2image (8) |
| 367 | man page for more details. |
Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 368 | .PP |
| 369 | Always include the full version string which |
| 370 | .B e2fsck |
| 371 | displays when it is run, so I know which version you are running. |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 372 | .SH AUTHOR |
| 373 | This version of |
| 374 | .B e2fsck |
Theodore Ts'o | 583ccdc | 1997-05-09 03:06:31 +0000 | [diff] [blame] | 375 | was written by Theodore Ts'o <tytso@mit.edu>. |
Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 376 | .SH SEE ALSO |
Theodore Ts'o | cd84823 | 2006-03-27 12:10:07 -0500 | [diff] [blame] | 377 | .BR badblocks (8), |
Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 378 | .BR dumpe2fs (8), |
Theodore Ts'o | 15f5051 | 2005-06-05 16:46:19 -0400 | [diff] [blame] | 379 | .BR debugfs (8), |
Theodore Ts'o | cd84823 | 2006-03-27 12:10:07 -0500 | [diff] [blame] | 380 | .BR e2image (8), |
| 381 | .BR mke2fs (8), |
| 382 | .BR tune2fs (8) |