summaryrefslogtreecommitdiffstats
path: root/usr.sbin/edquota
Commit message (Collapse)AuthorAgeFilesLines
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-2/+0
|
* 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
|
* Remove temporary file on exit.jlemon1997-08-191-0/+2
| | | | | PR: 4010 Submitted by: "Anatoly A. Orehovsky" <tolik@www.tomsk.su>
* Show the real revision date and not the date that thissteve1997-06-231-1/+1
| | | | manpage is being viewed.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-1/+1
| | | | posix standard on the topic.
* Sort cross references.wosch1997-01-201-1/+1
|
* Convert to mdoc format.mpp1996-12-211-76/+88
|
* Allow the use of uid ranges when using the "-p" option to allowmpp1996-03-312-1/+30
| | | | | | | | | | | | easy setup of default quotas for a range of uids. Usage: edquota -p protouser startuid-enduid E.g. edquota -p mpp 10000-19999 Will duplicate the quota limints for user mpp for uids 10000 - 19999. The uids in question do not have to currently exist in /etc/passwd.
* Cast some expressions involving dbtob() to (unsigned long) and print thembde1995-05-071-12/+12
| | | | | | | | | | | | | using %lu. This became more broken when I fixed dbtob() to support byte offsets >= 4GB. The type had to change to [u]quad_t. Previously the expressions had type unsigned long and were printed using %d. After division by 1024, the expressions are guaranteed to fit in an unsigned long, at least for the standard DEV_BSIZE, so edquota doesn't need to know about quad_t's explicitly. Fix all the other format mismatches exposed by compiling with -Wformat (6 more quota limits of type unsigned long printed using %d and 6 time_t's (i.e., longs) printed using %d).
* Make edquota works with other then vi editors,ache1994-11-221-10/+8
| | | | i.e.check file by name, not by fd
* Get rid of update. Make man page installation work with our schemewollman1994-08-051-1/+1
| | | | (and rename a few in the process).
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-264-0/+917
OpenPOWER on IntegriCloud