rumble
0a71191807
Cross-reference fsck_lfs and fsck_ext2fs.
2007-02-23 19:32:16 +00:00
christos
df99a4dd43
Sprinkle volatile, instead of using the (void)&foo; which does not work on
...
gcc 4.
2006-12-13 16:08:26 +00:00
apb
f93df16b06
Improve the progress bar displayed by fsck_ffs -p -P.
...
The progress bar will now travel from 0 to 20% during pass 1, from 20%
to 95% during pass 2, and from 95% to 100% during passes 3, 4, and 5.
Previously, the progress bar was not displayed at all during pass 1,
slowly traveled from 0 to about 50% during pass 2, and then very rapidly
traveled from 50% to 100% during passes 3, 4, and 5.
Note that fsck_ffs is the only user of fsck/progress.{c,h}.
2006-11-14 21:01:46 +00:00
christos
56641252ba
- add volatile
...
- static before const
2006-10-16 02:44:46 +00:00
christos
e0811114bb
add a const
2006-08-27 09:20:53 +00:00
christos
09e8908e10
- make preen recognize wedges and insert their parent disks in the disk list
...
so that we don't run multiple fsck's on the same spindle at the same time!
- Add some partition getting utilities that are wedge aware (soon to be able
to use the native geometry ioctl), so that we can fsck wedges.
2006-08-26 21:54:05 +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
635d729786
Coverity CID 1745: Fix memory leak.
2006-03-20 01:27:44 +00:00
christos
2c6eadc9ce
Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
...
programs that did not compile before.
2005-06-27 01:00:04 +00:00
atatat
885dad801d
If progress is disabled, don't clear the progress bar.
2005-05-10 00:39:04 +00:00
xtraeme
665b6c1237
Add 'P' (progress meter flag) to getopt()'s optstring, remove
...
main() prototype.
2005-01-19 17:48:15 +00:00
wiz
0826288907
Sync usage with reality.
2005-01-19 16:38:28 +00:00
wiz
9817d5f00a
Sort options.
2005-01-19 16:13:57 +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
dsl
750ce43a65
Add (unsigned char) to isdigit() call
2004-10-28 19:59:09 +00:00
thorpej
ef92b0de59
Try the DIOCGWEDGEINFO ioctl first. If that succeeds (i.e. the block
...
device is a wedge), use the partition type string from the dkwedge_info
structure to get the file system type.
2004-09-25 03:32:52 +00:00
christos
4ee0bfb762
Remove special case for RESCUEDIR
2004-08-19 23:02:51 +00:00
christos
ea369b9669
Deal with RESCUEDIR
2004-08-19 22:25:49 +00:00
christos
6bd1d6d4db
Replace the statfs() family of system calls with statvfs().
...
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
christos
7570f6e829
Remove my license.
2004-03-20 20:28:44 +00:00
jmmv
b635f565e7
Homogenize usage messages: make the 'usage' word all lowercase, as this seems
...
to be the most common practice in our tree.
2004-01-05 23:23:32 +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
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz
2fb4b1db52
New sentence, new line. By Robert Elz with minimal fixes.
2002-10-01 13:40:23 +00:00
lukem
f8df88f111
if RESCUEDIR is defined, set _PATH_RESCUE to that
2002-08-23 03:19:07 +00:00
lukem
8f87d6469c
if _PATH_RESCUE is defined, try that before _PATH_SBIN & _PATH_USRSBIN
2002-08-23 03:17:18 +00:00
grant
6742cb1812
sweep of errx/warnx, remove unnecessary trailing \n
2002-07-20 08:36:17 +00:00
soren
dc53bf3cba
Sync getopt() / man page with actual getopt options.
2001-12-20 20:10:33 +00:00
wiz
bb03964e95
Sort SEE ALSO.
2001-11-16 11:31:30 +00:00
lukem
3c367dcbb0
use MAXPATHLEN instead of 32 as the size of the rawbuf
2001-11-09 07:50:19 +00:00
lukem
4475e1747e
fix a couple of -Wshadow warnings
2001-11-01 07:31:22 +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
9e2e804c1c
use TAILQ_xxx instead of referencing tqe_xxx elements directly
2001-06-18 02:43:32 +00:00
lukem
f97f509658
ansi knf
2001-06-18 02:31:09 +00:00
lukem
dacdbbf6ac
use TAILQ_xxx instead of referencing tqh_xxx elements directly
2001-06-18 02:22:33 +00:00
lukem
4905fe31e2
-d is always compiled in; there's no specific #define to remove it
2001-06-18 01:55:12 +00:00
wiz
73f545bb5b
Drop arguments of .Os.
2001-06-05 11:22:41 +00:00
wiz
f53dfc72b2
Xref exit 3, not 2. Whitespace fixes while I'm here.
2001-04-03 11:06:20 +00:00
fair
676026bddb
Clarify the description of "preen" mode, per PR 12110
2001-03-07 23:48:54 +00:00
cgd
8a986b2e96
convert to use getprogname()
2001-02-19 22:48:57 +00:00
christos
8358095fd4
remove redundant declarations and nested externs.
2001-02-04 19:59:37 +00:00
is
9979da6cbb
Format string cleanups by Bill Sommerfeld.
2000-10-10 20:24:49 +00:00
abs
6d094b5b76
Copy code across from newfs so that 'fsck sd0a' and similar will work.
1999-04-22 04:20:53 +00:00
erh
95086b8941
Add missing .El
1999-03-10 00:08:33 +00:00
mycroft
f6590b22cd
Clean up SYNOPSIS formatting.
1999-03-07 11:02:05 +00:00
christos
7b57bf6d78
Adjust for DKTYPENAME changes.
1998-11-12 16:19:47 +00:00