History log of /freebsd/usr.bin/quota/quota.c (Results 51 – 75 of 105)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# e608ec61 09-Aug-2002 Ian Dowse <iedowse@FreeBSD.org>

Fix a few compiler warnings, sort options and make the usage()
output match the synopsis.


Revision tags: release/4.6.1, release/4.6.0_cvs
# ab5ff6a6 03-Jun-2002 Ian Dowse <iedowse@FreeBSD.org>

Call getmntinfo with MNT_NOWAIT to avoid hanging if any NFS servers
are down. Avoid trying to send RPCs to the pidXXX@machine names
used in the special amd(8) mounts.

PR: bin/6183
Submitted by: Pet

Call getmntinfo with MNT_NOWAIT to avoid hanging if any NFS servers
are down. Avoid trying to send RPCs to the pidXXX@machine names
used in the special amd(8) mounts.

PR: bin/6183
Submitted by: Petr Lampa <lampa@fee.vutbr.cz>

show more ...


# ff288009 28-Apr-2002 Mark Murray <markm@FreeBSD.org>

Fix some low-hanging fruit in the warnings department; ANSIfy functions,
sort out some const issues.


# d3cb5ded 22-Mar-2002 Warner Losh <imp@FreeBSD.org>

remove __P


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# 44501248 23-May-2001 Jim Pirzyk <pirzyk@FreeBSD.org>

