Kirk McKusick
516ad57b74
Debugging nits found while testing the new 64-bit quota code.
2010-03-16 06:12:30 +00:00
Dag-Erling Smørgrav
1a0fda2b54
IFH@204581
2010-03-04 13:35:57 +00:00
Dag-Erling Smørgrav
7c54172a4f
Fix warnings + indentation + utmpx
2010-03-04 10:57:52 +00:00
Ed Schouten
71ccf09269
The last big commit: let usr.sbin/ use WARNS=6 by default.
2010-01-02 11:07:44 +00:00
Ed Schouten
f449291b33
Don't depend on <utmp.h>.
...
MAXLOGNAME seems more applicable in this case, because UT_NAMESIZE
refers to the username field in utmp files, which is clearly unrelated
to repquota(8).
2009-12-06 01:29:49 +00:00
Kirk McKusick
4e717eeafc
Claen up format when doing non-humanized output.
2009-10-20 17:50:27 +00:00
Kirk McKusick
88c01c7739
Update to work with quotafile functions in -libutil.
2009-10-20 16:46:39 +00:00
Kirk McKusick
0cf50fd7dc
Update to work with quotafile functions in -libutil.
...
Add -h flag to provide humanized output.
2009-10-20 05:40:51 +00:00
Dag-Erling Smørgrav
8f518424d9
Drag this code kicking and screaming into the twenty-first century.
2008-07-02 15:51:59 +00:00
Mike Pritchard
ea11023020
Change the header to indicate which type of id is being displayed,
...
"User" or "Group", instead of identifying them all as "User".
Approved by: re (bmah)
2007-09-19 01:10:31 +00:00
Mike Pritchard
fbb42904c4
If two files systems, /a and /b are marked as having quotas enabled
...
in fstab and they are normally mounted as /a/b, if /b is not mounted,
the various quota utilities will incorrectly operate with the quotas on
/a (silently) when operations are attemted on /b.
Sync up all the hasquota() routines between all the different
quota utilities and change it to detect if the file system we are
attempting to perform quota operations on is not currently mounted
and warn the user accordingly.
PR: bin/38918
2007-02-04 06:33:15 +00:00
Ruslan Ermilov
59a3c79da6
Sort sections.
2005-01-18 20:02:45 +00:00
Maxim Konovalov
f8c5e12739
Allocate an additional white space in a username column for
...
a long (UT_NAMESIZE) login names.
PR: bin/75259
Submitted by: Matthew D.Fuller
MFC after: 2 weeks
2004-12-19 18:02:45 +00:00
Warner Losh
486c8cc4c6
Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software
...
(with permission of addtional copyright holders where appropriate)
2004-08-07 04:28:56 +00:00
Peter Grehan
5cfe0423e6
Userland signed char fixes for PPC build. Problems were using a char
...
return for getopt() and comparing to -1, ditto with fgetc() and EOF,
and using the kg_nice value from <sys/user.h>
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
Reviewed by: obrien, bde (a while back)
Tested lightly on: ppc, i386, make universe
2004-01-22 07:23:36 +00:00
Brooks Davis
974ac91938
Add support for a -n argument which displays user and group IDs
...
numerically rather than converting to a user or group name.
MFC After: 1 week
2003-07-07 21:41:23 +00:00
David E. O'Brien
b728350ee6
Use __FBSDID over rcsid[]. Protect copyright[] where needed.
2003-05-03 21:06:42 +00:00
David E. O'Brien
052238b16c
style.Makefile(5)
2003-04-04 17:49:21 +00:00
Ruslan Ermilov
8d5d039f80
Uniformly refer to a file system as "file system".
...
Approved by: re
2002-12-12 17:26:04 +00:00
Philippe Charnier
490d5836b5
The .Nm utility
2002-07-14 14:47:15 +00:00
Alfred Perlstein
d8c965959f
WARNS=4, de-__P()
2002-07-11 21:26:41 +00:00
Tom Rhodes
67c8020f12
Consistancy check: s/file system/filesystem/g
2002-05-16 02:28:39 +00:00
Bruce Evans
10acff06b9
#include <time.h> for the definition of time functions instead of
...
depending on namespace pollution 2 layers deep in <sys/stat.h>.
Removed unused include of <sys/stat.h>. Only its pollution was used.
2002-02-25 07:39:34 +00:00
Mike Heffner
28644e448a
Reorder WARNS line for style.
...
Pointed out by: bde
2001-12-10 21:13:36 +00:00
Mike Heffner
0ca71ce75d
WARNS=2 cleanup.
...
Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 2 weeks
2001-12-10 06:25:35 +00:00
Ruslan Ermilov
a4c37c816b
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 15:12:08 +00:00
Dima Dorfman
886cc6daf6
Print "-" instead of "" in the grace field if there is no grace
...
period; this keeps the number of whitespace-separated fields constant.
PR: 15739, 23908
Submitted by: Valentin Nechayev <netch@netch.kiev.ua>
2001-06-19 00:47:24 +00:00
Ruslan Ermilov
345e52e742
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Ruslan Ermilov
c73e22c3d4
Set the default manual section for usr.sbin/ to 8.
2001-03-20 18:17:26 +00:00
Ruslan Ermilov
e97407b4f2
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
Julian Elischer
a8ae1d2ba8
Description
...
repquota reports softlimits, hardlimits and ``used'' field
incorrectly, namely those numbers get wrapped modulo 4Gbytes.
PR: bin/8164
Submitted by: Anton Berezin <tobez@plab.ku.dk>
1999-11-01 04:46:09 +00:00
Peter Wemm
97d92980a9
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
Nik Clayton
414a35e60a
Add $Id$, to make it simpler for members of the translation teams to
...
track.
The Id line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
1999-07-12 20:12:29 +00:00
Joseph Koshy
f1838373aa
Larger, space separated fields in the output of repquota.
...
PR: 8730
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
1999-06-11 10:31:24 +00:00
Andrey A. Chernov
4cc28395cc
Make it compatible with long usernames
1998-06-14 22:56:31 +00:00
Philippe Charnier
713fe15b36
Use err(3). Add prototypes.
1997-10-13 11:05:07 +00:00
Warner Losh
6c3f552a31
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-31 05:11:47 +00:00
Rodney W. Grimes
709e8f9ae1
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
Bruce Evans
2d732692dc
Fix 3 fatal mismatches in format args involving dbtob() and 7 nonfatal
...
mismatches.
1995-05-07 08:13:37 +00:00
Garrett Wollman
84e59eb50d
Get rid of update. Make man page installation work with our scheme
...
(and rename a few in the process).
1994-08-05 16:31:05 +00:00
Rodney W. Grimes
dea673e932
BSD 4.4 Lite usr.sbin Sources
1994-05-26 05:23:31 +00:00