Commit Graph

10 Commits

Author SHA1 Message Date
christos
5f101a4767 When we run with 'fsck -f -n' we should go over all the filesystems, not
exit on the first one that fails. Add a new flag CHECK_NOFIX so that we
specify -n, we keep going.
2005-01-13 22:56:09 +00:00
christos
a73c2bd574 Add a progress meter to fsck_ffs based on the work by thorpej presented
to the mailing lists last January. This is optional.
2005-01-13 15:22:35 +00:00
perseant
42b9009195 Make vmsg non-static, so it can be used directly by fsck_lfs. 2003-03-28 08:12:38 +00:00
lukem
172a636b48 - Don't attempt to fsck a file system that is mounted read-write unless -f
(force) is given. fsck(8) will return with a zero exit status if "fsck -p"
  is used in this circumstance, but all other invocations (e.g, "fsck",
  "fsck /filesystem", "fsck -p /filesystem") will return with a non-zero exit
  status in this circumstance.
  Per discussions with various people including Bill Sommerfeld.
- Use "file system" instead of "filesystem"
2001-06-18 06:28:59 +00:00
lukem
f97f509658 ansi knf 2001-06-18 02:31:09 +00:00
christos
8358095fd4 remove redundant declarations and nested externs. 2001-02-04 19:59:37 +00:00
mycroft
b93acf4aaf const poisoning. 1998-07-26 20:02:36 +00:00
christos
c623b74b84 - Null terminate the argv vector [from ws]
- Dynamically allocate the argv vector
- Add -f global flag [from ws]
1996-10-03 20:06:30 +00:00
christos
ef1bd36baf Allow for an extra argument needed by quotacheck. 1996-09-28 19:21:41 +00:00
christos
7dfca7604a - Rename util.c and util.h to fsutil.c and fsutil.h to avoid conflict with
<util.h>
- Change checkfstab so that the checkit function takes the name of the
  mount point too (needed by quotacheck).
- Remove globals debug, verbose and preen
1996-09-27 22:38:37 +00:00