#
a6fe717c |
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
libexec: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
R
libexec: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
1d386b48 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0 |
|
#
aad5531e |
| 06-Jul-2018 |
Sean Eric Fagan <sef@FreeBSD.org> |
This exposes ZFS user and group quotas via the normal quatactl(2) mechanism. (Read-only at this point, however.) In particular, this is to allow rpc.rquotad query quotas for NFS mounts, allowing use
This exposes ZFS user and group quotas via the normal 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
show more ...
|
Revision tags: release/11.2.0, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0 |
|
#
e27ed89a |
| 07-May-2010 |
Kirk McKusick <mckusick@FreeBSD.org> |
Merger of the quota64 project into head.
This joint work of Dag-Erling Smørgrav and myself updates the FFS quota system to support both traditional 32-bit and new 64-bit quotas (for those of you who
Merger of the quota64 project into head.
This joint work of Dag-Erling Smørgrav and myself updates the FFS quota system to support both traditional 32-bit and new 64-bit quotas (for those of you who want to put 2+Tb quotas on your users).
By default quotas are not compiled into the kernel. To include them in your kernel configuration you need to specify:
options QUOTA # Enable FFS quotas
If you are already running with the current 32-bit quotas, they should continue to work just as they have in the past. If you wish to convert to using 64-bit quotas, use `quotacheck -c 64'; if you wish to revert from 64-bit quotas back to 32-bit quotas, use `quotacheck -c 32'.
There is a new library of functions to simplify the use of the quota system, do `man quotafile' for details. If your application is currently using the quotactl(2), it is highly recommended that you convert your application to use the quotafile interface. Note that existing binaries will continue to work.
Special thanks to John Kozubik of rsync.net for getting me interested in pursuing 64-bit quota support and for funding part of my development time on this project.
show more ...
|
#
50921097 |
| 25-Apr-2010 |
Kirk McKusick <mckusick@FreeBSD.org> |
The NFS quota-reporting RPC uses 32-bit sized fields. We approximate 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 filesys
The NFS quota-reporting RPC uses 32-bit sized fields. We approximate 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.
show more ...
|
Revision tags: release/7.3.0_cvs, release/7.3.0 |
|
#
9dc9c85f |
| 04-Mar-2010 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
WIP: the last missing piece of the quota64 puzzle. Not quite there yet.
|
Revision tags: release/8.0.0_cvs, release/8.0.0 |
|
#
1ee774f6 |
| 02-Oct-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC
|
#
3f89d457 |
| 27-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Sync from head.
|
#
2db2319d |
| 27-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
printerr_reply() has never been used for as long as we've had this code in our tree (13+ years). This is an excellent argument for aggressive use of "static".
|
#
4085a92b |
| 26-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Sync with head
|
#
95f1d628 |
| 26-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Other minor style issues.
|
#
0fbc5fbe |
| 26-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Sync with head
|
#
ebb2b0f2 |
| 26-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Slight style cleanup.
|
Revision tags: release/7.2.0_cvs, release/7.2.0 |
|
#
1b3515f3 |
| 30-Jan-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
WIP
|
Revision tags: release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
e0df7615 |
| 04-Nov-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
MFH (r184638): build at WARNS level 6
|
#
3ebc6944 |
| 04-Nov-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Whitespace and style fixes, build at WARNS level 6.
MFC after: 3 weeks
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0 |
|
#
78e3eed0 |
| 14-Feb-2005 |
Stefan Farfeleder <stefanf@FreeBSD.org> |
Fix most cases where the address of an int is passed to a function expecting a socklen_t * argument.
|
Revision tags: release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
#
84c0a482 |
| 01-Sep-2003 |
Alexander Kabaev <kan@FreeBSD.org> |
Eliminate last three uses of varargs.h in the tree. These three files were including varargs.h file but did not use any of its macros, so they escaped the clean-up before.
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1 |
|
#
af37179b |
| 15-Jul-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Port to TI/RPC and/or IPV6.
Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
|
Revision tags: release/4.6.0_cvs |
|
#
f249dbcc |
| 28-Apr-2002 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Spell void * as void * rather than caddr_t. This is complicated by the fact that caddr_t is often misspelled as char *.
Sponsored by: DARPA, NAI Labs
|
#
a174e5b1 |
| 07-Feb-2002 |
Warner Losh <imp@FreeBSD.org> |
o __P removal o use new style prototypes and function definitions o signal handlers need an argument. Mark it unused.
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
33a22f46 |
| 19-Jun-2001 |
Mike Heffner <mikeh@FreeBSD.org> |
stat(2) filesystem quotas act on, not filesystem quotas file resides on.
PR: bin/4949 MFC after: 2 weeks
|
Revision tags: release/4.3.0_cvs, release/4.3.0, release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs |
|
#
7f3dea24 |
| 28-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7, release/2.2.6 |
|
#
9ce3627b |
| 26-Nov-1997 |
Philippe Charnier <charnier@FreeBSD.org> |
Cosmetics in man page. Add rcsid and sort #includes.
|
Revision tags: release/2.2.5_cvs, release/2.2.2_cvs, release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs, release/2.1.6_cvs, release/2.1.6.1, release/2.1.5_cvs |
|
#
1a3e5dd7 |
| 05-Jan-1996 |
Thomas Graichen <graichen@FreeBSD.org> |
Obtained from: NetBSD Imported rpc.rquotad from NetBSD - currently only used by the quota-command to display quota's over nfs
|