Changed 'blocks' to 'usage' because we may not be getting quotas from
a ufs filesystem and it may be reporting in K instead of 512b blocks.
This is true when using a vxfs filesystem (on a solaris box

Changed 'blocks' to 'usage' because we may not be getting quotas from
a ufs filesystem and it may be reporting in K instead of 512b blocks.
This is true when using a vxfs filesystem (on a solaris box) for instance.

PR: bin/14545
Submitted by: Jim Pirzyk
Reviewed by: jkh
MFC after: 1 week

show more ...


Revision tags: release/4.3.0_cvs, release/4.3.0, release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs
# b189011d 26-Mar-2000 Philippe Charnier <charnier@FreeBSD.org>

Remove incorrect use of .Nm. Wrap long lines, Unwrap short lines
Options: -> The following options are available:


Revision tags: release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs
# c3aac50f 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7
# abf0f067 11-Jun-1998 Andrey A. Chernov <ache@FreeBSD.org>

Local filesystems are ufs not ffs
Submitted by: "D. Rock" <rock@cs.uni-sb.de>


# a716ad66 09-Jun-1998 Warner Losh <imp@FreeBSD.org>

Don't assume that hp->h_lenght == 4. Be conservative in its use.
Submitted by: J. Assange a long time ago.


Revision tags: release/2.2.6
# d63b9ba4 20-Jan-1998 Bruce Evans <bde@FreeBSD.org>

Converted to Lite2 mount interface - decide filesystem types by name
instead of by number.


Revision tags: release/2.2.5_cvs
# 9d63ad49 04-Aug-1997 Philippe Charnier <charnier@FreeBSD.org>

Use err(3). Cosmetic in usage string. Typo in man page.


# c44252b6 06-Jul-1997 Bruce Evans <bde@FreeBSD.org>

Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,
pascal and vmstat.sparc. All changed files on the vendor branch should
already have been imported.


Revision tags: release/2.2.2_cvs
# 1c8af878 29-Mar-1997 Warner Losh <imp@FreeBSD.org>

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


Revision tags: release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs, release/2.1.6_cvs, release/2.1.6.1, release/2.1.5_cvs
# 77ae30e9 15-Jun-1996 Alexander Langer <alex@FreeBSD.org>

Code clean up. Prototypes, casting, and parentheses around assignments
used as truth value.


# 1d00bf00 09-Jan-1996 Thomas Graichen <graichen@FreeBSD.org>

fixed some printf format mismatches and some lines exceeding 80 col's
(thanks to bruce)


# 9288f266 05-Jan-1996 Thomas Graichen <graichen@FreeBSD.org>

Obtained from: NetBSD
replaced our quota with the NetBSD one, then added all changes we made
to our - this is done to support the displaying of quota's over nfs
using the rpc.rquotad


Revision tags: release/2.1.0_cvs, release/2.0.5_cvs
# da2aae3b 07-May-1995 Bruce Evans <bde@FreeBSD.org>

Fix 3 fatal mismatches in format args involving dbtob() and 10 nonfatal
mismatches.


Revision tags: release/2.0, release/1.1.5.1_cvs
# 9b50d902 27-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Usr.bin Sources


# 09c817ba 03-Jul-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

- MFC


# 54404cfb 19-Jun-2009 Brooks Davis <brooks@FreeBSD.org>

In preparation for raising NGROUPS and NGROUPS_MAX, change base
system callers of getgroups(), getgrouplist(), and setgroups() to
allocate buffers dynamically. Specifically, allocate a buffer of siz

In preparation for raising NGROUPS and NGROUPS_MAX, change base
system callers of getgroups(), getgrouplist(), and setgroups() to
allocate buffers dynamically. Specifically, allocate a buffer of size
sysconf(_SC_NGROUPS_MAX)+1 (+2 in a few cases to allow for overflow).

This (or similar gymnastics) is required for the code to actually follow
the POSIX.1-2008 specification where {NGROUPS_MAX} may differ at runtime
and where getgroups may return {NGROUPS_MAX}+1 results on systems like
FreeBSD which include the primary group.

In id(1), don't pointlessly add the primary group to the list of all
groups, it is always the first result from getgroups(). In principle
the old code was more portable, but this was only done in one of the two
places where getgroups() was called to the overall effect was pointless.

Document the actual POSIX requirements in the getgroups(2) and
setgroups(2) manpages. We do not yet support a dynamic NGROUPS, but we
may in the future.

MFC after: 2 weeks

show more ...


Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0
# 61328d7a 04-Aug-2008 Xin LI <delphij@FreeBSD.org>

Make quota(1) to compile with WARNS=6:
- ANSI'fy showrawquotas().
- Shut up GCC by initializing bgrace and igrace. The situation
that caused the GCC warning can never happen though.


# 049aa2e8 03-Aug-2008 Olivier Houchard <cognet@FreeBSD.org>

ctime() expects a time_t, but qup->dqblk.dqb_btime is an int32_t, so for
big endian platforms where time_t is 64bits (ie armeb and sparc64), it will
be a problem.
Use a temporary time_t to work aroun

ctime() expects a time_t, but qup->dqblk.dqb_btime is an int32_t, so for
big endian platforms where time_t is 64bits (ie armeb and sparc64), it will
be a problem.
Use a temporary time_t to work around this.

Submitted by: Matthew Luckie <mjl AT luckie DOT org dot nz>
MFC after: 3 days

show more ...


Revision tags: release/7.0.0_cvs, release/7.0.0
# df272553 18-Feb-2008 Mike Pritchard <mpp@FreeBSD.org>

Make the human readable numbers printed with the -h option a bit
more human readable by telling the human print routines to use
a smaller buffer to format the value.

This makes it so a value that wa

Make the human readable numbers printed with the -h option a bit
more human readable by telling the human print routines to use
a smaller buffer to format the value.

This makes it so a value that was previously being printed
as 600000K will now print as 586M.

show more ...


Revision tags: release/6.3.0_cvs, release/6.3.0
# 2ffe6bbf 07-May-2007 David Malone <dwmalone@FreeBSD.org>

Use [u]intmax_t to printf unknown integer types.
Make timeprt always allocate memory, to make things a little simpler.
Remove an unused variable.


# f3aad16b 23-Apr-2007 Yaroslav Tykhiy <ytykhiy@gmail.com>

Insert explicit space between the output fields to prevent them
from running together when a field overflows.

MFC after: 1 week


12345