mckusick
f63b97928b
Debugging nits found while testing the new 64-bit quota code.
2010-03-16 06:12:30 +00:00
des
98b742f57c
Fix warnings + indentation + utmpx
2010-03-04 10:57:52 +00:00
mckusick
c089e60ab1
Claen up format when doing non-humanized output.
2009-10-20 17:50:27 +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
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
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
38128efeca
WARNS=2 cleanup.
...
Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 2 weeks
2001-12-10 06:25:35 +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
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
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
rgrimes
862fdf11a2
BSD 4.4 Lite usr.sbin Sources
1994-05-26 05:23:31 +00:00