History log of /src/usr.sbin/quot/quot.c |
Revision | | Date | Author | Comments |
1.35 |
| 17-Nov-2022 |
chs | Restore backward compatibility of UFS2 with previous NetBSD releases by disabling support in UFS2 for extended attributes (including ACLs). Add a new variant of UFS2 called "UFS2ea" that does support extended attributes. Add new fsck_ffs operations "-c ea" and "-c no-ea" to convert file systems from UFS2 to UFS2ea and vice-versa (both of which delete all existing extended attributes in the process).
|
1.34 |
| 28-Jul-2016 |
martin | From Michael Plass:
The superblock field that distinguishes between 4.2BSD and 4.4BSD inodes is really only relevant on a UFS1 file system. Make sure that it is a UFS1 fs before using fs_old_inodefmt.
Note that the NetBSD newfs and mkfs utilities initialize fs_old_inodefmt even for UFS2, so problems were apparent only on file systems created by other operating systems, for example, FreeBSD.
|
1.33 |
| 19-Oct-2013 |
christos | branches: 1.33.4; 1.33.6; 1.33.8; fix unused variable warnings.
|
1.32 |
| 23-Jun-2013 |
dholland | Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of the following symbols so as to disambiguate fully. (Christos already did the lfs ones.)
lblkno lblktosize lfragtosize numfrags blkroundup fragroundup
|
1.31 |
| 19-Jun-2013 |
dholland | Rename ambiguous macros: MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR INOPB -> FFS_INOPB, LFS_INOPB INOPF -> FFS_INOPF, LFS_INOPF blksize -> ffs_blksize, ext2_blksize, or lfs_blksize sblksize -> ffs_blksize
These are not the only ambiguously defined filesystem macros, of course, there's a pile more. I may not have found all the ambiguous definitions of blksize(), too, as there are a lot of other things called 'blksize' in the system.
|
1.30 |
| 22-Jan-2013 |
dholland | Stuff UFS_ in front of a few of ufs's symbols to reduce namespace pollution. Specifically: ROOTINO -> UFS_ROOTINO WINO -> UFS_WINO NXADDR -> UFS_NXADDR NDADDR -> UFS_NDADDR NIADDR -> UFS_NIADDR MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)
Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have the same values in ext2fs and ffs.
No functional change intended.
|
1.29 |
| 06-Mar-2011 |
christos | branches: 1.29.4; 1.29.6; 1.29.10; 1.29.12; 1.29.14; KNF
|
1.28 |
| 18-Apr-2009 |
lukem | Fix -Wcast-qual issue
|
1.27 |
| 17-Jul-2007 |
christos | branches: 1.27.20; Eliminate MFSNAMELEN
|
1.26 |
| 20-Aug-2005 |
kent | fix compilatio problems on LP64
|
1.25 |
| 19-Aug-2005 |
christos | 64 bit inode changes
|
1.24 |
| 21-Apr-2004 |
christos | Replace the statfs() family of system calls with statvfs(). Retain binary compatibility.
|
1.23 |
| 27-Mar-2004 |
dsl | ffsv2 might not have FS_FLAGS_UPDATED set
|
1.22 |
| 21-Mar-2004 |
dsl | When searching for the superblock, don't pick an ffsv1 superblock from the location where we expect to find an ffsv2 superblock. It could be the first alternate for a ffsv1 filesystem with 64k blocks. Fixes part of PR kern/24809
|
1.21 |
| 06-Jan-2004 |
wiz | Remove unused max macro. From Jeff Ito in PR 23995.
|
1.20 |
| 05-Jan-2004 |
jmmv | Homogenize usage messages: make the 'usage' word all lowercase, as this seems to be the most common practice in our tree.
|
1.19 |
| 30-May-2003 |
simonb | Pass a NULL to getbsize() for any arguments that aren't needed, and remove the otherwise unused variables.
|
1.18 |
| 02-Apr-2003 |
fvdl | Add support for UFS2. UFS2 is an enhanced FFS, adding support for 64 bit block pointers, extended attribute storage, and a few other things.
This commit does not yet include the code to manipulate the extended storage (for e.g. ACLs), this will be done later.
Originally written by Kirk McKusick and Network Associates Laboratories for FreeBSD.
|
1.17 |
| 26-Oct-2001 |
lukem | remove #include <ufs/ufs/quota.h> where it was just to appease <ufs/ufs/inode.h>, since the latter now includes the former. leave the former in source that obviously uses specific bits of it (for completeness.)
|
1.16 |
| 06-Oct-1999 |
mycroft | Adjust this to work on the Alpha.
|
1.15 |
| 05-Oct-1999 |
mycroft | Make this work on file systems larger than 2GB.
|
1.14 |
| 01-Mar-1998 |
fvdl | branches: 1.14.2; 1.14.4; Merge with Lite2 + local changes
|
1.13 |
| 06-Nov-1997 |
mrg | use warn not warnx to find out why the open failed (as old quot did).
|
1.12 |
| 18-Oct-1997 |
lukem | branches: 1.12.2; deprecate register, use err/warn instead of perror, memmove instead of bcopy
|
1.11 |
| 17-Oct-1997 |
lukem | WARNSify
|
1.10 |
| 12-Dec-1996 |
mycroft | Format police.
|
1.9 |
| 24-May-1996 |
ws | Fix PR 2462 While I am here do some reformatting, remove hardwired DEV_BSIZE values, add old fs compatibility (stolen from libsa), and change to new RCSids.
|
1.8 |
| 24-May-1996 |
mrg | pull in <unistd.h> to make lseek() work ...
|
1.7 |
| 28-Nov-1995 |
jtc | branches: 1.7.4; merge in changes from 1.1 release branch
|
1.6 |
| 13-Jun-1994 |
cgd | branches: 1.6.4; fix a macro's usage
|
1.5 |
| 13-Jun-1994 |
cgd | update for new fs includes
|
1.4 |
| 25-Apr-1994 |
cgd | need <sys/time.h>
|
1.3 |
| 14-Apr-1994 |
cgd | fs type names
|
1.2 |
| 11-Feb-1994 |
cgd | general: cleanup. fix RCS Id's. ("$Id $" doesn't work.) Makefile: no special bingrp. quot.8: bugs section is empty; comment it out. quot.c: add static RCS Id, KNF-ify, break long lines.
|
1.1 |
| 10-Feb-1994 |
ws | branches: 1.1.1; Initial revision
|
1.1.1.1 |
| 10-Feb-1994 |
ws | First version of a quot utility
|
1.6.4.1 |
| 01-Nov-1995 |
jtc | complete ufs -> ffs change (From John Kohl; PR #1403)
|
1.7.4.1 |
| 31-May-1996 |
jtc | pulled up from version 1.9 by request of ws
|
1.12.2.1 |
| 06-Nov-1997 |
mellon | Pull rev 1.13 up from trunk (mrg)
|
1.14.4.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.14.2.1 |
| 10-Oct-1999 |
cgd | pull up revs 1.15-1.16 from trunk (requested by mycroft): Fix integer overflows with file systems >=2GB.
|
1.27.20.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.29.14.1 |
| 27-Aug-2016 |
bouyer | Pull up following revision(s) (requested by martin in ticket #1395): sys/ufs/ffs/ffs_vfsops.c: revision 1.340 usr.sbin/quot/quot.c: revision 1.34 sbin/fsdb/fsdb.c: revision 1.49 From Michael Plass: The superblock field that distinguishes between 4.2BSD and 4.4BSD inodes is really only relevant on a UFS1 file system. Make sure that it is a UFS1 fs before using fs_old_inodefmt. Note that the NetBSD newfs and mkfs utilities initialize fs_old_inodefmt even for UFS2, so problems were apparent only on file systems created by other operating systems, for example, FreeBSD.
|
1.29.12.1 |
| 27-Aug-2016 |
bouyer | Pull up following revision(s) (requested by martin in ticket #1395): sys/ufs/ffs/ffs_vfsops.c: revision 1.340 usr.sbin/quot/quot.c: revision 1.34 sbin/fsdb/fsdb.c: revision 1.49 From Michael Plass: The superblock field that distinguishes between 4.2BSD and 4.4BSD inodes is really only relevant on a UFS1 file system. Make sure that it is a UFS1 fs before using fs_old_inodefmt. Note that the NetBSD newfs and mkfs utilities initialize fs_old_inodefmt even for UFS2, so problems were apparent only on file systems created by other operating systems, for example, FreeBSD.
|
1.29.10.3 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.29.10.2 |
| 23-Jun-2013 |
tls | resync from head
|
1.29.10.1 |
| 25-Feb-2013 |
tls | resync with head
|
1.29.6.1 |
| 27-Aug-2016 |
bouyer | Pull up following revision(s) (requested by martin in ticket #1395): sys/ufs/ffs/ffs_vfsops.c: revision 1.340 usr.sbin/quot/quot.c: revision 1.34 sbin/fsdb/fsdb.c: revision 1.49 From Michael Plass: The superblock field that distinguishes between 4.2BSD and 4.4BSD inodes is really only relevant on a UFS1 file system. Make sure that it is a UFS1 fs before using fs_old_inodefmt. Note that the NetBSD newfs and mkfs utilities initialize fs_old_inodefmt even for UFS2, so problems were apparent only on file systems created by other operating systems, for example, FreeBSD.
|
1.29.4.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.29.4.1 |
| 23-Jan-2013 |
yamt | sync with head
|
1.33.8.1 |
| 06-Aug-2016 |
pgoyette | Sync with HEAD
|
1.33.6.1 |
| 27-Aug-2016 |
bouyer | Pull up following revision(s) (requested by martin in ticket #1210): sys/ufs/ffs/ffs_vfsops.c: revision 1.340 usr.sbin/quot/quot.c: revision 1.34 sbin/fsdb/fsdb.c: revision 1.49 From Michael Plass: The superblock field that distinguishes between 4.2BSD and 4.4BSD inodes is really only relevant on a UFS1 file system. Make sure that it is a UFS1 fs before using fs_old_inodefmt. Note that the NetBSD newfs and mkfs utilities initialize fs_old_inodefmt even for UFS2, so problems were apparent only on file systems created by other operating systems, for example, FreeBSD.
|
1.33.4.1 |
| 27-Aug-2016 |
bouyer | Pull up following revision(s) (requested by martin in ticket #1210): sys/ufs/ffs/ffs_vfsops.c: revision 1.340 usr.sbin/quot/quot.c: revision 1.34 sbin/fsdb/fsdb.c: revision 1.49 From Michael Plass: The superblock field that distinguishes between 4.2BSD and 4.4BSD inodes is really only relevant on a UFS1 file system. Make sure that it is a UFS1 fs before using fs_old_inodefmt. Note that the NetBSD newfs and mkfs utilities initialize fs_old_inodefmt even for UFS2, so problems were apparent only on file systems created by other operating systems, for example, FreeBSD.
|