The NetBSD Project

CVS log for src/sbin/dump/ffs_inode.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Nov 17 06:40:38 2022 UTC (2 years, 2 months ago) by chs
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +8 -2 lines
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).

Revision 1.22.28.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:32 2019 UTC (5 years, 8 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +7 -6 lines
Sync with HEAD

Revision 1.22.20.1: download - view: text, markup, annotated - select for diffs
Fri Mar 29 19:43:28 2019 UTC (5 years, 10 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +7 -6 lines
Pull up following revision(s) (requested by manu in ticket #1221):

	sbin/dump/tape.c: revision 1.55
	sbin/dump_lfs/dump_lfs.8: revision 1.18
	sbin/dump/dump.h: revision 1.56
	sbin/dump/dump.8: revision 1.69
	sbin/dump/dump.h: revision 1.57
	sbin/dump/ffs_inode.c: revision 1.23
	sbin/dump/optr.c: revision 1.43
	sbin/dump/itime.c: revision 1.21
	sbin/dump/main.c: revision 1.74
	sbin/dump/itime.c: revision 1.22
	sbin/dump/main.c: revision 1.75
	sbin/dump/dump.8: revision 1.70
	sbin/dump/traverse.c: revision 1.52
	sbin/dump/dump.8: revision 1.71

Document what rdump is (was once) for. PR 53442.

Use getfsspecname() to fill the filesystem argument in dumpdates.
While here, make sure that the error strings terminate with newline
consistently, and add a function that adds the system error string.

Add -U flag to dump(8) and dump_lfs(8) to specify dumpdates entry
This address situations where dump(8) cannot figure out the device being
dumped. It also allows tracking of subvolume dumps by using virtual
device as dumpdates entry.

Bump date for previous.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Mar 1 16:42:11 2019 UTC (5 years, 11 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +7 -6 lines
Use getfsspecname() to fill the filesystem argument in dumpdates.
While here, make sure that the error strings terminate with newline
consistently, and add a function that adds the system error string.

Revision 1.18.24.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:24 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.18.24.2: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.24.2: +3 -3 lines
Rebase to HEAD as of a few days ago.

Revision 1.18.18.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:37:27 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.18.18.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.18.1: +7 -7 lines
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.18.24.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:28:50 2013 UTC (11 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.18.24.1: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.24.1: +4 -4 lines
resync from head

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Jun 23 02:06:04 2013 UTC (11 years, 7 months ago) by dholland
Branches: 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, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, netbsd-8
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -5 lines
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.21: download - view: text, markup, annotated - select for diffs
Wed Jun 19 17:51:25 2013 UTC (11 years, 7 months ago) by dholland
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4 lines
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.18.24.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:28:04 2013 UTC (11 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -5 lines
resync with head

Revision 1.18.18.1: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:05:29 2013 UTC (12 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -5 lines
sync with head

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Jan 22 09:39:11 2013 UTC (12 years ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base8, agc-symver-base, agc-symver
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3 lines
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.19: download - view: text, markup, annotated - select for diffs
Sun Jan 13 22:59:31 2013 UTC (12 years, 1 month ago) by dholland
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -4 lines
Use static; remove unused global var this uncovered.

Revision 1.17.12.1: download - view: text, markup, annotated - select for diffs
Sun Sep 28 11:17:11 2008 UTC (16 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +4 -4 lines
Sync with HEAD.

Revision 1.17.16.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:28:22 2008 UTC (16 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +4 -4 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Jul 20 01:20:22 2008 UTC (16 years, 6 months ago) by lukem
Branches: MAIN
CVS tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, 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, netbsd-5-base, 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, 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, netbsd-5, mjf-devfs2-base, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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-premerge-20101231, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -4 lines
Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Dec 18 20:07:32 2006 UTC (18 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: wrstuden-revivesa, mjf-devfs2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Convert a couple of "(void)&" constructs to volatile.
Flag various unused parameters in restore and dump so that these will
compile with -Wextra.  (Note: restore uses some stuff from dump.)

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Mar 27 12:59:18 2004 UTC (20 years, 10 months ago) by dsl
Branches: 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, 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, 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, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
Don't require ffsv2 fs have FS_FLAGS_UPDATED set

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Mar 24 17:07:12 2004 UTC (20 years, 10 months ago) by ws
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
After determining whether the filesystem is byte swapped,
we better return that fact to the caller.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Mar 21 20:30:38 2004 UTC (20 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +13 -9 lines
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

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Aug 7 10:04:14 2003 UTC (21 years, 6 months ago) by agc
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -7 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

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

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Apr 2 10:39:24 2003 UTC (21 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +118 -23 lines
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.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Jan 24 21:55:06 2003 UTC (22 years ago) by fvdl
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.

Revision 1.3.8.3: download - view: text, markup, annotated - select for diffs
Thu Jan 17 13:55:20 2002 UTC (23 years, 1 month ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.3.8.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.8.2: +3 -3 lines
Pull up revision 1.7 (requested by he):
  Fix compile problem after last round of pullups.
  The already-pulled-up 1.7 was inadvertently undone by the previous patch.

Revision 1.3.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 16 09:56:06 2002 UTC (23 years, 1 month ago) by he
Branches: netbsd-1-5
Diff to: previous 1.3.8.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.8.1: +7 -15 lines
Pull up revisions 1.9-1.10 (via patch, requested by bouyer):
  Various fixes:
   o Fix error if first tape is write-protected; fixes PR#4754 and PR#6098
   o Make error codes conform to manual page
   o Use \a to make noise
   o Fix estimated number of tapes for huge dumps to cartridges
   o Use <sys/queue.h> SLIST_* macros instead of homegrown variants
   o Do not exit if unable to read/create /etc/dumpdates
   o Support output (tape) device returning ENOSPC for end-of-media on write
   o Don't dump core if SIGINFO is received before 1 second has elapsed
   o Only process SIGINFO in currently active child
   o Ensure current (sub)block isn't past end of file system -- fixes
     "spins forever but does nothing" bug.
   o Some other minor fixes (types, whitespace, KNF, unifdef sunos, ...)

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Dec 23 12:54:53 2001 UTC (23 years, 1 month ago) by lukem
Branches: 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, fvdl_fs64_base
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -10 lines
unifdef sunos

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Dec 22 08:05:24 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -10 lines
- use correct type for minTime in findlru()  (size_t instead of int)
- clean up whitespace

Revision 1.3.8.1: download - view: text, markup, annotated - select for diffs
Sun Nov 25 19:25:41 2001 UTC (23 years, 2 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
Pull up revision 1.7 (requested by lukem):
  Call ffs_sb_swap() with the correct arguments.  Fixes problems
  with using other-endian file systems.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Nov 1 08:03:03 2001 UTC (23 years, 3 months ago) by lukem
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +8 -8 lines
fix -Wshadow warnings

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Aug 17 02:18:47 2001 UTC (23 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
remove third argument (`int ns') from ffs_sb_swap(), and let ffs_sb_swap()
determine the endianness of the `struct fs *o' superblock from o->fs_magic
and set needswap as necessary, rather than trusting the caller to get
it right.  invariably, almost every caller of ffs_sb_swap() was calling it
with ns set to the wrong value for ns anyway!
ansi KNF ffs_bswap.c declarations whilst here.

this fixes all sorts of problems when trying to use other-endian file systems,
notably the kernel trying to access memory *way* off, possibly corrupting or
panicing, and userland programs SEGVing and/or corrupting things (e.g,
"fsck_ffs -B"  to swap a file system endianness).

whilst the previous rev of ffs_bswap.c (1.10, 2000/12/23) made this problem
worse, i suspect that the problem was always there and previous versions
just happened not to trash things at the wrong time.

FFS_EI should now be a lot more stable.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Aug 14 05:44:15 2001 UTC (23 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4 lines
s/filesystem/file system/dump.h

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon May 28 00:41:14 2001 UTC (23 years, 8 months ago) by lukem
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -4 lines
unifdef !__STDC__ (missed in previous)

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun May 27 14:17:56 2001 UTC (23 years, 8 months ago) by lukem
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4 lines
knf to ansi

Revision 1.3.4.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:30:22 1999 UTC (25 years, 1 month ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +2 -2 lines
Pull up to last week's -current.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Oct 1 04:35:22 1999 UTC (25 years, 4 months ago) by perseant
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, netbsd-1-5
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -1 lines
Working version of aborted dump{,_lfs} join.

Revision 1.2
Thu Sep 30 20:39:58 1999 UTC (25 years, 4 months ago) by perseant
Branches: MAIN
FILE REMOVED
Changes since revision 1.1: +2 -2 lines
Back out changes made on the 29th, not at all the changes I intended to commit.
(I don't know how I did it though ... I'll figure it out tonight.)
I'll reapply this, in a working form, this evening.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Sep 29 04:57:49 1999 UTC (25 years, 4 months ago) by perseant
Branches: MAIN
Adapt dump(8) to use filestore-independent (but still ufs-specific)
replacements for NINDIR, fsbtodb, etc.  Create dump_lfs by adding a few
LFS-filestore-specific routines.  As described in PR#8317.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>