aboutsummaryrefslogtreecommitdiff
path: root/ufs-fsck
Commit message (Collapse)AuthorAgeFilesLines
* (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.
* (pass5): Call pfix instead of printf.Miles Bader1995-10-181-16/+8
|
* (pass4): If an unlinked file can't be reconnected, offer to clear it. Once aMiles Bader1995-10-181-34/+15
| | | | | | reconnect attempt fails, don't try again. (pass4): Use changed pinode. (pass4): Call pfix instead of printf.
* (pass3): Use changed pinode.Miles Bader1995-10-181-6/+6
| | | | (pass3): Call pfix instead of printf.
* (pass2): Adjust our record of link counts when we add/change dir entries;Miles Bader1995-10-181-20/+36
| | | | | | also print error messages when we can't. (pass2): Use changed pinode. (pass2): Call pfix instead of printf.
* (pass1): Only print progress report if not in preen mode.Miles Bader1995-10-181-23/+19
| | | | | (pass1): Change the extent of DBWARN & IBWARN so that they actually work. (pass1): Call pfix instead of printf.
* (linkup): Print the value of LFNAME rather than `lost+found'.Miles Bader1995-10-181-40/+49
| | | | | | | | | | (searchdir, changeino): Fix backward compare. (linkup): Don't fail when makeentry succeeds. (searchdir): Make searchdir return zero if there's an error during the search. (linkup): Print appropiate error messages if searchdir fails. (validdir): Get rid of extra newlines in error messages -- everyone who calls this routine prints extra information if it fails, which should immediately follow.
* (main): Only print section headers if not in preen mode.Miles Bader1995-10-181-14/+76
| | | | | | | | | (main): Use getopt to parse command line options. (usage): New function. (options): New variable. (lfname, lfmode): Variables moved here from setup.c. (lfname): Made into a char* so that we can change it. (lfmode): Get rid of IFDIR; it's added when necessary.
* (target): Changed to `fsck.ufs'.Miles Bader1995-09-171-1/+2
| | | | (installationdir): New variable, install into $(sbindir).
* (pinode): Remove assignment from if test.Michael I. Bushnell1995-07-071-2/+3
|
* (lookup_directory): New decl.Michael I. Bushnell1995-07-071-1/+2
|
* (pass1): Remove assignment from if test.Michael I. Bushnell1995-07-071-2/+3
|
* (tables.o): Delete rule.Michael I. Bushnell1995-07-071-2/+2
| | | | (vpath tables.c): Tell where to find tables.c.
* Removed dependencies that are now automatically generated.Michael I. Bushnell1995-07-061-3/+1
|
* entered into RCSMichael I. Bushnell1994-11-031-2/+2
|
* entered into RCSMichael I. Bushnell1994-11-022-7/+8
|
* Formerly dir.c.~8~Michael I. Bushnell1994-10-251-0/+15
|
* entered into RCSMichael I. Bushnell1994-10-251-1/+2
|
* Formerly pass2.c.~10~Michael I. Bushnell1994-10-251-8/+30
|
* entered into RCSMichael I. Bushnell1994-10-252-3/+6
|
* Formerly setup.c.~6~Michael I. Bushnell1994-10-201-11/+14
|
* Formerly pass5.c.~9~Michael I. Bushnell1994-10-201-14/+27
|
* Formerly pass5.c.~8~Michael I. Bushnell1994-10-191-3/+4
|
* entered into RCSMichael I. Bushnell1994-10-191-1/+1
|
* Formerly pass5.c.~7~Michael I. Bushnell1994-10-181-2/+6
|
* Formerly pass5.c.~6~Michael I. Bushnell1994-10-181-0/+4
|
* Formerly utilities.c.~8~Michael I. Bushnell1994-10-181-0/+1
|
* Formerly dir.c.~7~Michael I. Bushnell1994-10-181-2/+2
|
* entered into RCSMichael I. Bushnell1994-10-181-1/+1
|
* Formerly inode.c.~4~Michael I. Bushnell1994-10-181-9/+16
|
* entered into RCSMichael I. Bushnell1994-10-182-12/+9
|
* Formerly dir.c.~6~Michael I. Bushnell1994-10-181-7/+10
|
* Formerly pass1.c.~6~Michael I. Bushnell1994-10-181-1/+1
|
* Formerly pass2.c.~9~Michael I. Bushnell1994-10-181-2/+4
|
* Formerly pass2.c.~8~Michael I. Bushnell1994-10-171-0/+6
|
* Formerly utilities.c.~7~Michael I. Bushnell1994-10-171-6/+8
|
* Formerly pass1.c.~5~Michael I. Bushnell1994-10-171-0/+3
|
* Formerly utilities.c.~6~Michael I. Bushnell1994-10-151-7/+16
|
* Formerly setup.c.~4~Michael I. Bushnell1994-10-141-2/+8
|
* Formerly setup.c.~3~Michael I. Bushnell1994-10-141-1/+1
|
* Formerly Makefile.~4~Michael I. Bushnell1994-10-141-1/+4
|
* Formerly pass5.c.~5~Michael I. Bushnell1994-10-141-0/+37
|
* Formerly utilities.c.~5~Michael I. Bushnell1994-10-141-1/+24
|
* entered into RCSMichael I. Bushnell1994-10-141-1/+1
|
* Formerly pass2.c.~7~Michael I. Bushnell1994-10-141-7/+10
|
* Formerly fsck.h.~7~Michael I. Bushnell1994-10-141-0/+2
|