The NetBSD Project

CVS log for src/sbin/fsck_ext2fs/setup.c

[BACK] Up to [cvs.NetBSD.org] / src / sbin / fsck_ext2fs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.35.14.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:33 2019 UTC (4 months, 1 week ago) by christos
Branch: phil-wifi
Changes since 1.35: +42 -48 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync with HEAD

Revision 1.39 / (download) - annotate - [select for diffs], Sun Mar 31 13:16:52 2019 UTC (6 months, 2 weeks ago) by mlelstv
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9, HEAD
Changes since 1.38: +4 -2 lines
Diff to previous 1.38 (colored)

Ignore EXT4 'kbytes written' field when validating alternate superblock.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Mar 31 10:55:58 2019 UTC (6 months, 2 weeks ago) by mlelstv
Branch: MAIN
Changes since 1.37: +34 -44 lines
Diff to previous 1.37 (colored)

No longer rely on data in disklabel to deduce alternate superblock
positions from block size. Instead use the same defaults as newfs_ext2fs.

Side effect is that fsck_ext2fs now works with wedges.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Mar 31 10:52:00 2019 UTC (6 months, 2 weeks ago) by mlelstv
Branch: MAIN
Changes since 1.36: +2 -4 lines
Diff to previous 1.36 (colored)

remove debug printfs from last commit.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Mar 30 17:32:40 2019 UTC (6 months, 2 weeks ago) by mlelstv
Branch: MAIN
Changes since 1.35: +10 -6 lines
Diff to previous 1.35 (colored)

Ignore recorded last mount point when validating alternate superblocks.
Compute log_bsize correctly. This fixes computation of alternate
superblock addresses.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Aug 15 19:13:24 2016 UTC (3 years, 2 months ago) by jdolecek
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.34: +19 -2 lines
Diff to previous 1.34 (colored)

more informative debug output for unsupported features

