| History log of /src/usr.sbin/repquota |
| Revision | Date | Author | Comments |
| 1.12 | 03-Jun-2023 |
lukem | bsd.own.mk: rename GCC_NO_* to CC_WNO_*
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler.
GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH
Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
|
| 1.11 | 13-Oct-2019 |
mrg | introduce some common variables for use in GCC warning disables:
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)
use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come.
we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
|
| 1.10 | 13-Feb-2012 |
dholland | branches: 1.10.40; Add quotadump(8), which is a link to repquota, and quotarestore(8), which is new. Includes man page updates. Approved by releng for freeze.
|
| 1.9 | 01-Feb-2012 |
dholland | libquota no longer requires libprop. Also remove some other no-longer-used .PATH'd-in bits from repquota.
|
| 1.8 | 24-Mar-2011 |
bouyer | branches: 1.8.4; Add a new libquota library, which contains some blocks to build and/or parse quota plists; as well as a getfsquota() function to retrieve quotas for a single id from a single filesystem (whatever filesystem this is: a local quota-enabled fs or NFS). This is build on functions getufsquota() (for local filesystems with UFS-like quotas) and getnfsquota(); which are also available to userland programs. move functions from quota2_subr.c to libquota or libprop as appropriate, and ajust in-tree quota tools. move some declarations from kernel headers to either sys/quota.h or quota/quota.h as appropriate. ufs/ufs/quota.h still installed because it's needed by other installed ufs headers. ufs/ufs/quota1.h still installed as a quick&dirty way to get a code using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of ufs/ufs/quota.h - old code won't compile without this change and this is on purpose). Discussed on tech-kern@ and tech-net@ (long thread, but not much about libquota itself ...)
|
| 1.7 | 06-Mar-2011 |
christos | - KNF - merge code - fix error printing - don't use static buffers
|
| 1.6 | 06-Mar-2011 |
bouyer | merge the bouyer-quota2 branch. This adds a new on-disk format to store disk quota usage and limits, integrated with ffs metadata. Usage is checked by fsck_ffs (no more quotacheck) and is covered by the WAPBL journal. Enabled with kernel option QUOTA2 (added where QUOTA was enabled in kernel config files), turned on with tunefs(8) on a per-filesystem basis. mount_mfs(8) can also turn quotas on.
See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html for details.
|
| 1.5 | 18-Oct-1997 |
lukem | branches: 1.5.64; rcsid fascism
|
| 1.4 | 22-Dec-1994 |
cgd | specify man pages the new way.
|
| 1.3 | 13-Jun-1994 |
mycroft | Merge local changes.
|
| 1.2 | 30-Jul-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 09-Apr-1993 |
cgd | branches: 1.1.1; added accton, edquota, flcopy, gettable, htable, iostat, quotaon, repquota, trpt, and trsp, per (currently alpha) patch 125.
|
| 1.1.1.1 | 13-Jun-1994 |
mycroft | Update from 4.4-Lite.
|
| 1.5.64.3 | 03-Feb-2011 |
bouyer | factor out code to chech a quota against its limits.
|
| 1.5.64.2 | 29-Jan-2011 |
bouyer | Use quota1_subr.c
|
| 1.5.64.1 | 21-Jan-2011 |
bouyer | Add support for quotactl("getall") command, and convert repquota to new world.
|
| 1.8.4.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.10.40.1 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.18 | 22-Oct-2017 |
abhinav | Add quotadump to the NAME section
|
| 1.17 | 12-May-2012 |
wiz | Bump date for previous.
|
| 1.16 | 12-May-2012 |
dholland | Remove traces of -D flag, which no longer does anything.
|
| 1.15 | 13-Feb-2012 |
wiz | branches: 1.15.2; Bump date for previous.
|
| 1.14 | 13-Feb-2012 |
dholland | Add quotadump(8), which is a link to repquota, and quotarestore(8), which is new. Includes man page updates. Approved by releng for freeze.
|
| 1.13 | 01-Feb-2012 |
wiz | Bump date for previous.
|
| 1.12 | 01-Feb-2012 |
dholland | Reimplement repquota -x to print in tabular form instead of XML.
|
| 1.11 | 06-Mar-2011 |
wiz | branches: 1.11.4; Sort options, split "file system".
|
| 1.10 | 06-Mar-2011 |
bouyer | merge the bouyer-quota2 branch. This adds a new on-disk format to store disk quota usage and limits, integrated with ffs metadata. Usage is checked by fsck_ffs (no more quotacheck) and is covered by the WAPBL journal. Enabled with kernel option QUOTA2 (added where QUOTA was enabled in kernel config files), turned on with tunefs(8) on a per-filesystem basis. mount_mfs(8) can also turn quotas on.
See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html for details.
|
| 1.9 | 07-Aug-2003 |
agc | branches: 1.9.50; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
|
| 1.8 | 25-Feb-2003 |
wiz | .Nm does not need a dummy argument ("") before punctuation or for correct formatting of the SYNOPSIS any longer.
|
| 1.7 | 02-Feb-2002 |
wiz | Sort sections.
|
| 1.6 | 22-Mar-1999 |
garbled | More and more .Os cleanups. .Os is defined in the tmac.doc-common file, so we shouldn't override it with versions in the manpages. Many more to come.
|
| 1.5 | 18-Oct-1997 |
lukem | rcsid fascism
|
| 1.4 | 17-Oct-1997 |
lukem | WARNSify
|
| 1.3 | 13-Jun-1994 |
mycroft | Merge local changes.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS indentifiers.
|
| 1.1 | 09-Apr-1993 |
cgd | branches: 1.1.1; added accton, edquota, flcopy, gettable, htable, iostat, quotaon, repquota, trpt, and trsp, per (currently alpha) patch 125.
|
| 1.1.1.1 | 13-Jun-1994 |
mycroft | Update from 4.4-Lite.
|
| 1.9.50.3 | 14-Feb-2011 |
bouyer | When reading quota1 entries, initialize default quota to unlimited, for POLA when using -x. When displaying quotas, do not skip users which have a 0 usage but are overquota. When -v is used display all existing quota entries, including those with a 0 usage.
|
| 1.9.50.2 | 10-Feb-2011 |
bouyer | Add an option -x to export a filesystem quotas in a plist format, which can be feed to quotactl(8). This is the way to migrate limits from quota1 to quota2.
|
| 1.9.50.1 | 21-Jan-2011 |
bouyer | Add support for quotactl("getall") command, and convert repquota to new world.
|
| 1.11.4.2 | 23-May-2012 |
yamt | sync with head.
|
| 1.11.4.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.15.2.1 | 19-May-2012 |
riz | Pull up following revision(s) (requested by dholland in ticket #268): usr.bin/quota/quota.1: revision 1.18 usr.bin/quota/quota.1: revision 1.19 usr.sbin/repquota/repquota.8: revision 1.16 usr.sbin/repquota/repquota.8: revision 1.17 usr.bin/quota/quota.c: revision 1.49 usr.sbin/repquota/repquota.c: revision 1.44 Remove traces of -D flag, which no longer does anything. Remove traces of -D option, which no longer does anything. Bump date for previous. Bump date for previous.
|
| 1.45 | 16-Jun-2015 |
christos | improve error messages (remove \n, use __func__, etc)
|
| 1.44 | 12-May-2012 |
dholland | Remove traces of -D flag, which no longer does anything.
|
| 1.43 | 13-Feb-2012 |
dholland | branches: 1.43.2; Add quotadump(8), which is a link to repquota, and quotarestore(8), which is new. Includes man page updates. Approved by releng for freeze.
|
| 1.42 | 05-Feb-2012 |
dholland | Remove unneeded #include.
|
| 1.41 | 01-Feb-2012 |
dholland | Simplify elaborate calls to quota_check_limit().
|
| 1.40 | 01-Feb-2012 |
dholland | Reimplement repquota -x to print in tabular form instead of XML.
|
| 1.39 | 29-Jan-2012 |
dholland | Fix unsightly botch in repquota's heading output.
|
| 1.38 | 25-Jan-2012 |
dholland | More cleanup of repquota. For now we're going to compile in the number of possible ID and object types, as making those numbers non-constant requires a major rework.
This removes all dependence on quotaprop.h except for the code for dumping the quota information as a blob of quota RPC XML packets. That needs to go too and be replaced with a tabular dump format, but one thing at a time.
|
| 1.37 | 09-Jan-2012 |
dholland | Remove the explicit fallback direct file access code from repquota and rely on libquota.
|
| 1.36 | 09-Jan-2012 |
dholland | Make repquota use the libquota cursor interface.
|
| 1.35 | 09-Jan-2012 |
dholland | More work on repquota. - open quotahandles, pass them around, use them for metadata - split up some of the proplib code
|
| 1.34 | 09-Jan-2012 |
dholland | Begin cleaning up repquota.
|
| 1.33 | 25-Nov-2011 |
dholland | Rename struct ufs_quota_entry -> struct quotaval.
|
| 1.32 | 30-Sep-2011 |
jym | branches: 1.32.2; Fix an implementation inconsistency with the prop_*_send_syscall() and prop_*_recv_syscall() functions from proplib(3). They now share the same logic as the one from prop_*_send_ioctl() functions: - returns an int - 0 indicates "no error", otherwise returns the error number (and set errno)
Many consumers of the prop_*_{ioctl, syscall} expect errno to be set on error and use err() to display the error message. As such, ensures that errno gets set before returning from these functions.
prop_*_send_syscall() functions returned a boolean, and now return an int. Fix all call sites to use the new paradigm (only quota2 is affected in src).
As the prop_*_{send,recv}_syscall() API appeared in -current and is only used by the recent quota2 code, I am not bumping the lib. The API change only affects the prop_*_send_syscall() function (recv_syscall()s were already used correctly), so ensure you are not mixing "old" -current quota binaries with a new proplib(3) (or the other way around). This change will be announced via a HEADS-UP and UPDATING.
Does not affect the kernel part of proplib.
Document the correct API in prop_array(3) and prop_dictionary(3).
Thanks to Francois Tigeot for noticing the API inconsistency and reporting it on tech-kern@.
ok bouyer@.
|
| 1.31 | 27-Mar-2011 |
bouyer | Make sure to not report quotas for a class if we didn't get valid datas from kernel.
|
| 1.30 | 24-Mar-2011 |
bouyer | Add a new libquota library, which contains some blocks to build and/or parse quota plists; as well as a getfsquota() function to retrieve quotas for a single id from a single filesystem (whatever filesystem this is: a local quota-enabled fs or NFS). This is build on functions getufsquota() (for local filesystems with UFS-like quotas) and getnfsquota(); which are also available to userland programs. move functions from quota2_subr.c to libquota or libprop as appropriate, and ajust in-tree quota tools. move some declarations from kernel headers to either sys/quota.h or quota/quota.h as appropriate. ufs/ufs/quota.h still installed because it's needed by other installed ufs headers. ufs/ufs/quota1.h still installed as a quick&dirty way to get a code using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of ufs/ufs/quota.h - old code won't compile without this change and this is on purpose). Discussed on tech-kern@ and tech-net@ (long thread, but not much about libquota itself ...)
|
| 1.29 | 07-Mar-2011 |
bouyer | Don't use the same char b0[] for BLOCK and FILE timeprt(), they would override each others.
|
| 1.28 | 06-Mar-2011 |
christos | more code deduplication
|
| 1.27 | 06-Mar-2011 |
christos | - KNF - merge code - fix error printing - don't use static buffers
|
| 1.26 | 06-Mar-2011 |
bouyer | merge the bouyer-quota2 branch. This adds a new on-disk format to store disk quota usage and limits, integrated with ffs metadata. Usage is checked by fsck_ffs (no more quotacheck) and is covered by the WAPBL journal. Enabled with kernel option QUOTA2 (added where QUOTA was enabled in kernel config files), turned on with tunefs(8) on a per-filesystem basis. mount_mfs(8) can also turn quotas on.
See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html for details.
|
| 1.25 | 17-Feb-2010 |
bouyer | branches: 1.25.2; Make block fields one char wider; allows to sanely display quotas up to 99.9GB while still fitting 80 columns. Something else needs to be found for the long term ...
|
| 1.24 | 18-Apr-2009 |
lukem | Fix -Wcast-qual issues
|
| 1.23 | 21-Jul-2008 |
lukem | branches: 1.23.4; 1.23.6; 1.23.10; Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
| 1.22 | 05-Mar-2005 |
jdolecek | branches: 1.22.26; make sure there is space between the username and next field when username is longer than 9 characters
|
| 1.21 | 05-Jan-2004 |
jmmv | Homogenize usage messages: make the 'usage' word all lowercase, as this seems to be the most common practice in our tree.
|
| 1.20 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
|
| 1.19 | 20-Mar-2001 |
bouyer | Enlarge inode fields (for quotas with more than 99999 inodes).
|
| 1.18 | 14-Mar-2001 |
bouyer | Fix int overflow for large quota, PR bin/12383 from mori@tri.asanuma.co.jp
|
| 1.17 | 14-Apr-2000 |
simonb | branches: 1.17.4; Don't declare 'extern opt*' getopt variables.
|
| 1.16 | 21-Jan-2000 |
mycroft | Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get the correct definition from errno.h.
|
| 1.15 | 06-Oct-1999 |
ad | When reporting on group quotas, don't label the first column with "User".
|
| 1.14 | 27-Jul-1998 |
mycroft | branches: 1.14.2; 1.14.4; const poisoning.
|
| 1.13 | 23-Oct-1997 |
fair | initialize "cp" in hasquota() to avoid gcc/sparc compiler error: repquota.c:287: warning: `cp' might be used uninitialized in this function
|
| 1.12 | 18-Oct-1997 |
lukem | branches: 1.12.2; use memmove instead of bcopy
|
| 1.11 | 17-Oct-1997 |
lukem | WARNSify
|
| 1.10 | 17-Oct-1997 |
mrg | merge lite-2
|
| 1.9 | 30-Mar-1996 |
mark | Use an integer instead of a char to store the getopt() return value in order to match the function prototype and to work with compilers that default to unsigned chars. Compare the getopt() return value with -1 instead of EOF.
|
| 1.8 | 28-Nov-1995 |
jtc | merge in changes from 1.1 release branch
|
| 1.7 | 03-Jan-1995 |
cgd | branches: 1.7.2; <sys/queue.h> is no longer needed.
|
| 1.6 | 23-Dec-1994 |
cgd | add headers for prototypes.
|
| 1.5 | 20-Dec-1994 |
cgd | compile against new include.
|
| 1.4 | 13-Jun-1994 |
mycroft | Merge local changes.
|
| 1.3 | 13-Jun-1994 |
cgd | update for new fs includes
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 09-Apr-1993 |
cgd | branches: 1.1.1; added accton, edquota, flcopy, gettable, htable, iostat, quotaon, repquota, trpt, and trsp, per (currently alpha) patch 125.
|
| 1.1.1.2 | 23-Nov-1994 |
mrg | 4.4BSD-Lite2
|
| 1.1.1.1 | 13-Jun-1994 |
mycroft | Update from 4.4-Lite.
|
| 1.7.2.1 | 01-Nov-1995 |
jtc | Complete change from ufs -> ffs; (From Tatoku Ogaito; PR #1679)
|
| 1.12.2.1 | 23-Oct-1997 |
mellon | Pull up rev 1.13 from trunk
|
| 1.14.4.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.14.2.1 | 23-Jan-2000 |
he | Pull up revision 1.16 (requested by mycroft): Always do the errno indirection hack, so that non-threaded libraries get the right errno value when linked with -lpthread. This means "always include <errno.h> and never declare errno yourself".
|
| 1.17.4.2 | 13-Nov-2001 |
he | Pull up revision 1.19 (requested by bouyer): Properly display quotas with more than 99999 inodes.
|
| 1.17.4.1 | 13-Nov-2001 |
he | Pull up revision 1.18 (requested by bouyer): Fix int underflow for large quota. Fixes PR#12383.
|
| 1.22.26.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.23.10.1 | 21-Apr-2010 |
matt | sync to netbsd-5
|
| 1.23.6.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.23.4.1 | 22-Feb-2010 |
snj | Pull up following revision(s) (requested by bouyer in ticket #1309): usr.sbin/repquota/repquota.c: revision 1.25 Make block fields one char wider; allows to sanely display quotas up to 99.9GB while still fitting 80 columns. Something else needs to be found for the long term ...
|
| 1.25.2.11 | 05-Mar-2011 |
bouyer | Report user or group name again instead of uid/gid.
|
| 1.25.2.10 | 05-Mar-2011 |
bouyer | Make sure users which don't have quota entries are reported with the default quotas (instead of wrong all-0 quota entry, which cause it to be reported as overquota now)
|
| 1.25.2.9 | 05-Mar-2011 |
bouyer | The new quotactl interface should be filesystem-independant, so check only the MNT_QUOTA flag.
|
| 1.25.2.8 | 14-Feb-2011 |
bouyer | When reading quota1 entries, initialize default quota to unlimited, for POLA when using -x. When displaying quotas, do not skip users which have a 0 usage but are overquota. When -v is used display all existing quota entries, including those with a 0 usage.
|
| 1.25.2.7 | 10-Feb-2011 |
bouyer | Add an option -x to export a filesystem quotas in a plist format, which can be feed to quotactl(8). This is the way to migrate limits from quota1 to quota2.
|
| 1.25.2.6 | 03-Feb-2011 |
bouyer | factor out code to chech a quota against its limits.
|
| 1.25.2.5 | 31-Jan-2011 |
bouyer | Catch up with Q2V -> QL rename
|
| 1.25.2.4 | 30-Jan-2011 |
bouyer | Change timeprt to print in weeks, days, hours, minutes, seconds Change timeprt and intprt to take the number of acceptable char as argument Drop HN_PRIV_UNLIMITED, the printable space will decide how to print "unlimited"
|
| 1.25.2.3 | 30-Jan-2011 |
bouyer | Implement "get version" quotactl command, which return the filesystem's enabled quota versiob (1 for legacy, 2 for new). For quota2, make quota and repquota print the user's allowed grace period if -v is given and not overquota (if overquota, the remaining time is printed instead, as usual).
|
| 1.25.2.2 | 29-Jan-2011 |
bouyer | Use quota1_subr.c
|
| 1.25.2.1 | 21-Jan-2011 |
bouyer | Add support for quotactl("getall") command, and convert repquota to new world.
|
| 1.32.2.2 | 23-May-2012 |
yamt | sync with head.
|
| 1.32.2.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.43.2.1 | 19-May-2012 |
riz | Pull up following revision(s) (requested by dholland in ticket #268): usr.bin/quota/quota.1: revision 1.18 usr.bin/quota/quota.1: revision 1.19 usr.sbin/repquota/repquota.8: revision 1.16 usr.sbin/repquota/repquota.8: revision 1.17 usr.bin/quota/quota.c: revision 1.49 usr.sbin/repquota/repquota.c: revision 1.44 Remove traces of -D flag, which no longer does anything. Remove traces of -D option, which no longer does anything. Bump date for previous. Bump date for previous.
|