summaryrefslogtreecommitdiffstats
path: root/usr.sbin/quot
Commit message (Collapse)AuthorAgeFilesLines
* quot: make use of our rounddown() macro when <sys/param.h> is available.pfg2016-05-021-2/+2
| | | | No functional change.
* Add META_MODE support.sjg2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | 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
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Updated dependenciessjg2014-05-161-1/+0
| |
| * Updated dependenciessjg2014-05-101-0/+2
| |
| * Updated dependenciessjg2013-03-111-0/+1
| |
| * Updated dependenciessjg2013-02-161-2/+0
| |
| *-. Sync from headsjg2012-11-041-3/+3
| |\ \ | |/ / |/| |
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+19
| |/ | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | Fix usr.bin/ and usr.sbin/ build with a 64-bit ino_t.mdf2012-09-271-3/+3
|/ | | | Original code by: Gleb Kurtsou
* The dump, fsck_ffs, fsdb, fsirand, newfs, makefs, and quot utilitiesmckusick2011-01-241-1/+1
| | | | | | | | | | | | | | include sys/time.h instead of time.h. This include is incorrect as per the manpages for the APIs and the POSIX definitions. This commit replaces sys/time.h where necessary with time.h. The commit also includes some minor style(9) header fixup in newfs. This commit is part of a larger effort by Garrett Cooper started in //depot/user/gcooper/posix-conformance-work/ -- to make FreeBSD more POSIX compliant. Submitted by: Garrett Cooper yanegomi at gmail dot com
* Make `quot -a' work when we've got slashes in the device name.ed2008-09-141-10/+2
| | | | | | | | | | | | | A very long time ago we had raw device nodes. quot(8) was supposed to use these when running `quot -a'. For some reason the code got once changed to strip the device name until it reaches the last slash. This is not reliable, because this means /dev/mirror/foo will be stripped to /dev/foo. This bug also exists on RELENG_7 and RELENG_6, but I think I'll just merge them back somewhere after the upcoming releases. There's no rush. MFC after: 2 months
* Drag this code kicking and screaming into the twenty-first century.des2008-07-021-75/+51
|
* o Check we have a non-NULL pointer to a super block before dereference it.maxim2006-09-301-1/+1
| | | | | | PR: misc/103822 Submitted by: Dmitry Stefankov MFC after: 2 weeks
* The quot command expected all inodes contents to be valid, howeverdwmalone2006-02-251-3/+31
| | | | | | | | | | | | | | | | | on UFS2 inodes are initialised as they are needed, rather than at newfs time. When quot encountered these inodes it could produce crazy results. Now, on UFS2 filesystems, quot's get_inode function will bzero unallicated inodes before passing them back to a caller. This is how UFS2 initialises new inodes, so this should work OK. Also, while I'm here, make quot exit with an error if it finds inodes of an unknown type. This should help catch future problems of this type. Reviewed by: iedowse MFC after: 1 week
* Remove unused variables.stefanf2005-04-091-3/+1
|
* Sort sections.ru2005-01-181-7/+7
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+2
|
* Repair the UFS2 superblock location consistency check so that it succeedstjr2003-04-251-1/+1
| | | | | | | on valid superblocks instead of issuing the error "not a BSD filesystem". fs_sblockloc is a byte offset, not a fragment number. This change makes quot work properly on UFS2 filesystems, which is important now that UFS2 is the default.
* style.Makefile(5)obrien2003-04-041-1/+2
|
* Remove contractions.trhodes2003-02-181-3/+3
| | | | Use `Force' in place of `Cause' which sounds better.
* Back out rev 1.19; getbsize(3)'s original interface has been restored.mike2002-12-301-1/+1
|
* Uniformly refer to a file system as "file system".ru2002-12-121-1/+1
| | | | Approved by: re
* another int * to size_t * change for getbsize() to make it compilegallatin2002-10-241-1/+1
| | | | on LP64 hosts
* Use POSIX-style sort syntax in exampleache2002-09-241-1/+1
|
* The .Nm utilitycharnier2002-07-141-1/+3
|
* This commit adds basic support for the UFS2 filesystem. The UFS2mckusick2002-06-211-53/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filesystem expands the inode to 256 bytes to make space for 64-bit block pointers. It also adds a file-creation time field, an ability to use jumbo blocks per inode to allow extent like pointer density, and space for extended attributes (up to twice the filesystem block size worth of attributes, e.g., on a 16K filesystem, there is space for 32K of attributes). UFS2 fully supports and runs existing UFS1 filesystems. New filesystems built using newfs can be built in either UFS1 or UFS2 format using the -O option. In this commit UFS1 is the default format, so if you want to build UFS2 format filesystems, you must specify -O 2. This default will be changed to UFS2 when UFS2 proves itself to be stable. In this commit the boot code for reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c) as there is insufficient space in the boot block. Once the size of the boot block is increased, this code can be defined. Things to note: the definition of SBSIZE has changed to SBLOCKSIZE. The header file <ufs/ufs/dinode.h> must be included before <ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and ufs_lbn_t. Still TODO: Verify that the first level bootstraps work for all the architectures. Convert the utility ffsinfo to understand UFS2 and test growfs. Add support for the extended attribute storage. Update soft updates to ensure integrity of extended attribute storage. Switch the current extended attribute interfaces to use the extended attribute storage. Add the extent like functionality (framework is there, but is currently never used). Sponsored by: DARPA & NAI Labs. Reviewed by: Poul-Henning Kamp <phk@freebsd.org>
* Unbreak Alpha build.des2002-05-151-2/+4
|
* Sigh... Yet a BBSIZE breakage.phk2002-05-121-0/+1
|
* Reorder WARNS line for style.mikeh2001-12-101-2/+1
| | | | Pointed out by: bde
* WARNS=2 cleanup.mikeh2001-12-092-15/+41
| | | | | PR: bin/32567 MFC after: 2 weeks
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: cosmetics.ru2001-07-051-1/+3
|
* Remove ncheck in an example; FreeBSD does not have it.schweikh2001-06-161-1/+3
| | | | | | PR: 10158 Submitted by: Remy Card <card@ens.uvsq.fr> MFC after: 2 weeks
* - 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/+0
|
* Allow for the last arugment to be the mountpoint of a filesystem,ps2001-03-101-2/+9
| | | | not just the device.
* Add `_PATH_DEVZERO'.obrien2000-12-091-1/+2
| | | | Use _PATH_* where where possible.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* /dev/rXXX -> /dev/XXXmsmith2000-05-311-1/+1
|
* Fix various man pages to stop abusing the .Bx macro to generatempp2000-01-231-1/+1
| | | | the string "FreeBSD". Use the .Fx macro instead.
* Do not repeat the name of the flag. Change alloc to allocate for bettercharnier1999-11-272-8/+8
| | | | spelling of printed messages.
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* PR: bin/8624dillon1998-12-131-2/+5
| | | | | Fixed intermediate calculation overflow when reporting users with > 2GB of disk space.
* .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENTphk1998-05-131-2/+2
| | | | | | PR: 6599 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net>
* Started getting rid of the compatibility cruft for the Lite1 mount()bde1998-01-171-6/+2
| | | | | | | | | and the pre-Lite2 vfsconf interfaces. For quot, just back out revs. 1.1 and 1.2 and change MNT_FFS to "ufs", so that vfsconf isn't used at all. Revs. 1.1 and 1.2 were hacks to get around f_fstypename not being in `struct statfs' in Lite1.
* Use err(3). Silent -Wall.charnier1997-10-102-77/+74
|
* environmental -> environment.charnier1997-09-181-3/+3
|
* Cast argument to lseek() properly to off_t.jkh1997-08-131-2/+2
| | | | | PR: 4246 Obtained from: review of PR and NetBSD sources.
OpenPOWER on IntegriCloud