Revision 1.34 / (download) - annotate - [select for diffs], Mon Aug 15 18:57:06 2016 UTC (3 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

adjust inode size check to compare against EXT2_REV0_DINODE_SIZE, rather then sizeof(struct ext2fs_dinode), as the structure definition was expanded with the optional fields

Revision 1.33 / (download) - annotate - [select for diffs], Mon Aug 15 18:42:15 2016 UTC (3 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.32: +4 -4 lines
Diff to previous 1.32 (colored)

divorce list of features supported by fsck_ext2fs from the kernel;
while kernel might support e.g. extents, extra_isize or dir_nlink,
fsck could actually have no idea about the features

Revision 1.31.6.1 / (download) - annotate - [select for diffs], Tue Apr 14 05:15:57 2015 UTC (4 years, 6 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.31: +6 -2 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Pull up following revision(s) (requested by christos in ticket #688):
	sbin/fsck_ext2fs/setup.c: revision 1.32
Instead of zerodivide, give a useful error message.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Dec 4 01:41:37 2014 UTC (4 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount
Changes since 1.31: +6 -2 lines
Diff to previous 1.31 (colored)

Instead of zerodivide, give a useful error message.

Revision 1.28.8.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:24 2014 UTC (5 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.28.8.2: +3 -3 lines
Diff to previous 1.28.8.2 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:37:28 2014 UTC (5 years, 4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.28.2.1: +6 -6 lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

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")

Revision 1.28.8.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:51 2013 UTC (6 years, 3 months ago) by tls
Branch: tls-maxphys
Changes since 1.28.8.1: +3 -3 lines
Diff to previous 1.28.8.1 (colored) to branchpoint 1.28 (colored)

resync from head

Revision 1.31 / (download) - annotate - [select for diffs], Sun Jun 23 02:06:04 2013 UTC (6 years, 3 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored)

fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()
dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()

(Christos already did the lfs ones a few days back)

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jun 19 17:51:25 2013 UTC (6 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

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.

Revision 1.28.8.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:28:06 2013 UTC (6 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

resync with head

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:29 2013 UTC (6 years, 8 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

sync with head

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jan 22 09:39:11 2013 UTC (6 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base8, agc-symver-base, agc-symver
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

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.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Sep 16 16:13:18 2011 UTC (8 years, 1 month ago) by plunky
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

NULL does not need a cast, here

Revision 1.25.6.1 / (download) - annotate - [select for diffs], Sun Jan 16 12:38:27 2011 UTC (8 years, 9 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Changes since 1.25: +11 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #1486):
	sbin/fsck_ext2fs/setup.c: revision 1.26
	sbin/newfs_ext2fs/mke2fs.c: revision 1.10
	sbin/newfs_ext2fs/mke2fs.c: revision 1.11
	sbin/newfs_ext2fs/mke2fs.c: revision 1.12
	sbin/fsck_ext2fs/inode.c: revision 1.24
	sys/lib/libsa/ext2fs.c: revision 1.6
	sbin/newfs_ext2fs/extern.h: revision 1.3
	sbin/fsck_ext2fs/inode.c: revision 1.25
	sys/lib/libsa/ext2fs.c: revision 1.7
	sbin/fsck_ext2fs/inode.c: revision 1.26
	sys/ufs/ext2fs/ext2fs_inode.c: revision 1.68
	sbin/fsck_ext2fs/inode.c: revision 1.27
	sbin/fsck_ext2fs/inode.c: revision 1.28
	sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.18
	sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.19
	sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.5
	sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.2
	sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.6
	sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.3
	sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.142
	sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.7
	sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.4
	sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.8
PR/40936: Frederik Sausmikat: ext2fs: add support for inodes > 128 bytes
Support variable inode sizes.
catch up with variable inode size.
Don't use e2fs_inode_size in superblock on E2FS_REV0 file system.
- accept only EXT2_REV0_DINODE_SIZE inodesize on -O 0
- use inodesize to get offset of inode, not struct ext2fs_dinode array
Replace a magic number with a new EXT2_REV0_DINODE_SIZE macro.
Use EXT2_DINODE_SIZE() to get offset of inode, not struct ext2fs_dinode array.
Fix botched logic in inodesize check.
Use inodesize to get offset of inode in one more place.
- add a sanity check for e2fs_inode_size in readsb()
- use EXT2_DINODE_SIZE() rather than sizeof(struct ext2fs_dinode) or
  struct ext2fs_dinode array/pointer to see e2fs_ipb and inode offsets
Sort options.
New sentence, new line.
Sort options in usage.
- unsigned -> unsigned int
- remove unnecessary casts from malloc(3) and free(3)
- fix a bogus indent
Use "size > INT32_MAX" rather than "size >= 0x80000000U" to check 2GB limit.
Add missed byteswap ops against ext2fs_dinode members.
Handle 32 bit uid field on E2FS_REV1.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Oct 19 18:41:08 2009 UTC (10 years ago) by bouyer
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.26: +2 -7 lines
Diff to previous 1.26 (colored)

Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !

Revision 1.25.8.1 / (download) - annotate - [select for diffs], Wed May 13 19:19:01 2009 UTC (10 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.25: +11 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.26 / (download) - annotate - [select for diffs], Mon Mar 2 11:31:59 2009 UTC (10 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.25: +11 -3 lines
Diff to previous 1.25 (colored)

- add a sanity check for e2fs_inode_size in readsb()
- use EXT2_DINODE_SIZE() rather than sizeof(struct ext2fs_dinode) or
  struct ext2fs_dinode array/pointer to see e2fs_ipb and inode offsets

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Thu Apr 3 13:54:10 2008 UTC (11 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.24: +7 -6 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with HEAD.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:48 2008 UTC (11 years, 6 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.24: +7 -6 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

sync with head.

Revision 1.20.8.2 / (download) - annotate - [select for diffs], Sun Mar 23 00:44:23 2008 UTC (11 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.20.8.1: +7 -6 lines
Diff to previous 1.20.8.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

sync with HEAD

Revision 1.25 / (download) - annotate - [select for diffs], Sun Mar 16 23:17:55 2008 UTC (11 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase
Branch point for: netbsd-5, jym-xensuspend
Changes since 1.24: +7 -6 lines
Diff to previous 1.24 (colored)

errexit() now provides the trailing \n (since fsck_ffs assumed that
from a conversion from err(3)), so "make it so".

Revision 1.20.8.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:38:04 2008 UTC (11 years, 9 months ago) by matt
Branch: matt-armv6
Changes since 1.20: +114 -103 lines
Diff to previous 1.20 (colored)

sync with HEAD

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Thu Dec 27 00:46:56 2007 UTC (11 years, 9 months ago) by mjf
Branch: mjf-devfs
Changes since 1.21: +109 -103 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Dec 22 01:19:52 2007 UTC (11 years, 10 months ago) by tsutsui
Branch: MAIN
CVS Tags: mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.23: +26 -26 lines
Diff to previous 1.23 (colored)

Use h2fs32() rather than fs2h32() on host to disk conversion.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Dec 22 01:15:49 2007 UTC (11 years, 10 months ago) by tsutsui
Branch: MAIN
Changes since 1.22: +87 -79 lines
Diff to previous 1.22 (colored)

- use MINFREE defiend in <ufs/ext2fs/ext2fs.h>
- remove unnecessary casts
- unsigned -> unsigned int
- misc KNF

Revision 1.22 / (download) - annotate - [select for diffs], Sat Dec 22 00:28:21 2007 UTC (11 years, 10 months ago) by tsutsui
Branch: MAIN
Changes since 1.21: +2 -4 lines
Diff to previous 1.21 (colored)

Remove unused macro.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Nov 13 17:25:43 2007 UTC (11 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: cube-autoconf-base, cube-autoconf
Branch point for: mjf-devfs
Changes since 1.20: +8 -3 lines
Diff to previous 1.20 (colored)

Fix e2fs_itpg calculation (a rounddown bug).

Revision 1.20 / (download) - annotate - [select for diffs], Mon Oct 16 03:01:36 2006 UTC (13 years ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

comment out impossible code.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jun 26 23:01:39 2005 UTC (14 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

constify.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Feb 9 22:55:45 2005 UTC (14 years, 8 months ago) by ws
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.17: +5 -2 lines
Diff to previous 1.17 (colored)

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@).

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jan 19 19:31:28 2005 UTC (14 years, 9 months ago) by xtraeme
Branch: MAIN
Changes since 1.16: +13 -24 lines
Diff to previous 1.16 (colored)

Kill __P(), ANSIfy, remove main() prototype; WARNS=2

Revision 1.16 / (download) - annotate - [select for diffs], Fri Oct 29 17:37:30 2004 UTC (14 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.15: +6 -5 lines
Diff to previous 1.15 (colored)

Add (unsigned char) cast to ctype function
Fix check for device name ending in [0-9a-h] (strchr(dev, 0) doesn't ever
return NULL - which is fortunate because the () were wrong as well!)

Revision 1.15 / (download) - annotate - [select for diffs], Mon Mar 22 19:46:53 2004 UTC (15 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.14: +12 -13 lines
Diff to previous 1.14 (colored)

Fix disclaimer in my copyright. Pointed out by Thomas Klausner.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Oct 5 17:48:49 2003 UTC (16 years ago) by bouyer
Branch: MAIN
Changes since 1.13: +5 -7 lines
Diff to previous 1.13 (colored)

Remove references to University of California from my copyright notices.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Aug 7 10:04:18 2003 UTC (16 years, 2 months ago) by agc
Branch: MAIN
Changes since 1.12: +30 -3 lines
Diff to previous 1.12 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22308, verified by myself.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Tue Feb 1 23:38:39 2000 UTC (19 years, 8 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.10: +16 -15 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Apply patch (requested by bouyer):
  Add support for ext2fs revision 1, with read-only support for
  the 'sparse_super' and 'filetype' options.  Should fix PR#9088.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jan 28 16:01:46 2000 UTC (19 years, 8 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, fvdl_fs64_base
Changes since 1.11: +28 -42 lines
Diff to previous 1.11 (colored)

Correct bogons in filetype option support, and add support for the
sparse_super option.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 26 16:21:32 2000 UTC (19 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.10: +13 -7 lines
Diff to previous 1.10 (colored)

First cut at ext2fs rev 1 support (as of mke2fs 1.18): supports the filetype
option read/write and the sparse option read-only.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Feb 17 13:11:19 1999 UTC (20 years, 8 months ago) by bouyer
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001, comdex-fall-1999-base, comdex-fall-1999
Branch point for: netbsd-1-4
Changes since 1.9: +17 -2 lines
Diff to previous 1.9 (colored)

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.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Feb 1 15:20:14 1999 UTC (20 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.8: +4 -2 lines
Diff to previous 1.8 (colored)

Check malloc's return value before using the pointer.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Nov 12 16:19:48 1998 UTC (20 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Adjust for DKTYPENAME changes.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jul 26 20:27:20 1998 UTC (21 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +7 -7 lines
Diff to previous 1.6 (colored)

const poisoning.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Oct 9 13:19:40 1997 UTC (22 years ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.5: +99 -39 lines
Diff to previous 1.5 (colored)

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.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 16 08:37:04 1997 UTC (22 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.4: +6 -6 lines
Diff to previous 1.4 (colored)

make these compile on the alpha after WARNS=1.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 14 14:27:31 1997 UTC (22 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.3: +8 -8 lines
Diff to previous 1.3 (colored)

* 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...

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 10 04:53:35 1997 UTC (22 years, 3 months ago) by mikel
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

prototype calcsb()

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 16 08:14:38 1997 UTC (22 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

The computed superblock size is bigger than SBSIZE, malloc() enouth
memory for it. Apparently, this bug was hidden by our malloc implementation.
Reported by Jason Downs.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 11 11:22:01 1997 UTC (22 years, 4 months ago) by bouyer
Branch: MAIN

Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>