Commit Graph

18 Commits

Author SHA1 Message Date
lukem 6277ca4089 use .Nm correctly 1997-09-15 01:39:32 +00:00
lukem 5a94f6748f * cleanup for WARNS=1
* getopt returns -1 not EOF
* cleanup manpage
1997-09-14 14:40:10 +00:00
ws daa7d68f2a Fix a few bugs, especially when repairing disks:
Print correct pathname in error messages
Fix unterminating loop when trying to correct a bad fat
Require fat media byte to be the same as the one in the bpb
Fix unterminating loop when looking for free directory slot in LOST.DIR
(bad disk image provided by Christoph Badura)
1997-09-08 14:05:30 +00:00
gwr 10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr 012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
ws fdbcbfc254 Fix handling of clusters marked bad
Noted by Rafal Boni
1997-01-03 14:32:47 +00:00
cgd 313e12dec4 clean up and add a fair bit of text. document -f (and the fact that it's
ignored).
1996-10-17 20:41:24 +00:00
cgd 139fcefc1f include -f in usage, removed 'v' from getopt string since it's not handled 1996-10-17 20:29:53 +00:00
christos c9ec66c20b Accept -f flag, but do nothing with it. 1996-10-03 20:09:44 +00:00
christos a0c84e7de2 util -> fsutil 1996-09-27 23:22:50 +00:00
ws 82cdedc3cd Fix delete() call in dir.c differently than Christos' way.
Require at least one filesystem as program argument.
Update man page to reflect the latter.
1996-09-24 13:17:18 +00:00
christos 442314ab53 - use error printing code from fsck(8)
- remove fstab walking code
- add missing prototypes
- add missing argument in dir.c near "Truncate", where delete() was being
  called with fewer args. I think the missing argument should be a zero,
  but Wolfgang should check...
1996-09-23 16:27:56 +00:00
ws 7918e50abb Fix null pointer derefernce
Fixes PR#2765. Thanks David.
1996-09-17 15:34:05 +00:00
christos 74d9e3de3f Document -p (preen) option. If there are no filesystems specified on the
command line, get them from /etc/fstab when we are preening.
1996-09-11 20:35:14 +00:00
christos 2842b1a353 Fix gcc warnings. 1996-09-11 20:31:24 +00:00
ws 25e3d62e87 Don't allocate data structures for non-directories
Free any data structures when finishing a check (at the latest)
1996-05-28 19:51:11 +00:00
ws a89a16b50d Check return values of malloc
Generate full pathnames only on request
Minor cleanup, RCS Ids in .h files
1996-05-25 17:09:43 +00:00
ws 6ae4c91a82 Add fsck utility for msdosfs 1996-05-14 17:39:21 +00:00