aboutsummaryrefslogtreecommitdiff
path: root/ufs-fsck
Commit message (Collapse)AuthorAgeFilesLines
* (pass2): Don't skip empty directories in `.' and `..' correctnessMichael I. Bushnell1996-07-011-33/+31
| | | | | | check; we don't clear them the way BSD does, so we want `.' and `..' to get created for us. Also handle `.' before `..' so that they get created in the usual order for empty directories.
* (makeentry): After successful directory expansion, write out modifiedMichael I. Bushnell1996-07-011-0/+1
| | | | directory inode.
* (pass4): If a reconnect fails while we are preening, give up.Michael I. Bushnell1996-07-011-0/+2
|
* (errexit, punt): Exit with status 8 for catastrophic failures.Michael I. Bushnell1996-06-241-2/+2
|
* (pass2): whops, typo.Michael I. Bushnell1996-05-231-1/+1
|
* (pass2): Don't clear all node types in directories, just clear thoseMichael I. Bushnell1996-05-231-18/+6
| | | | that are wrong.
* (pass2): Fix up test in preen case.Miles Bader1996-05-141-1/+2
|
* (pass2):Michael I. Bushnell1996-05-141-2/+2
|
* (pass2): better.Michael I. Bushnell1996-05-141-2/+2
|
* (pass2): Handle directory entry type fields better for Hurd.Michael I. Bushnell1996-05-141-7/+19
|
* (parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.Miles Bader1996-05-111-1/+2
|
* (pass1b): Bother to initialize NUMBER.Michael I. Bushnell1996-05-101-1/+1
|
* (show_stats): Fiddle with formatting.Miles Bader1996-05-031-1/+1
|
* (nice_size, show_stats): New functions.Miles Bader1996-05-031-13/+38
| | | | (main): Use show_stats.
* (main): Shorten summary message so that it fits on one line.Miles Bader1996-05-021-3/+1
|
* Get rid of extraneous calls to pfail.Miles Bader1996-05-024-45/+1
|
* Fix up recovery logic for when reconnecting an inode fails.Miles Bader1996-05-021-7/+5
| | | | Get rid of extraneous calls to pfail.
* (linkup): Consistently put quotes around filenames.Miles Bader1996-05-021-11/+11
|
* (warning): Don't flush all pending problems, just our own.Miles Bader1996-05-021-10/+17
| | | | | (no_preen): New function. (problem, warning, pinode): Use it.
* (setup): Use new printing functions; use error to print error msgs.Miles Bader1996-05-021-20/+42
| | | | <error.h>, <errno.h>: New includes.
* (pass4): Use new printing functions.Miles Bader1996-05-021-4/+11
|
* (pass3): Use new printing functions.Miles Bader1996-05-021-10/+7
|
* (pass2): Use new printing functions.Miles Bader1996-05-021-38/+54
|
* (pass1b): Use new printing functions.Miles Bader1996-05-021-5/+3
|
* (validdir, makeentry, linkup): Use new printing functions.Miles Bader1996-05-021-33/+30
|
* (problem, warning, pextend, pfail): New functions.Miles Bader1996-05-021-71/+206
| | | | | | | | (pinode, pfix, reply): Use new problem recording stuff. (push_problem, resolve_problem, flush_problems): New functions. (struct problem): New type. (problems, free_problems): New variables. (retch, punt): New functions.
* (problem, warning, pextend, pfail, force): New declarations.Miles Bader1996-05-021-17/+24
| | | | (pinode): Update declaration.
* (allocino, freeino): Frob NUM_FILES.Miles Bader1996-05-021-3/+3
|
* (pass1):Miles Bader1996-05-021-31/+44
| | | | | | Increment NUM_FILES. When clearing inode due to bad blocks, continue. Use new printing functions.
* (main): Implement clean-bit checking in preen mode; print summary statistics.Miles Bader1996-05-021-21/+58
| | | | | (main, options): Add --force & --silent options. (preen, num_files): New variables.
* (pass5):Miles Bader1996-05-021-20/+38
| | | | | Vary clean msg depending on whether FSMODIFIED. Use new printing functions.
* (pass5): Be sure to call pwarn before pfix.Miles Bader1996-05-011-3/+4
|
* (main): Don't print large obnoxious banner if PREEN.Miles Bader1996-05-011-1/+1
|
* (allocino): Parenthesize test correctly.Michael I. Bushnell1996-04-261-2/+2
|
* (pass5): If not marked clean, but now it is, then offer to mark itMichael I. Bushnell1996-04-261-1/+11
| | | | clean.
* (reply): Set fix_denied anytime we return 0.Michael I. Bushnell1996-04-261-3/+13
|
* (fix_denied): New variable.Michael I. Bushnell1996-04-261-1/+3
|
* (pass1): Don't print block numbers as we go anymore.Michael I. Bushnell1996-04-241-2/+2
|
* (pass5): Correctly track contig summaries even though they aren't usedMichael I. Bushnell1996-04-231-12/+65
| | | | by the filesystem; we still need to preserve the format.
* (vpath tables.c): top_srcdir is better.Michael I. Bushnell1996-04-151-1/+1
|
* (vpath tables.c): That's $(srcdir)/..Michael I. Bushnell1996-04-151-1/+1
|
* (vpath tables.c): Find ufs directory in $(srcdir), not `..'.Michael I. Bushnell1996-04-151-2/+2
|
* (pass1): Print mode correctly in unknown file type case.Michael I. Bushnell1996-04-021-1/+1
|
* (pass1): Recognize inode type IFSOCK too.Michael I. Bushnell1996-04-021-1/+2
|
* (main): Pass new arg to argp_parse. Use argp_usage correctly.Miles Bader1996-03-191-3/+3
|
* (main):Miles Bader1995-10-191-59/+39
| | | | | | | | | Exit with a non-zero status if we fixed anything. Use argp to parse options. (options): Converted to argp format. (args_doc): New variable. (USAGE, usage, SHORT_OPTIONS): Removed. Include <argp.h> instead of <getopt.h>.
* ($(target)): Depend on libshouldbeinlibc.a.Miles Bader1995-10-191-1/+2
|
* (pfix): New function.Miles Bader1995-10-181-17/+48
| | | | | (pfatal, pwarn, errexit): Print DEVICE_NAME too if in preen mode. (pinode): Take a message & args to print as well.
* Declare DEVICE_NAME.Miles Bader1995-10-181-7/+8
| | | | | Change declaration of pinode. Change LFNAME to char*.
* (setup): Set DEVICE_NAME.Miles Bader1995-10-181-2/+4
| | | | (lfname, lfmode): Variables moved to main.c.