aboutsummaryrefslogtreecommitdiff
path: root/libexec/rpc.rquotad
Commit message (Collapse)AuthorAgeFilesLines
* This exposes ZFS user and group quotas via the normalSean Eric Fagan2018-07-051-50/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | quatactl(2) mechanism. (Read-only at this point, however.) In particular, this is to allow rpc.rquotad query quotas for NFS mounts, allowing users to see their quotas on the hosts using the datasets. The changes specifically: * Add new RPC entry points for querying quotas. * Changes the library routines to allow non-UFS quotas. * Changes rquotad to check for quotas on mounted filesystems, rather than being limited to entries in /etc/fstab * Lastly, adds a VFS entry-point for ZFS to query quotas. Note that this makes one unavoidable behavioural change: if quotas are enabled, then they can be queried, as opposed to the current method of checking for quotas being specified in fstab. (With ZFS, if there are user or group quotas, they're used, always.) Reviewed by: delphij, mav Approved by: mav Sponsored by: iXsystems Inc Differential Revision: https://reviews.freebsd.org/D15886 Notes: svn path=/head/; revision=336017
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+23
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-271-2/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+24
| | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | Convert to LIBADDBaptiste Daroussin2014-11-251-2/+1
|/ | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275077
* The NFS quota-reporting RPC uses 32-bit sized fields. We approximateKirk McKusick2010-04-251-4/+7
| | | | | | | | | | | | 64-bit quota sizes by scaling down the sizes by the minimum amount necessary to fit in a 32-bit field and then upscale the filesystem block size to compensate. For example, if the hard block limit is 0x300000008 then we set the hard block limit to 0xA0000002 and claim that the blocksize is 4 * DEV_BSIZE. This will lose the minimal amount of information thus delivering nearly correct answers. Notes: svn path=/projects/quota64/; revision=207177
* IFH@204581Dag-Erling Smørgrav2010-03-041-2/+0
|\ | | | | | | Notes: svn path=/projects/quota64/; revision=204708
| * Make WARNS=6 the default for libexec/.Ed Schouten2010-01-021-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just like bin/ and sbin/, I think setting WARNS to the highest value possible will make it more attractive for people to fix warnings. - The WARNS variable is set in the Makefile in the directory of the application itself, making it more likely that it will be removed out of curiosity to see what happens. - New applications will most likely build with WARNS=6 out of the box, because the author would more likely fix the warnings during development than lower WARNS. Unfortunately almost all apps in libexec require a lowered value of WARNS. Notes: svn path=/head/; revision=201380
* | WIP: the last missing piece of the quota64 puzzle. Not quite thereDag-Erling Smørgrav2010-03-041-103/+28
| | | | | | | | | | | | | | yet. Notes: svn path=/projects/quota64/; revision=204681
* | Sync from head.Dag-Erling Smørgrav2009-09-261-31/+12
|\| | | | | | | Notes: svn path=/projects/quota64/; revision=197533
| * printerr_reply() has never been used for as long as we've had this code inDag-Erling Smørgrav2009-09-261-31/+12
| | | | | | | | | | | | | | | | our tree (13+ years). This is an excellent argument for aggressive use of "static". Notes: svn path=/head/; revision=197531
* | Sync with headDag-Erling Smørgrav2009-09-251-5/+3
|\| | | | | | | Notes: svn path=/projects/quota64/; revision=197511
| * Other minor style issues.Dag-Erling Smørgrav2009-09-251-5/+3
| | | | | | | | Notes: svn path=/head/; revision=197508
* | Sync with headDag-Erling Smørgrav2009-09-251-18/+16
|\| | | | | | | Notes: svn path=/projects/quota64/; revision=197507
| * Slight style cleanup.Dag-Erling Smørgrav2009-09-251-18/+16
| | | | | | | | Notes: svn path=/head/; revision=197506
* | WIPDag-Erling Smørgrav2009-01-302-23/+9
|/ | | | Notes: svn path=/projects/quota64/; revision=187914
* Whitespace and style fixes, build at WARNS level 6.Dag-Erling Smørgrav2008-11-042-29/+35
| | | | | | | MFC after: 3 weeks Notes: svn path=/head/; revision=184638
* Fix most cases where the address of an int is passed to a function expecting aStefan Farfeleder2005-02-141-1/+1
| | | | | | | socklen_t * argument. Notes: svn path=/head/; revision=141918
* Sort sections.Ruslan Ermilov2005-01-181-2/+2
| | | | Notes: svn path=/head/; revision=140414
* Eliminate last three uses of varargs.h in the tree. These three filesAlexander Kabaev2003-09-011-1/+0
| | | | | | | | were including varargs.h file but did not use any of its macros, so they escaped the clean-up before. Notes: svn path=/head/; revision=119632
* Uniformly refer to a file system as "file system".Ruslan Ermilov2002-12-121-2/+2
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107788
* Port to TI/RPC and/or IPV6.Alfred Perlstein2002-07-151-19/+23
| | | | | | | Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr> Notes: svn path=/head/; revision=100120
* The .Nm utilityPhilippe Charnier2002-07-061-8/+12
| | | | Notes: svn path=/head/; revision=99500
* Spell void * as void * rather than caddr_t. This is complicated by theDag-Erling Smørgrav2002-04-281-5/+5
| | | | | | | | | fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=95658
* o __P removalWarner Losh2002-02-071-26/+14
| | | | | | | | o use new style prototypes and function definitions o signal handlers need an argument. Mark it unused. Notes: svn path=/head/; revision=90336
* Remove whitespace at EOL.Dima Dorfman2001-07-151-4/+4
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79529
* stat(2) filesystem quotas act on, not filesystem quotas file resides on.Mike Heffner2001-06-191-1/+1
| | | | | | | | PR: bin/4949 MFC after: 2 weeks Notes: svn path=/head/; revision=78457
* - Backout botched attempt to intoduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74814
* Set the default manual section for libexec/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74529
* Fix various man pages to stop abusing the .Bx macro to generate theMike Pritchard2000-01-231-1/+1
| | | | | | | string "FreeBSD". Use the .Fx macro instead. Notes: svn path=/head/; revision=56417
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50476
* Cosmetics in man page. Add rcsid and sort #includes.Philippe Charnier1997-11-262-15/+22
| | | | Notes: svn path=/head/; revision=31420
* Change a reference to NetBSD to FreeBSD.Mike Pritchard1997-03-141-2/+5
| | | | Notes: svn path=/head/; revision=23880
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-222-2/+2
| | | | Notes: svn path=/head/; revision=22989
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-142-2/+2
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Obtained from: NetBSDThomas Graichen1996-01-053-0/+399
Imported rpc.rquotad from NetBSD - currently only used by the quota-command to display quota's over nfs Notes: svn path=/vendor/NetBSD/dist/; revision=13237