dholland
c30abfbbfa
global variables should be declared extern.
2015-06-21 03:58:36 +00:00
christos
ca11e1e667
factor out rawname() from dump, fsck, savecore.
2012-04-07 16:44:10 +00:00
joerg
6923d07c1a
Use __dead and __printflike.
2011-08-27 17:34:44 +00:00
christos
453164da22
fix compilation.
2011-06-09 21:23:29 +00:00
christos
23ffdf5bd3
share more code.
2011-06-09 19:57:50 +00:00
christos
c68c36a514
Centralize time printing and deal with ctime possibly returning NULL.
2010-02-04 23:55:42 +00:00
snj
550147bd6a
Remove 3rd and 4th clauses in christos' license. OK christos.
2009-10-21 01:07:44 +00:00
ragge
9949926272
__attribute -> __attribute__.
2007-09-15 14:35:33 +00:00
christos
2a1607d040
Programs that use efun.
2006-08-26 18:14:28 +00:00
christos
6a6266cc74
s/perror/perr/ so that we can make it varyadic. Overloading stdio's perror()
...
sneaky.
2006-06-05 16:52:05 +00:00
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