Philippe Charnier
25f014db91
Correct use of .Nm. Add rcsid. Remove unused #includes. Use warn().
...
Errx(1, "malloc failed") is better than err(1, NULL).
1998-07-15 06:48:52 +00:00
Bruce Evans
ca46ad5f48
Fixed printf format errors.
1998-06-28 20:11:23 +00:00
Philippe Charnier
2d34272b7b
Correct use of .Nm. Add rcsid. Remove unused #includes. Use err(3).
1998-06-15 07:07:21 +00:00
Bruce Evans
33e6082253
Guess the position of the drive number in the device name better so
...
that `fsck -p' doesn't check multiple slices on the same drive
concurrently. Don't invoke undefined behaviour when searching for
the drive number in strange device names.
PR: 6129
Reviewed by: phk
Submitted by: Yuichi MATSUTAKA <matutaka@osa.att.ne.jp>, but rewritten
by me.
1998-04-07 12:43:57 +00:00
Philippe Charnier
41e964cb5d
Remove lines inside #ifdef 0/#endif.
1997-06-30 11:10:18 +00:00
Philippe Charnier
441f92071b
Use err(3) instead of local err() (a errx() like function).
1997-06-16 06:38:14 +00:00
Warner Losh
8d64695c7c
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 03:33:12 +00:00
Bruce Evans
bb19997c02
Finished (?) merging with Lite2: cleaned up #include mess.
...
Fixed style bugs in FreeBSD changes.
1997-03-12 16:58:35 +00:00
Peter Wemm
780a5c1ec1
Merge from Lite2. Note that Lite2 has it's own filesystem clean check
...
skipping code that overrides ours sooner. One should be eliminated,
but for now it works.
1997-03-11 12:20:21 +00:00
Poul-Henning Kamp
c85a5ef04c
Don't give up just because we cant find the blkdev that corresponds
...
to the name given as a chardev.
1996-10-27 18:28:39 +00:00
Joerg Wunsch
2f77dcf6ad
Allow the specification of a mountpoint, and resolve it s disk device
...
using the fstab.
Closes PR bin/129.
Submitted by: jmg@nike.efn.org (John-Mark Gurney)
1996-10-25 20:38:40 +00:00
Mike Pritchard
2232951535
Silence some cc -Wall warnings in quotacheck.
1996-02-27 08:04:48 +00:00
Mike Pritchard
93b5f48962
Fix quotacheck to not do a bunch of unneeded fseeks if the
...
quota file information is accurate. This makes it about twice as
fast when the uid name space is very large.
1996-02-27 01:53:17 +00:00
Mike Pritchard
1ba797fb84
Print out an informative message if the verbose option is given
...
and an unknown uid/gid is found in the file system. This is useful
if you wind up with a file in your file system that has a uid
that is extremely large, since quotacheck will wind up running
a very very long time due to it not handling large gaps in uids
very well (this is a problem that should be addressed some day).
Update the man page to reflect that fact the the -v flag now prints
some additional diagnostic messages.
1996-02-21 18:40:54 +00:00
Dima Ruban
78f934546c
`dev_bsize' must be reset to 1 before the bread() or
...
quotacheck -a will fail after the first partition (because
dev_bsize is 512 and is messes up the superblock read of the second
partition)
Submitted by: dillon@best.com (Mattew Dillon)
1995-06-21 03:55:12 +00:00
Rodney W. Grimes
5ebc7e6281
Remove trailing whitespace.
1995-05-30 06:12:45 +00:00
Bruce Evans
31f4ab50bc
Submitted by: phk, added to by bde
...
Fix all the warnings from `gcc -Wall'.
1995-04-02 14:52:29 +00:00
Garrett Wollman
404c1a5fc1
Convert to our man installation style. Also fixed long-standing bug
...
in `fastboot'/`fasthalt' in which the interpreter would hang around
after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
1994-08-05 02:42:42 +00:00
Rodney W. Grimes
8fae3551ec
BSD 4.4 Lite sbin Sources
...
Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
1994-05-26 06:35:07 +00:00