The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Aug 7 23:26:40 2023 UTC (16 months ago) by mrg
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3 lines
fix always true conditional by removing the address-of operator.

found by GCC 12.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Jan 26 20:22:14 2022 UTC (2 years, 10 months ago) by christos
Branches: MAIN
CVS tags: netbsd-10-base, 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
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +4 -2 lines
PR/56643: Paul Goyette: Disable the last block adjustment for now. It seems
to break restore.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Jul 7 11:06:37 2021 UTC (3 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -2 lines
PR/56270: Matthias Scheler: dump fails on ffsv1: Zero c_extsize since ffsv1
does not support extended attributes.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Jun 19 13:56:34 2021 UTC (3 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +166 -16 lines
Add external attribute dumping and restoring support from FreeBSD.
Does not fully work yet, attributes are being saved and restored correctly,
but don't appear in the restored files somehow.

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

Revision 1.50.20.1: download - view: text, markup, annotated - select for diffs
Fri Mar 29 19:43:28 2019 UTC (5 years, 8 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.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +3 -3 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.52: download - view: text, markup, annotated - select for diffs
Fri Mar 1 16:42:11 2019 UTC (5 years, 9 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.51: preferred, colored
Changes since revision 1.51: +3 -3 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.51: download - view: text, markup, annotated - select for diffs
Sun Feb 3 12:17:14 2019 UTC (5 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -2 lines
- mark Exit() __dead
- bump a buffer size to avoid possible truncation
- adding missing fallthru comment

Revision 1.48.18.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:37:27 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.48.18.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.18.1: +2 -5 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.48.24.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:28:50 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.48.24.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.24.1: +2 -5 lines
resync from head

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Jun 15 01:27:19 2013 UTC (11 years, 5 months ago) by christos
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.49: preferred, colored
Changes since revision 1.49: +2 -5 lines
handle new lfs split

Revision 1.48.24.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:28:05 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +12 -12 lines
resync with head

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

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Jan 22 09:39:11 2013 UTC (11 years, 10 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base8, agc-symver-base, agc-symver
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +12 -12 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.47.20.1: download - view: text, markup, annotated - select for diffs
Sun Sep 28 11:17:11 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +7 -2 lines
Sync with HEAD.

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

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Aug 12 13:28:35 2008 UTC (16 years, 4 months ago) by simonb
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.47: preferred, colored
Changes since revision 1.47: +7 -2 lines
We don't need to dump WAPBL log files - don't dump files with SF_LOG
flag set, and document this.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Jun 24 05:28:54 2006 UTC (18 years, 5 months ago) by perseant
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, 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, 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, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wrstuden-revivesa, mjf-devfs2
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
Change LFCNWRAP{STOP,GO} to make them more suitable for snapshotting; in
particular, the caller can now choose whether to wait for the condition
to be met, and if the caller of LFCNWRAPSTOP dies or otherwise closes
the descriptor, the filesystem is started again.  Updated the ckckp
regression test to use the new semantics.

dump_lfs(8) now uses the fcntls to implement LFS-style snapshotting through
the -X flag, addressing PR#33457 albeit not using fss(4).  Fixed a couple
other problems with dump_lfs that manifested themselves during testing.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Apr 21 15:00:49 2006 UTC (18 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4 lines
Don't use cast expressions as lvalues as newer versions of gcc warn.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Aug 19 02:07:18 2005 UTC (19 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -3 lines
64 bit inode changes

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue May 25 14:54:56 2004 UTC (20 years, 6 months ago) by hannken
Branches: 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
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +12 -2 lines
Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD.

- Not enabled by default. Needs kernel option FFS_SNAPSHOT.
- Change parameters of ffs_blkfree.
- Let the copy-on-write functions return an error so spec_strategy
    may fail if the copy-on-write fails.
- Change genfs_*lock*() to use vp->v_vnlock instead of &vp->v_lock.
- Add flag B_METAONLY to VOP_BALLOC to return indirect block buffer.
- Add a function ffs_checkfreefile needed for snapshot creation.
- Add special handling of snapshot files:
    Snapshots may not be opened for writing and the attributes are read-only.
    Use the mtime as the time this snapshot was taken.
    Deny mtime updates for snapshot files.
- Add function transferlockers to transfer any waiting processes from
  one lock to another.
- Add vfsop VFS_SNAPSHOT to take a snapshot and make it accessible through
  a vnode.
- Add snapshot support to ls, fsck_ffs and dump.

Welcome to 2.0F.

Approved by: Jason R. Thorpe <thorpej@netbsd.org>

Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Mar 24 12:28:51 2004 UTC (20 years, 8 months ago) by hannken
Branches: 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
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +5 -4 lines
Make the computation of estimated blocks work for frag size != 1024.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Aug 7 10:04:14 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +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.41: download - view: text, markup, annotated - select for diffs
Thu May 1 11:29:55 2003 UTC (21 years, 7 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +7 -7 lines
Fix byteswapping issues in dirindir(); mostly from Enami Tsugutomo.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu May 1 10:59:20 2003 UTC (21 years, 7 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
Swap the right disk block in mapdirs() for the UFS1 case. From Enami.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Apr 8 10:02:23 2003 UTC (21 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +7 -5 lines
Since the size passed in may be different from the fs blocksize, just
allocate a buffer each time instead of using a static one.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Apr 8 09:16:19 2003 UTC (21 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -4 lines
dblk should be static. Fixes PR 21020, by Geoff Wing. Patch supplied
by him.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Apr 2 10:39:24 2003 UTC (21 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +179 -83 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.36: download - view: text, markup, annotated - select for diffs
Fri Jan 24 21:55:06 2003 UTC (21 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +11 -8 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.35: download - view: text, markup, annotated - select for diffs
Mon Sep 30 10:48:49 2002 UTC (22 years, 2 months ago) by lukem
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +7 -4 lines
Add fix from FreeBSD traverse.c 1.16:
	Files in subdirectories of directories that have the nodump flag set
	are sometimes incorrectly being dumped.

	The problem arises because the subdirectory only gets its entry
	cleared from usedinomap if it is also present in dumpinomap, and it is
	the absence of a directory in usedinomap that internally indicates
	that the directory is under the effects of UF_NODUMP (either directly
	or inherited).

	FreeBSD PR: 32414
	Submitted by:   David C Lawrence <tale@dd.org>

Revision 1.28.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 16 09:58:02 2002 UTC (22 years, 11 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +2 -10 lines
Pull up revision 1.34 (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.34: download - view: text, markup, annotated - select for diffs
Sun Dec 23 12:54:54 2001 UTC (22 years, 11 months 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
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -10 lines
unifdef sunos

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

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

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon May 28 01:09:55 2001 UTC (23 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -2 lines
* improve parsing of file-systems-to-dump when a path is given:
      - if it's a path to an unmounted file-system listed in /etc/fstab, use
	that instead of assuming the user wanted a subtree dump of the parent
	directory. this restores the behaviour of dump before the subtree
	dumping code went in.
      - if it's a path to a mounted file-system which is not in /etc/fstab,
	use the info from getmntinfo(3). previously, dump would choke.
* implement error checked malloc(), calloc(), strdup(), and use
  appropriately (some of the calloc()s weren't being checked)
* use 'file-system' instead of 'filesystem' in the man page

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

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun May 27 14:17:57 2001 UTC (23 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +21 -55 lines
knf to ansi

Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:30:22 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +30 -51 lines
Pull up to last week's -current.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Oct 1 04:35:23 1999 UTC (25 years, 2 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: netbsd-1-5
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +30 -51 lines
Working version of aborted dump{,_lfs} join.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Sep 30 20:39:58 1999 UTC (25 years, 2 months ago) by perseant
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +49 -28 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.26: download - view: text, markup, annotated - select for diffs
Wed Sep 29 04:57:49 1999 UTC (25 years, 2 months ago) by perseant
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +30 -51 lines
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.

Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Wed May 5 17:16:14 1999 UTC (25 years, 7 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +3 -3 lines
pullup 1.24->1.25 (sommerfeld)

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed May 5 16:53:46 1999 UTC (25 years, 7 months ago) by sommerfe
Branches: MAIN
Branch point for: wrstuden-devbsize
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
Avoid byte overflow in block estimate for large files

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Mar 23 14:22:59 1999 UTC (25 years, 8 months ago) by bouyer
Branches: MAIN
CVS tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -75 lines
Implement a read cache, as announced on tech-userlevel. Default is 32k
read buffer size, 512 buffer or 15% of the user memory. Can be changed
with the -k and -s options.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Mar 9 17:25:52 1999 UTC (25 years, 9 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +84 -33 lines
Handle "nodump" flag on directories, by not dumping any files or directories
under it. Based on some parts of PR 6705 by Brian Grayson.
In the Makefile, add (commented out) debug options that can be turned on.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Dec 28 13:38:29 1998 UTC (25 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +7 -2 lines
fix estimate of blocks for subsets.
fix from Brian Grayson <bgrayson@ece.utexas.edu> in [bin/6607]

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Aug 25 19:18:14 1998 UTC (26 years, 3 months ago) by ross
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -3 lines
from Erik Bertelsen <erik@mediator.uni-c.dk>
 { put } { in } { lots } { of } { these } { to } { shut } { up } { egcs }

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Mar 18 16:54:57 1998 UTC (26 years, 9 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +38 -28 lines
Add support for non-native byte order FFS. The dump is in filesystem byte
order, restore already knows how to byteswap dumps.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Sep 16 06:41:23 1997 UTC (27 years, 3 months ago) by lukem
Branches: 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
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +5 -5 lines
resolve conflicts from lite-2 import

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Sep 16 02:25:36 1997 UTC (27 years, 3 months ago) by lukem
Branches: CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +7 -13 lines
imported from lite-2

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Sep 15 07:58:09 1997 UTC (27 years, 3 months ago) by lukem
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -3 lines
* cleanup for WARNS=1
* fix use of .Nm
* comment out some unused(?) functions

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Jun 5 11:13:27 1997 UTC (27 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +108 -21 lines
* Add the ability to dump specific files & directories of a single
  filesystem. This uses fts(3) to access the directory structure (and
  not the raw device), so the standard access permissions are adhered
  to (unlike dumping an entire filesystem, which just requires read
  access to the raw disk device).
* Support SIGINFO status reporting.
* Remove now unused variables that previously stored the (e)uid.
* Be more informative in a couple of error messages.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Apr 15 01:09:54 1997 UTC (27 years, 8 months ago) by lukem
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +18 -18 lines
remove use of "register".

Revision 1.14.6.1: download - view: text, markup, annotated - select for diffs
Fri Dec 6 01:37:50 1996 UTC (28 years ago) by rat
Branches: netbsd-1-2
CVS tags: netbsd-1-2-PATCH001
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +6 -6 lines
Pullup request from Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>

>Make dump and restore usable on the alpha

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Nov 30 18:03:27 1996 UTC (28 years ago) by cgd
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +6 -6 lines
patches from Tom I Helbekkmo <tih@nhh.no> to deal with type-size issues,
so this works (better, at least) on 64-bit machines (e.g. alpha).

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jun 18 21:35:33 1995 UTC (29 years, 6 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-BETA, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Branch point for: netbsd-1-2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -7 lines
update for posixified stat structure

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Jun 11 05:16:04 1995 UTC (29 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +5 -0 lines
Back out previous change.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jun 7 17:15:57 1995 UTC (29 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -7 lines
typeof(timeval.tv_sec) != time_t

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Mar 27 22:14:47 1995 UTC (29 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
Fix another bogus cast.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Mar 27 21:48:52 1995 UTC (29 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
Remove incorrect cast on lseek() return value.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Mar 18 14:55:09 1995 UTC (29 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -2 lines
convert to new RCS Id conventions; reduce my headache

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jan 30 20:32:01 1995 UTC (29 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +10 -10 lines
Don't mix stat flags and inode flags.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Sep 23 14:27:08 1994 UTC (30 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -5 lines
Eliminate uses of some obsolete functions.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Sep 17 23:59:03 1994 UTC (30 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Correct typo; IFMT -> S_IFMT.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jun 14 22:49:57 1994 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -4 lines
Fix compatibility with old fastlinks.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Jun 13 22:41:33 1994 UTC (30 years, 6 months ago) by mycroft
Branches: CSRG
CVS tags: lite-1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +73 -62 lines
Import 4.4-Lite version.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jun 8 18:57:42 1994 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +75 -59 lines
Update from 4.4-Lite, with local changes.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Apr 25 18:22:50 1994 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -5 lines
change some #ifdef's.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jan 14 21:29:51 1994 UTC (30 years, 11 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
fix for() starting condition in mapfiles()

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Dec 22 10:24:59 1993 UTC (30 years, 11 months ago) by cgd
Branches: MAIN
new version from CSRG, via BSDI, with fixes

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>