OSDN Git Service

build static version of mke2fs and e2fsdroid for host
[android-x86/external-e2fsprogs.git] / debugfs / debugfs.8.in
1 .\" -*- nroff -*-
2 .\" Copyright 1993, 1994, 1995 by Theodore Ts'o.  All Rights Reserved.
3 .\" This file may be copied under the terms of the GNU Public License.
4 .\"
5 .TH DEBUGFS 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
6 .SH NAME
7 debugfs \- ext2/ext3/ext4 file system debugger
8 .SH SYNOPSIS
9 .B debugfs
10 [
11 .B \-DVwcin
12 ]
13 [
14 .B \-b
15 blocksize
16 ]
17 [
18 .B \-s
19 superblock
20 ]
21 [
22 .B \-f
23 cmd_file
24 ]
25 [
26 .B \-R
27 request
28 ]
29 [
30 .B \-d
31 data_source_device
32 ]
33 [
34 .B \-z
35 .I undo_file
36 ]
37 [
38 device
39 ]
40 .SH DESCRIPTION
41 The
42 .B debugfs
43 program is an interactive file system debugger. It can be used to
44 examine and change the state of an ext2, ext3, or ext4 file system.
45 .PP
46 .I device
47 is a block device (e.g., /dev/sdXX) or a file containing the file system.
48 .SH OPTIONS
49 .TP
50 .I \-w
51 Specifies that the file system should be opened in read-write mode.
52 Without this option, the file system is opened in read-only mode.
53 .TP
54 .I \-n
55 Disables metadata checksum verification.  This should only be used if
56 you believe the metadata to be correct despite the complaints of
57 e2fsprogs.
58 .TP
59 .I \-c
60 Specifies that the file system should be opened in catastrophic mode, in
61 which the inode and group bitmaps are not read initially.  This can be
62 useful for filesystems with significant corruption, but because of this,
63 catastrophic mode forces the filesystem to be opened read-only.
64 .TP
65 .I \-i
66 Specifies that
67 .I device
68 represents an ext2 image file created by the
69 .B e2image
70 program.  Since the ext2 image file only contains the superblock, block
71 group descriptor, block and inode allocation bitmaps, and
72 the inode table, many
73 .B debugfs
74 commands will not function properly.
75 .B Warning:
76 no safety checks are in place, and
77 .B debugfs
78 may fail in interesting ways if commands such as
79 .IR ls ", " dump ", "
80 etc. are tried without specifying the
81 .I data_source_device
82 using the
83 .I \-d
84 option.
85 .B debugfs
86 is a debugging tool.  It has rough edges!
87 .TP
88 .I -d data_source_device
89 Used with the
90 .I \-i
91 option, specifies that
92 .I data_source_device
93 should be used when reading blocks not found in the ext2 image file.
94 This includes data, directory, and indirect blocks.
95 .TP
96 .I -b blocksize
97 Forces the use of the given block size (in bytes) for the file system,
98 rather than detecting the correct block size automatically.  (This
99 option is rarely needed; it is used primarily when the file system is
100 extremely badly damaged/corrupted.)
101 .TP
102 .I -s superblock
103 Causes the file system superblock to be read from the given block
104 number, instead of using the primary superblock (located at an offset of
105 1024 bytes from the beginning of the filesystem).  If you specify the
106 .I -s
107 option, you must also provide the blocksize of the filesystem via the
108 .I -b
109 option.   (This
110 option is rarely needed; it is used primarily when the file system is
111 extremely badly damaged/corrupted.)
112 .TP
113 .I -f cmd_file
114 Causes
115 .B debugfs
116 to read in commands from
117 .IR cmd_file ,
118 and execute them.  When
119 .B debugfs
120 is finished executing those commands, it will exit.
121 .TP
122 .I -D
123 Causes
124 .B debugfs
125 to open the device using Direct I/O, bypassing the buffer cache.  Note
126 that some Linux devices, notably device mapper as of this writing, do
127 not support Direct I/O.
128 .TP
129 .I -R request
130 Causes
131 .B debugfs
132 to execute the single command
133 .IR request ,
134 and then exit.
135 .TP
136 .I -V
137 print the version number of
138 .B debugfs
139 and exit.
140 .TP
141 .BI \-z " undo_file"
142 Before overwriting a file system block, write the old contents of the block to
143 an undo file.  This undo file can be used with e2undo(8) to restore the old
144 contents of the file system should something go wrong.  If the empty string is
145 passed as the undo_file argument, the undo file will be written to a file named
146 resize2fs-\fIdevice\fR.e2undo in the directory specified via the
147 \fIE2FSPROGS_UNDO_DIR\fR environment variable.
148
149 WARNING: The undo file cannot be used to recover from a power or system crash.
150 .SH SPECIFYING FILES
151 Many
152 .B debugfs
153 commands take a
154 .I filespec
155 as an argument to specify an inode (as opposed to a pathname)
156 in the filesystem which is currently opened by
157 .BR debugfs .
158 The
159 .I filespec
160 argument may be specified in two forms.  The first form is an inode
161 number surrounded by angle brackets, e.g.,
162 .IR <2> .
163 The second form is a pathname; if the pathname is prefixed by a forward slash
164 ('/'), then it is interpreted relative to the root of the filesystem
165 which is currently opened by
166 .BR debugfs .
167 If not, the pathname is
168 interpreted relative to the current working directory as maintained by
169 .BR debugfs .
170 This may be modified by using the
171 .B debugfs
172 command
173 .IR cd .
174 .\"
175 .\"
176 .\"
177 .SH COMMANDS
178 This is a list of the commands which
179 .B debugfs
180 supports.
181 .TP
182 .BI blocks " filespace"
183 Print the blocks used by the inode
184 .I filespec
185 to stdout.
186 .TP
187 .BI bmap " [ -a ] filespec logical_block [physical_block]"
188 Print or set the physical block number corresponding to the logical block number
189 .I logical_block
190 in the inode
191 .IR filespec .
192 If the
193 .I -a
194 flag is specified, try to allocate a block if necessary.
195 .TP
196 .BI block_dump " [-f filespec] block_num"
197 Dump the filesystem block given by
198 .I block_num
199 in hex and ASCII format to the console.  If the
200 .I -f
201 option is specified, the block number is relative to the start of the given
202 .BR filespec .
203 .TP
204 .BI cat " filespec"
205 Dump the contents of the inode
206 .I filespec
207 to stdout.
208 .TP
209 .BI cd " filespec"
210 Change the current working directory to
211 .IR filespec .
212 .TP
213 .BI chroot " filespec"
214 Change the root directory to be the directory
215 .IR filespec .
216 .TP
217 .BI close " [-a]"
218 Close the currently open file system.  If the
219 .I -a
220 option is specified, write out any changes to the superblock and block
221 group descriptors to all of the backup superblocks, not just to the
222 master superblock.
223 .TP
224 .BI clri " filespec"
225 Clear the contents of the inode
226 .IR filespec .
227 .TP
228 .BI copy_inode " source_inode destination_inode"
229 Copy the conents of the inode structure in
230 .I source_inode
231 and use it to overwrite the inode structure at
232 .IR destination_inode .
233 .TP
234 .BI dirsearch " filespec filename"
235 Search the directory
236 .I filespec
237 for
238 .IR filename .
239 .TP
240 .B dirty
241 Mark the filesystem as dirty, so that the superblocks will be written on exit.
242 .TP
243 .BI dump " [-p] filespec out_file"
244 Dump the contents of the inode
245 .I filespec
246 to the output file
247 .IR out_file .
248 If the
249 .I -p
250 option is given set the owner, group and permissions information on
251 .I out_file
252 to match
253 .IR filespec .
254 .TP
255 .BI dump_mmp " [mmp_block]"
256 Display the multiple-mount protection (mmp) field values.  If
257 .I mmp_block
258 is specified then verify and dump the MMP values from the given block
259 number, otherwise use the
260 .B s_mmp_block
261 field in the superblock to locate and use the existing MMP block.
262 .TP
263 .BI dx_hash " [-h hash_alg] [-s hash_seed] filename"
264 Calculate the directory hash of
265 .IR filename .
266 The hash algorithm specified with
267 .I -h
268 may be
269 .BR legacy , " half_md4" ", or " tea .
270 The hash seed specified with
271 .I -s
272 must be in UUID format.
273 .TP
274 .BI dump_extents " [-n] [-l] filespec"
275 Dump the the extent tree of the inode
276 .IR filespec .
277 The
278 .I -n
279 flag will cause
280 .B dump_extents
281 to only display the interior nodes in the extent tree.   The
282 .I -l
283 flag will cause
284 .B dump_extents
285 to only display the leaf nodes in the extent tree.
286 .IP
287 (Please note that the length and range of blocks for the last extent in
288 an interior node is an estimate by the extents library functions, and is
289 not stored in filesystem data structures.   Hence, the values displayed
290 may not necessarily by accurate and does not indicate a problem or
291 corruption in the file system.)
292 .TP
293 .BI ea_get " [-f outfile] filespec attr_name"
294 Retrieve the value of the extended attribute
295 .I attr_name
296 in the file
297 .I filespec
298 and write it either to stdout or to \fIoutfile\fR.
299 .TP
300 .BI ea_list " filespec
301 List the extended attributes associated with the file
302 .I filespec
303 to standard output.
304 .TP
305 .BI ea_set " [-f infile] filespec attr_name attr_value
306 Set the value of the extended attribute
307 .I attr_name
308 in the file
309 .I filespec
310 to the string value
311 .I attr_value
312 or read it from \fIinfile\fR.
313 .TP
314 .BI ea_rm " filespec attr_names...
315 Remove the extended attribute
316 .I attr_name
317 from the file \fIfilespec\fR.
318 .TP
319 .BI expand_dir " filespec"
320 Expand the directory
321 .IR filespec .
322 .TP
323 .BI fallocate " filespec start_block [end_block]
324 Allocate and map uninitialized blocks into \fIfilespec\fR between
325 logical block \fIstart_block\fR and \fIend_block\fR, inclusive.  If
326 \fIend_block\fR is not supplied, this function maps until it runs out
327 of free disk blocks or the maximum file size is reached.  Existing
328 mappings are left alone.
329 .TP
330 .BI feature " [fs_feature] [-fs_feature] ..."
331 Set or clear various filesystem features in the superblock.  After setting
332 or clearing any filesystem features that were requested, print the current
333 state of the filesystem feature set.
334 .TP
335 .BI filefrag " [-dvr] filespec"
336 Print the number of contiguous extents in
337 .IR filespec .
338 If
339 .I filespec
340 is a directory and the
341 .I -d
342 option is not specified,
343 .I filefrag
344 will print the number of contiguous extents for each file in
345 the directory.  The
346 .I -v
347 option will cause
348 .I filefrag
349 print a tabular listing of the contiguous extents in the
350 file.  The
351 .I -r
352 option will cause
353 .I filefrag
354 to do a recursive listing of the directory.
355 .TP
356 .BI find_free_block " [count [goal]]"
357 Find the first
358 .I count
359 free blocks, starting from
360 .I goal
361 and allocate it.  Also available as
362 .BR ffb .
363 .TP
364 .BI find_free_inode " [dir [mode]]"
365 Find a free inode and allocate it.  If present,
366 .I dir
367 specifies the inode number of the directory
368 which the inode is to be located.  The second
369 optional argument
370 .I mode
371 specifies the permissions of the new inode.  (If the directory bit is set
372 on the mode, the allocation routine will function differently.)  Also
373 available as
374 .BR ffi .
375 .TP
376 .BI freeb " block [count]"
377 Mark the block number
378 .I block
379 as not allocated.
380 If the optional argument
381 .I count
382 is present, then
383 .I count
384 blocks starting at block number
385 .I block
386 will be marked as not allocated.
387 .TP
388 .BI freefrag " [-c chunk_kb]"
389 Report free space fragmentation on the currently open file system.
390 If the
391 .I \-c
392 option is specified then the filefrag command will print how many free
393 chunks of size
394 .I chunk_kb
395 can be found in the file system.  The chunk size must be a power of two
396 and be larger than the file system block size.
397 .TP
398 .BI freei " filespec [num]"
399 Free the inode specified by
400 .IR filespec .
401 If
402 .I num
403 is specified, also clear num-1 inodes after the specified inode.
404 .TP
405 .B help
406 Print a list of commands understood by
407 .BR debugfs .
408 .TP
409 .BI htree_dump " filespec"
410 Dump the hash-indexed directory
411 .IR filespec ,
412 showing its tree structure.
413 .TP
414 .BI icheck " block ..."
415 Print a listing of the inodes which use the one or more blocks specified
416 on the command line.
417 .TP
418 .BI inode_dump " filespec"
419 Print the contents of the inode data structure in hex and ASCII format.
420 .TP
421 .BI imap " filespec"
422 Print the location of the inode data structure (in the inode table)
423 of the inode
424 .IR filespec .
425 .TP
426 .BI init_filesys " device blocksize"
427 Create an ext2 file system on
428 .I device
429 with device size
430 .IR blocksize .
431 Note that this does not fully initialize all of the data structures;
432 to do this, use the
433 .BR mke2fs (8)
434 program.  This is just a call to the low-level library, which sets up
435 the superblock and block descriptors.
436 .TP
437 .BI journal_close
438 Close the open journal.
439 .TP
440 .BI journal_open " [-c] [-v ver] [-j ext_jnl]
441 Opens the journal for reading and writing.  Journal checksumming can
442 be enabled by supplying \fI-c\fR; checksum formats 2 and 3 can be
443 selected with the \fI-v\fR option.  An external journal can be loaded
444 from \fIext_jnl\fR.
445 .TP
446 .BI journal_run
447 Replay all transactions in the open journal.
448 .TP
449 .BI journal_write " [-b blocks] [-r revoke] [-c] file
450 Write a transaction to the open journal.  The list of blocks to write
451 should be supplied as a comma-separated list in \fIblocks\fR; the
452 blocks themselves should be readable from \fIfile\fR.  A list of
453 blocks to revoke can be supplied as a comma-separated list in
454 \fIrevoke\fR.  By default, a commit record is written at the end; the
455 \fI-c\fR switch writes an uncommitted transaction.
456 .TP
457 .BI kill_file " filespec"
458 Deallocate the inode
459 .I filespec
460 and its blocks.  Note that this does not remove any directory
461 entries (if any) to this inode.  See the
462 .BR rm (1)
463 command if you wish to unlink a file.
464 .TP
465 .BI lcd " directory"
466 Change the current working directory of the
467 .B debugfs
468 process to
469 .I directory
470 on the native filesystem.
471 .TP
472 .BI ln " filespec dest_file"
473 Create a link named
474 .I dest_file
475 which is a hard link to
476 .IR filespec .
477 Note this does not adjust the inode reference counts.
478 .TP
479 .BI logdump " [-acsO] [-b block] [-i filespec] [-f journal_file] [output_file]"
480 Dump the contents of the ext3 journal.  By default, dump the journal inode as
481 specified in the superblock.  However, this can be overridden with the
482 .I \-i
483 option, which dumps the journal from the internal inode given by
484 .IR filespec .
485 A regular file containing journal data can be specified using the
486 .I \-f
487 option.  Finally, the
488 .I \-s
489 option utilizes the backup information in the superblock to locate the
490 journal.
491 .IP
492 The
493 .I \-a
494 option causes the
495 .B logdump
496 program to print the contents of all of the descriptor blocks.
497 The
498 .I \-b
499 option causes
500 .B logdump
501 to print all journal records that are refer to the specified block.
502 The
503 .I \-c
504 option will print out the contents of all of the data blocks selected by
505 the
506 .I \-a
507 and
508 .I \-b
509 options.
510 .IP
511 The
512 .I \-O
513 option causes logdump to display old (checkpointed) journal entries.
514 This can be used to try to track down journal problems even after the
515 journal has been replayed.
516 .TP
517 .BI ls " [-l] [-c] [-d] [-p] [-r] filespec"
518 Print a listing of the files in the directory
519 .IR filespec .
520 The
521 .I \-c
522 flag causes directory block checksums (if present) to be displayed.
523 The
524 .I \-d
525 flag will list deleted entries in the directory.
526 The
527 .I \-l
528 flag will list files using a more verbose format.
529 The
530 .I \-p
531 flag will list the files in a format which is more easily parsable by
532 scripts, as well as making it more clear when there are spaces or other
533 non-printing characters at the end of filenames.
534 The
535 .I \-r
536 flag will force the printing of the filename, even if it is encrypted.
537 .TP
538 .BI list_deleted_inodes " [limit]"
539 List deleted inodes, optionally limited to those deleted within
540 .I limit
541 seconds ago.  Also available as
542 .BR lsdel .
543 .IP
544 This command was useful for recovering from accidental file deletions
545 for ext2 file systems.  Unfortunately, it is not useful for this purpose
546 if the files were deleted using ext3 or ext4, since the inode's
547 data blocks are no longer available after the inode is released.
548 .TP
549 .BI modify_inode " filespec"
550 Modify the contents of the inode structure in the inode
551 .IR filespec .
552 Also available as
553 .BR mi .
554 .TP
555 .BI mkdir " filespec"
556 Make a directory.
557 .TP
558 .BI mknod " filespec [p|[[c|b] major minor]]"
559 Create a special device file (a named pipe, character or block device).
560 If a character or block device is to be made, the
561 .I major
562 and
563 .I minor
564 device numbers must be specified.
565 .TP
566 .BI ncheck " [-c] inode_num ..."
567 Take the requested list of inode numbers, and print a listing of pathnames
568 to those inodes.  The
569 .I -c
570 flag will enable checking the file type information in the directory
571 entry to make sure it matches the inode's type.
572 .TP
573 .BI open " [-weficD] [-b blocksize] [-s superblock] [-z undo_file] device"
574 Open a filesystem for editing.  The
575 .I -f
576 flag forces the filesystem to be opened even if there are some unknown
577 or incompatible filesystem features which would normally
578 prevent the filesystem from being opened.  The
579 .I -e
580 flag causes the filesystem to be opened in exclusive mode.  The
581 .IR -b ", " -c ", " -i ", " -s ", " -w ", and " -D
582 options behave the same as the command-line options to
583 .BR debugfs .
584 .TP
585 .BI punch " filespec start_blk [end_blk]"
586 Delete the blocks in the inode ranging from
587 .I start_blk
588 to
589 .IR end_blk .
590 If
591 .I end_blk
592 is omitted then this command will function as a truncate command; that
593 is, all of the blocks starting at
594 .I start_blk
595 through to the end of the file will be deallocated.
596 .TP
597 .BI symlink " filespec target"
598 Make a symbolic link.
599 .TP
600 .B pwd
601 Print the current working directory.
602 .TP
603 .B quit
604 Quit
605 .B debugfs
606 .TP
607 .BI rdump " directory[...] destination"
608 Recursively dump
609 .IR directory ,
610 or multiple
611 .IR directories ,
612 and all its contents (including regular files, symbolic links, and other
613 directories) into the named
614 .IR destination ,
615 which should be an existing directory on the native filesystem.
616 .TP
617 .BI rm " pathname"
618 Unlink
619 .IR pathname .
620 If this causes the inode pointed to by
621 .I pathname
622 to have no other references, deallocate the file.  This command functions
623 as the unlink() system call.
624 .I
625 .TP
626 .BI rmdir " filespec"
627 Remove the directory
628 .IR filespec .
629 .TP
630 .BI setb " block [count]"
631 Mark the block number
632 .I block
633 as allocated.
634 If the optional argument
635 .I count
636 is present, then
637 .I count
638 blocks starting at block number
639 .I block
640 will be marked as allocated.
641 .TP
642 .BI set_block_group " bgnum field value"
643 Modify the block group descriptor specified by
644 .I bgnum
645 so that the block group descriptor field
646 .I field
647 has value
648 .IR value .
649 Also available as
650 .BR set_bg .
651 .TP
652 .BI seti " filespec [num]"
653 Mark inode
654 .I filespec
655 as in use in the inode bitmap.  If
656 .I num
657 is specified, also set num-1 inodes after the specified inode.
658 .TP
659 .BI set_inode_field " filespec field value"
660 Modify the inode specified by
661 .I filespec
662 so that the inode field
663 .I field
664 has value
665 .I value.
666 The list of valid inode fields which can be set via this command
667 can be displayed by using the command:
668 .B set_inode_field -l
669 Also available as
670 .BR sif .
671 .TP
672 .BI set_mmp_value " field value"
673 Modify the multiple-mount protection (MMP) data so that the MMP field
674 .I field
675 has value
676 .I value.
677 The list of valid MMP fields which can be set via this command
678 can be displayed by using the command:
679 .B set_mmp_value -l
680 Also available as
681 .BR smmp .
682 .TP
683 .BI set_super_value " field value"
684 Set the superblock field
685 .I field
686 to
687 .I value.
688 The list of valid superblock fields which can be set via this command
689 can be displayed by using the command:
690 .B set_super_value -l
691 Also available as
692 .BR ssv .
693 .TP
694 .BI show_super_stats " [-h]"
695 List the contents of the super block and the block group descriptors.  If the
696 .I -h
697 flag is given, only print out the superblock contents. Also available as
698 .BR stats .
699 .TP
700 .BI stat " filespec"
701 Display the contents of the inode structure of the inode
702 .IR filespec .
703 .TP
704 .BI testb " block [count]"
705 Test if the block number
706 .I block
707 is marked as allocated in the block bitmap.
708 If the optional argument
709 .I count
710 is present, then
711 .I count
712 blocks starting at block number
713 .I block
714 will be tested.
715 .TP
716 .BI testi " filespec"
717 Test if the inode
718 .I filespec
719 is marked as allocated in the inode bitmap.
720 .TP
721 .BI undel " <inode_number> [pathname]"
722 Undelete the specified inode number (which must be surrounded by angle
723 brackets) so that it and its blocks are marked in use, and optionally
724 link the recovered inode to the specified pathname.  The
725 .B e2fsck
726 command should always be run after using the
727 .B undel
728 command to recover deleted files.
729 .IP
730 Note that if you are recovering a large number of deleted files, linking
731 the inode to a directory may require the directory to be expanded, which
732 could allocate a block that had been used by one of the
733 yet-to-be-undeleted files.  So it is safer to undelete all of the
734 inodes without specifying a destination pathname, and then in a separate
735 pass, use the debugfs
736 .B link
737 command to link the inode to the destination pathname, or use
738 .B e2fsck
739 to check the filesystem and link all of the recovered inodes to the
740 lost+found directory.
741 .TP
742 .BI unlink " pathname"
743 Remove the link specified by
744 .I pathname
745 to an inode.  Note this does not adjust the inode reference counts.
746 .TP
747 .BI write " source_file out_file"
748 Copy the contents of
749 .I source_file
750 into a newly-created file in the filesystem named
751 .IR out_file .
752 .TP
753 .BI zap_block " [-f filespec] [-o offset] [-l length] [-p pattern] block_num"
754 Overwrite the block specified by
755 .I block_num
756 with zero (NUL) bytes, or if
757 .I -p
758 is given use the byte specified by
759 .IR pattern .
760 If
761 .I -f
762 is given then
763 .I block_num
764 is relative to the start of the file given by
765 .IR filespec .
766 The
767 .I -o
768 and
769 .I -l
770 options limit the range of bytes to zap to the specified
771 .I offset
772 and
773 .I length
774 relative to the start of the block.
775 .TP
776 .BI zap_block " [-f filespec] [-b bit] block_num"
777 Bit-flip portions of the physical
778 .IR block_num .
779 If
780 .I -f
781 is given, then
782 .I block_num
783 is a logical block relative to the start of
784 .IR filespec .
785 .SH ENVIRONMENT VARIABLES
786 .TP
787 .B DEBUGFS_PAGER, PAGER
788 The
789 .B debugfs
790 program always pipes the output of the some commands through a
791 pager program.  These commands include:
792 .IR show_super_stats " (" stats ),
793 .IR list_directory " (" ls ),
794 .IR show_inode_info " (" stat ),
795 .IR list_deleted_inodes " (" lsdel ),
796 and
797 .IR htree_dump .
798 The specific pager can explicitly specified by the
799 .B DEBUGFS_PAGER
800 environment variable, and if it is not set, by the
801 .B PAGER
802 environment variable.
803 .IP
804 Note that since a pager is always used, the
805 .BR less (1)
806 pager is not particularly appropriate, since it clears the screen before
807 displaying the output of the command and clears the output the screen
808 when the pager is exited.  Many users prefer to use the
809 .BR less (1)
810 pager for most purposes, which is why the
811 .B DEBUGFS_PAGER
812 environment variable is available to override the more general
813 .B PAGER
814 environment variable.
815 .SH AUTHOR
816 .B debugfs
817 was written by Theodore Ts'o <tytso@mit.edu>.
818 .SH SEE ALSO
819 .BR dumpe2fs (8),
820 .BR tune2fs (8),
821 .BR e2fsck (8),
822 .BR mke2fs (8),
823 .BR ext4 (5)