mlelstv
9fc3186941
Support symlinks to a block device to resolve the name of the
...
corresponding raw device.
2013-01-13 19:53:16 +00:00
christos
ba7ad7276d
Don't re-use the same buffer that we pass in for newname in the cooked->raw
...
conversion. Better variable names.
2012-04-08 04:19:14 +00:00
christos
ca11e1e667
factor out rawname() from dump, fsck, savecore.
2012-04-07 16:44:10 +00:00
christos
5727fadda2
use getfsspecname()
2012-04-07 04:52:20 +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
lukem
481ad7b03a
errexit() now provides the trailing \n (since fsck_ffs assumed that
...
from a conversion from err(3)), so "make it so".
2008-03-16 23:17:55 +00:00
christos
742b48d55e
Make sure that the exit values are always sane, and use symbolic instead
...
of magic constants. Reviewed by go@
2008-02-23 21:41:47 +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
dsl
e69ce3e4bf
Add a -q (quiet) option to print nothing for clean filesystems.
...
Support in fsck_ffs and stub in fsck_xxx.
Push a few more messages through pwarn() instead of printf() to ensure
disk name is shown.
2003-10-20 12:04:38 +00:00
agc
bf07c8719a
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22308, verified by myself.
2003-08-07 10:04:11 +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
3c367dcbb0
use MAXPATHLEN instead of 32 as the size of the rawbuf
2001-11-09 07:50:19 +00:00
lukem
f97f509658
ansi knf
2001-06-18 02:31:09 +00:00
cgd
8a986b2e96
convert to use getprogname()
2001-02-19 22:48:57 +00:00
is
9979da6cbb
Format string cleanups by Bill Sommerfeld.
2000-10-10 20:24:49 +00:00
thorpej
a04741e102
Cast pointer diffs to int for use in printf format width specifiers.
1998-07-30 17:41:03 +00:00
mycroft
b93acf4aaf
const poisoning.
1998-07-26 20:02:36 +00:00
mycroft
e49dfa57a5
Format police.
1997-10-31 09:11:53 +00:00
lukem
26ba0ba0ba
* cleanup for WARNS=1
...
* deprecate register
* prefix hex numbers with '0x'
1997-09-14 14:11:00 +00:00
christos
1b51e8821e
Fix varyadic non ansi functions.
1996-10-22 16:57:51 +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
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