freebsd-skq/sbin/fsck_ffs
scottl cbabeda669 MFC r260068, r260069, r260076
Add the -R option to allow fsck_ffs to restart itself when too many critical
 errors have been detected in a particular run.

 Clean up the global state variables so that a restart can happen correctly.

 Separate the global variables in fsck_ffs and fsdb to their own file.  This
 fixes header sharing with fscd.

 Correctly initialize, static-ize, and remove global variables as needed in
 dir.c.  This fixes a problem with lost+found directories that was causing
 a segfault.

 Correctly initialize, static-ize, and remove global variables as needed in
 suj.c.

 Initialize the suj globals before allocating the disk object, not after.
 Also ensure that 'preen' mode doesn't conflict with 'restart' mode

Obtained from:	Netflix
2014-01-02 01:44:14 +00:00
..
dir.c MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
ea.c MFC r256448, r257029; 2013-12-11 19:25:17 +00:00
fsck_ffs.8 MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
fsck.h MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
fsutil.c MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
gjournal.c Fix fsck_ffs build with a 64-bit ino_t. 2012-09-27 23:30:58 +00:00
globs.c MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
inode.c Revert 248634 and 248643 (e.g., restoring 248625 and 248639). 2013-03-23 20:00:02 +00:00
main.c MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
Makefile MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
pass1.c MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
pass1b.c MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
pass2.c Fix fsck_ffs build with a 64-bit ino_t. 2012-09-27 23:30:58 +00:00
pass3.c
pass4.c Fix fsck_ffs build with a 64-bit ino_t. 2012-09-27 23:30:58 +00:00
pass5.c Style nit. 2013-04-29 20:14:11 +00:00
setup.c Revert 248634 and 248643 (e.g., restoring 248625 and 248639). 2013-03-23 20:00:02 +00:00
suj.c MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00
utilities.c MFC r260068, r260069, r260076 2014-01-02 01:44:14 +00:00