summaryrefslogtreecommitdiffstats
path: root/usr.sbin/edquota
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneeded includes.eadler2012-11-201-2/+0
| | | | | | | Tested with "make universe"; there are no conditional features. Approved by: cperciva MFC after: 3 daus
* Check the return error of set[e][ug]id. While this can never fail in theeadler2012-10-221-2/+4
| | | | | | | | | | current version of FreeBSD, this isn't guarenteed by the API. Custom security modules, or future implementations of the setuid and setgid may fail. Submitted by: Erik Cederstrand Approved by: cperciva MFC after: 3 days
* Remove trailing whitespace per mdoc lint warningeadler2012-03-291-1/+1
| | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
* Spelling fixes for usr.sbin/uqs2011-12-301-1/+1
|
* type / format fixupdes2009-09-271-32/+38
|
* Update the quotafile library to manage both active quotas via themckusick2009-02-141-89/+42
| | | | | | | | quotactl(2) interface and inactive quotas by accessing the quota files directly. Update the edquota program to use this new interface as proof of concept.
* Move hasquota() function to libutil.mckusick2009-02-131-74/+27
|
* More updates to edquota based on feedback from Dag-Erling Smorgrav.mckusick2009-02-101-43/+126
|
* Updates to edquota based on feedback from Dag-Erling Smorgrav.mckusick2009-02-053-41/+67
|
* Finish conversion of edquota to work with 64-bit quotas.mckusick2009-02-043-58/+170
| | | | | | | Add -h option to request "humanized" values such as 1M, 1G, 1T, etc. Discussed with: Dag-Erling Smorgrav Sponsored by: Rsync.net
* WIPdes2009-01-302-72/+30
|
* Drag this code kicking and screaming into the twenty-first century.des2008-07-021-59/+30
|
* Document that quotas must be turned off on a file system andmpp2007-02-041-0/+2
| | | | | then turned back on in order for grace time changes to take effect.
* If two files systems, /a and /b are marked as having quotas enabledmpp2007-02-041-8/+23
| | | | | | | | | | | | | 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
* If quotas are not currently enabled for a file system, edquota -pmpp2007-02-041-8/+63
| | | | | | | | | | | | will operate directly on the quota file. It will incorrectly write the prototype user's usage information for each new quota it sets. Fixed to read in the current quota information and update the file correctly. If quotas are enabled the kernel handles this case fine. PR: bin/15410
* initialize unitialized variables (WARNS=6)charnier2006-09-141-2/+6
|
* Sort sections.ru2005-01-181-2/+2
|
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareimp2004-08-073-12/+1
| | | | (with permission of addtional copyright holders where appropriate)
* Mechanically kill hard sentence breaks.ru2004-07-021-2/+3
|
* o Fix typo: s/bslim/bhlim/.maxim2004-05-251-1/+1
| | | | | | PR: docs/67170 Submitted by: Anatoly Zherdev MFC after: 3 days
* Have edquota honour MAXLOGNAME rather than hardcoding the maximumceri2004-02-241-1/+1
| | | | | | | | | username length to 29 characters. PR: misc/62944 Submitted by: David Hill <david@wmol.com> Approved by: ru MFC after: 1 week
* Userland signed char fixes for PPC build. Problems were using a chargrehan2004-01-221-2/+2
| | | | | | | | | 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
* mdoc(7): Properly mark C headers.ru2003-09-101-1/+1
|
* Minor grammar, punctuation, and wording fixesyar2003-07-291-8/+8
| | | | for the paragraph on the -e option.
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+4
|
* style.Makefile(5)obrien2003-04-041-1/+2
|
* Uniformly refer to a file system as "file system".ru2002-12-121-12/+12
| | | | Approved by: re
* mdoc(7) police: markup fixes.ru2002-11-271-9/+16
| | | | Approved by: re
* Allow edquota(8) to be used for setting up quotas non-interactively (add asobomax2002-09-072-23/+149
| | | | | | | new -e option for that). Feature requested by: Alex V. Belinsky <fozzy@kievweb.net.ua> MFC after: 1 month
* Use "kbytes" instead of "blocks" in messages as this is reallyschweikh2002-08-241-2/+2
| | | | | | | | what is calculated. PR: 41936 Submitted by: Lukas Ertl <le@univie.ac.at> MFC after: 1 week
* Improve the code for detecting UID ranges so that usernames suchiedowse2002-08-091-3/+3
| | | | | | | as "2-xhibit" are not considered as a range. Fix a problem where the code would forget to increment argv. PR: misc/15658
* The .Nm utilitycharnier2002-07-141-2/+3
|
* WARNS=4alfred2002-07-112-4/+2
|
* de-__P()alfred2002-07-111-14/+14
|
* Reorder WARNS line for style.mikeh2001-12-101-2/+1
| | | | Pointed out by: bde
* WARNS=2 cleanup.mikeh2001-12-102-33/+35
| | | | | Submitted by: Maxime Henrion <mux@qualys.com> MFC after: 2 weeks
* mdoc(7) police: removed whitespace at EOL.ru2001-10-011-1/+1
|
* Add a new option to edquota(8) - "-f", which willyar2001-09-282-10/+38
| | | | | | | | | allow to limit the prototype quota distribution (-p) to a single filesystem. Useful when initializing quotas on a newly added disk. PR: bin/30816 Submitted by: Dmitry Morozovsky <marck@rinet.ru>
* Fix the type of the NULL arg to execl()brian2001-07-091-1/+1
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-4/+4
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-1/+0
|
* cleanups of my previous, quick & dirty fix of unaligned access errors on alpha.gallatin2000-10-281-20/+26
| | | | submitted by: bde
* fix unaligned access errors caused by bad scanf/printf format stringsgallatin2000-10-261-4/+4
| | | | | PR: alpha/21247 tested by: Marcin Gryszkalis <dagoon@rs.math.uni.lodz.pl>
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Fix some bad references.chris1999-08-161-2/+2
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | 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
* Fixed overflow in 1K-blocks to disk-blocks conversions. Use quadbde1999-01-011-4/+6
| | | | | | | | arithmetic instead of the special macros in PR 8163 or the magic 2's in PR 381. (Rev.1.3 unfortunately fixed only half of the problems reported in PR 381.) PR: 381, 8163
* Use err(3). Add prototypes.charnier1997-09-172-76/+91
|
OpenPOWER on IntegriCloud