summaryrefslogtreecommitdiffstats
path: root/usr.sbin/edquota/edquota.c
Commit message (Collapse)AuthorAgeFilesLines
* Allow the use of uid ranges when using the "-p" option to allowmpp1996-03-311-1/+22
| | | | | | | | | | | | 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
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-261-0/+722
OpenPOWER on IntegriCloud