mckusick
f63b97928b
Debugging nits found while testing the new 64-bit quota code.
2010-03-16 06:12:30 +00:00
des
834fb25a9e
IFH@204581
2010-03-04 13:35:57 +00:00
des
98b742f57c
Fix warnings + indentation + utmpx
2010-03-04 10:57:52 +00:00
ed
073cafdd42
The last big commit: let usr.sbin/ use WARNS=6 by default.
2010-01-02 11:07:44 +00:00
ed
bd0b02744c
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
mckusick
c089e60ab1
Claen up format when doing non-humanized output.
2009-10-20 17:50:27 +00:00
mckusick
e1b72307f4
Update to work with quotafile functions in -libutil.
2009-10-20 16:46:39 +00:00
mckusick
cc430e21d5
Update to work with quotafile functions in -libutil.
...
Add -h flag to provide humanized output.
2009-10-20 05:40:51 +00:00
des
34dee8955f
Drag this code kicking and screaming into the twenty-first century.
2008-07-02 15:51:59 +00:00
mpp
d37f7512f9
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
mpp
2088a69616
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
ru
c05985f13f
Sort sections.
2005-01-18 20:02:45 +00:00
maxim
78757e68aa
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
imp
9fbed704d5
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
grehan
2dafdd4f00
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
0aa9da7467
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
obrien
7293a24a2b
Use __FBSDID over rcsid[]. Protect copyright[] where needed.
2003-05-03 21:06:42 +00:00
obrien
a920d12f89
style.Makefile(5)
2003-04-04 17:49:21 +00:00
ru
041d1287e8
Uniformly refer to a file system as "file system".
...
Approved by: re
2002-12-12 17:26:04 +00:00
charnier
d2168fe021
The .Nm utility
2002-07-14 14:47:15 +00:00
alfred
b790e6b937
WARNS=4, de-__P()
2002-07-11 21:26:41 +00:00
trhodes
7d7bd3ffde
Consistancy check: s/file system/filesystem/g
2002-05-16 02:28:39 +00:00
bde
89c2691095
#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
mikeh
e408e50776
Reorder WARNS line for style.
...
Pointed out by: bde
2001-12-10 21:13:36 +00:00
mikeh
38128efeca
WARNS=2 cleanup.
...
Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 2 weeks
2001-12-10 06:25:35 +00:00
ru
0d5f9334cf
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 15:12:08 +00:00
dd
df1256faf7
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
ru
afd506414e
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
ru
f10dc9aca1
Set the default manual section for usr.sbin/ to 8.
2001-03-20 18:17:26 +00:00
ru
71e2293ad4
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
julian
5b57e9c591
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
efabb9ccb1
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
nik
559bbb333e
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
jkoshy
fd0b9bf38b
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
ache
d8d33cb563
Make it compatible with long usernames
1998-06-14 22:56:31 +00:00
charnier
9a7de1d4b1
Use err(3). Add prototypes.
1997-10-13 11:05:07 +00:00
imp
691010efad
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
rgrimes
4f960dd75f
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
bde
81ec7fa477
Fix 3 fatal mismatches in format args involving dbtob() and 7 nonfatal
...
mismatches.
1995-05-07 08:13:37 +00:00
wollman
d7fca5c189
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
rgrimes
862fdf11a2
BSD 4.4 Lite usr.sbin Sources
1994-05-26 05:23:31 +00:00