History log of /freebsd-current/usr.sbin/repquota/repquota.c
Revision Date Author Comments
# 0b8224d1 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

Remove copyright strings ifdef'd out

We've ifdef'd out the copyright strings for some time now. Go ahead and
remove the ifdefs. Plus whatever other detritis was left over from other
recent removals. These copyright strings are present in the comments and
are largely from CSRG's attempt at adding their copyright to every
binary file (which modern interpretations of the license doesn't
require).

Sponsored by: Netflix


# 8a7b6120 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.sbin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# a2cc93ec 07-Jul-2023 Alfonso Gregory <gfunni234@gmail.com>

Mark usage function as __dead2 in programs where it does not return

In most cases, usage does not return, so mark them as __dead2. For the
cases where they do return, they have not been marked __dead2.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/735


# 8a16b7a1 20-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

General further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 3-Clause license.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.


# fbbd9655 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96


# bf70bece 19-Oct-2012 Ed Schouten <ed@FreeBSD.org>

More -Wmissing-variable-declarations fixes.

In addition to adding `static' where possible:

- bin/date: Move `retval' into extern.h to make it visible to date.c.
- bin/ed: Move globally used variables into ed.h.
- sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings.
- usr.bin/calendar: Remove unneeded variables.
- usr.bin/chat: Make `line' local instead of global.
- usr.bin/elfdump: Comment out unneeded function.
- usr.bin/rlogin: Use _Noreturn instead of __dead2.
- usr.bin/tset: Pull `Ospeed' into extern.h.
- usr.sbin/mfiutil: Put global variables in mfiutil.h.
- usr.sbin/pkg: Remove unused `os_corres'.
- usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# 516ad57b 16-Mar-2010 Kirk McKusick <mckusick@FreeBSD.org>

Debugging nits found while testing the new 64-bit quota code.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 7c54172a 04-Mar-2010 Dag-Erling Smørgrav <des@FreeBSD.org>

Fix warnings + indentation + utmpx


# f449291b 05-Dec-2009 Ed Schouten <ed@FreeBSD.org>

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).


# 4e717eea 20-Oct-2009 Kirk McKusick <mckusick@FreeBSD.org>

Claen up format when doing non-humanized output.


# 0cf50fd7 19-Oct-2009 Kirk McKusick <mckusick@FreeBSD.org>

Update to work with quotafile functions in -libutil.
Add -h flag to provide humanized output.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 8f518424 02-Jul-2008 Dag-Erling Smørgrav <des@FreeBSD.org>

Drag this code kicking and screaming into the twenty-first century.


# ea110230 18-Sep-2007 Mike Pritchard <mpp@FreeBSD.org>

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)


# fbb42904 03-Feb-2007 Mike Pritchard <mpp@FreeBSD.org>

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


# f8c5e127 19-Dec-2004 Maxim Konovalov <maxim@FreeBSD.org>

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


# 486c8cc4 06-Aug-2004 Warner Losh <imp@FreeBSD.org>

Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software
(with permission of addtional copyright holders where appropriate)


# 5cfe0423 22-Jan-2004 Peter Grehan <grehan@FreeBSD.org>

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


# 974ac919 07-Jul-2003 Brooks Davis <brooks@FreeBSD.org>

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


# b728350e 03-May-2003 David E. O'Brien <obrien@FreeBSD.org>

Use __FBSDID over rcsid[]. Protect copyright[] where needed.


# d8c96595 11-Jul-2002 Alfred Perlstein <alfred@FreeBSD.org>

WARNS=4, de-__P()


# 67c8020f 15-May-2002 Tom Rhodes <trhodes@FreeBSD.org>

Consistancy check: s/file system/filesystem/g


# 10acff06 25-Feb-2002 Bruce Evans <bde@FreeBSD.org>

#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.


# 0ca71ce7 09-Dec-2001 Mike Heffner <mikeh@FreeBSD.org>

WARNS=2 cleanup.

Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 2 weeks


# 886cc6da 18-Jun-2001 Dima Dorfman <dd@FreeBSD.org>

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>


# a8ae1d2b 31-Oct-1999 Julian Elischer <julian@FreeBSD.org>

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>


# 97d92980 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# f1838373 11-Jun-1999 Joseph Koshy <jkoshy@FreeBSD.org>

Larger, space separated fields in the output of repquota.

PR: 8730
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>


# 4cc28395 14-Jun-1998 Andrey A. Chernov <ache@FreeBSD.org>

Make it compatible with long usernames


# 713fe15b 13-Oct-1997 Philippe Charnier <charnier@FreeBSD.org>

Use err(3). Add prototypes.


# 59fe2c14 02-Aug-1997 Bruce Evans <bde@FreeBSD.org>

Import Lite2's src/usr.sbin, except for timed. All changed files
except one unimportant one have already left the vendor branch.


# 6c3f552a 30-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.


# 709e8f9a 29-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.


# 2d732692 07-May-1995 Bruce Evans <bde@FreeBSD.org>

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


# dea673e9 25-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite usr.sbin Sources