Home | History | Annotate | Download | only in fsck_ext2fs
History log of /src/sbin/fsck_ext2fs/pass1.c
RevisionDateAuthorComments
 1.26  21-Apr-2017  christos Fix previous properly (wrong variable was tested) thanks riastradh@
 1.25  21-Apr-2017  christos e2di_block is an array; can't be NULL, (clang)
 1.24  19-Jun-2013  dholland branches: 1.24.10;
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.23  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.22  25-Nov-2012  jakllsch Catch up to the kernel with respect to Ext2 huge_file feature.
 1.21  04-Feb-2010  christos branches: 1.21.6; 1.21.12;
Centralize time printing and deal with ctime possibly returning NULL.
 1.20  19-Oct-2009  bouyer Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !
 1.19  06-Apr-2009  lukem fix sign-compare issues
 1.18  24-Nov-2008  tsutsui branches: 1.18.2;
Remove unnecessary casts.
 1.17  16-Mar-2008  lukem errexit() now provides the trailing \n (since fsck_ffs assumed that
from a conversion from err(3)), so "make it so".
 1.16  16-Nov-2007  tsutsui branches: 1.16.6; 1.16.8;
Add a workaround for incorrect "SUMMARY INFORMATIONS WRONG FOR CG #N"
and "BLK(S) MISSING IN BIT MAP #N" reports on newer ext2fs with
EXT2F_COMPAT_RESIZE feature by accounting blocks in EXT2_RESIZEINO.

XXX1: Should we account blocks allocated by all other reserved inodes?
XXX2: We should really check and fix EXT2_RESIZEINO accordingly.
 1.15  19-Aug-2005  christos branches: 1.15.10;
64 bit inode changes
 1.14  09-Feb-2005  ws Add support for large files (>2GB).
Allow conversion of old filesystems to use this,
if they are already at revision 1.

There probably should be an option to turn revision 0 to revision 1.

Reviewed (in part) by Manuel (bouyer@).
 1.13  19-Jan-2005  xtraeme Kill __P(), ANSIfy, remove main() prototype; WARNS=2
 1.12  22-Mar-2004  bouyer Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
 1.11  05-Oct-2003  bouyer Remove references to University of California from my copyright notices.
 1.10  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22308, verified by myself.
 1.9  31-Jan-2000  bouyer Byteswap the group descriptors fields as well. Works again on big-endian
systems.
 1.8  28-Jan-2000  bouyer Correct bogons in filetype option support, and add support for the
sparse_super option.
 1.7  26-Jan-2000  bouyer First cut at ext2fs rev 1 support (as of mke2fs 1.18): supports the filetype
option read/write and the sparse option read-only.
 1.6  17-Feb-1999  bouyer Properly handle FIFO (linux seems to puts something in the block addr fields
here) and a new field that can be different in the master superblock and
its first copy. From Tim Shepard.
 1.5  01-Apr-1998  kleink Need <time.h> for ctime() prototype.
 1.4  09-Oct-1997  bouyer Ext2 metadata are always stored on disk in little-endian byte order,
so do byte-swapping on big-endian system. The byte-swap routines are in
fsck/bswap.c because they will also be used in fsck_ffs in future.
Tested on i386 and sparc.
 1.3  14-Sep-1997  lukem * cleanup for WARNS=1
* deprecate register
* cleanup manpage
* remove unused docheck()
* getopt returns -1 not EOF
* put a ) in the correct place in a printf, so that the argument gets
& 0xff, not the result of printf() itself...
 1.2  10-Jul-1997  mikel fix printf formats
 1.1  11-Jun-1997  bouyer Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.
 1.15.10.2  23-Mar-2008  matt sync with HEAD
 1.15.10.1  09-Jan-2008  matt sync with HEAD
 1.16.8.2  17-Jan-2009  mjf Sync with HEAD.
 1.16.8.1  03-Apr-2008  mjf Sync with HEAD.
 1.16.6.1  24-Mar-2008  keiichi sync with head.
 1.18.2.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.21.12.2  23-Jun-2013  tls resync from head
 1.21.12.1  25-Feb-2013  tls resync with head
 1.21.6.3  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.21.6.2  23-Jan-2013  yamt sync with head
 1.21.6.1  16-Jan-2013  yamt sync with (a bit old) head
 1.24.10.1  26-Apr-2017  pgoyette Sync with HEAD

RSS XML Feed