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


Default branch: MAIN


Revision 1.56 / (download) - annotate - [select for diffs], Mon Aug 7 23:26:40 2023 UTC (6 months, 3 weeks ago) by mrg
Branch: MAIN
CVS Tags: triaxx-drm, HEAD
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

fix always true conditional by removing the address-of operator.

found by GCC 12.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Jan 26 20:22:14 2022 UTC (2 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.54: +4 -2 lines
Diff to previous 1.54 (colored)

PR/56643: Paul Goyette: Disable the last block adjustment for now. It seems
to break restore.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Jul 7 11:06:37 2021 UTC (2 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.53: +3 -2 lines
Diff to previous 1.53 (colored)

PR/56270: Matthias Scheler: dump fails on ffsv1: Zero c_extsize since ffsv1
does not support extended attributes.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Jun 19 13:56:34 2021 UTC (2 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.52: +166 -16 lines
Diff to previous 1.52 (colored)

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) - annotate - [select for diffs], Mon Jun 10 22:05:32 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.50: +4 -3 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Sync with HEAD

Revision 1.50.20.1 / (download) - annotate - [select for diffs], Fri Mar 29 19:43:28 2019 UTC (4 years, 11 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

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) - annotate - [select for diffs], Fri Mar 1 16:42:11 2019 UTC (5 years ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, 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
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

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) - annotate - [select for diffs], Sun Feb 3 12:17:14 2019 UTC (5 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (colored)

- mark Exit() __dead
- bump a buffer size to avoid possible truncation
- adding missing fallthru comment

Revision 1.48.18.2 / (download) - annotate - [select for diffs], Thu May 22 11:37:27 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.48.18.1: +2 -5 lines
Diff to previous 1.48.18.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (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.48.24.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:50 2013 UTC (10 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.48.24.1: +2 -5 lines
Diff to previous 1.48.24.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

resync from head

Revision 1.50 / (download) - annotate - [select for diffs], Sat Jun 15 01:27:19 2013 UTC (10 years, 8 months ago) by christos
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, 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
Changes since 1.49: +2 -5 lines
Diff to previous 1.49 (colored)

handle new lfs split

Revision 1.48.24.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:28:05 2013 UTC (11 years ago) by tls
Branch: tls-maxphys
Changes since 1.48: +12 -12 lines
Diff to previous 1.48 (colored)

resync with head

Revision 1.48.18.1 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:29 2013 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.48: +12 -12 lines
Diff to previous 1.48 (colored)

sync with head

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jan 22 09:39:11 2013 UTC (11 years, 1 month ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base8, agc-symver-base, agc-symver
Changes since 1.48: +12 -12 lines
Diff to previous 1.48 (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.47.20.1 / (download) - annotate - [select for diffs], Sun Sep 28 11:17:11 2008 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.47: +7 -2 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with HEAD.

Revision 1.47.24.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:28:23 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.47: +7 -2 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Aug 12 13:28:35 2008 UTC (15 years, 6 months ago) by simonb
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, 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
Changes since 1.47: +7 -2 lines
Diff to previous 1.47 (colored)

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) - annotate - [select for diffs], Sat Jun 24 05:28:54 2006 UTC (17 years, 8 months ago) by perseant
Branch: 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
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

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) - annotate - [select for diffs], Fri Apr 21 15:00:49 2006 UTC (17 years, 10 months ago) by skrll
Branch: MAIN
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

Don't use cast expressions as lvalues as newer versions of gcc warn.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Aug 19 02:07:18 2005 UTC (18 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.44: +4 -3 lines
Diff to previous 1.44 (colored)

64 bit inode changes

Revision 1.44 / (download) - annotate - [select for diffs], Tue May 25 14:54:56 2004 UTC (19 years, 9 months ago) by hannken
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.43: +12 -2 lines
Diff to previous 1.43 (colored)

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) - annotate - [select for diffs], Wed Mar 24 12:28:51 2004 UTC (19 years, 11 months ago) by hannken
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.42: +5 -4 lines
Diff to previous 1.42 (colored)

Make the computation of estimated blocks work for frag size != 1024.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Aug 7 10:04:14 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.41: +3 -7 lines
Diff to previous 1.41 (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.41 / (download) - annotate - [select for diffs], Thu May 1 11:29:55 2003 UTC (20 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.40: +7 -7 lines
Diff to previous 1.40 (colored)

Fix byteswapping issues in dirindir(); mostly from Enami Tsugutomo.

Revision 1.40 / (download) - annotate - [select for diffs], Thu May 1 10:59:20 2003 UTC (20 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Swap the right disk block in mapdirs() for the UFS1 case. From Enami.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Apr 8 10:02:23 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.38: +7 -5 lines
Diff to previous 1.38 (colored)

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) - annotate - [select for diffs], Tue Apr 8 09:16:19 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored)

dblk should be static. Fixes PR 21020, by Geoff Wing. Patch supplied
by him.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Apr 2 10:39:24 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.36: +179 -83 lines
Diff to previous 1.36 (colored)

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) - annotate - [select for diffs], Fri Jan 24 21:55:06 2003 UTC (21 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.35: +11 -8 lines
Diff to previous 1.35 (colored)

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) - annotate - [select for diffs], Mon Sep 30 10:48:49 2002 UTC (21 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.34: +7 -4 lines
Diff to previous 1.34 (colored)

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) - annotate - [select for diffs], Wed Jan 16 09:58:02 2002 UTC (22 years, 1 month ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.28: +2 -10 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

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) - annotate - [select for diffs], Sun Dec 23 12:54:54 2001 UTC (22 years, 2 months ago) by lukem
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
Changes since 1.33: +2 -10 lines
Diff to previous 1.33 (colored)

unifdef sunos

Revision 1.33 / (download) - annotate - [select for diffs], Thu Nov 1 08:03:03 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.32: +20 -20 lines
Diff to previous 1.32 (colored)

fix -Wshadow warnings

Revision 1.32 / (download) - annotate - [select for diffs], Tue Aug 14 05:44:15 2001 UTC (22 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.31: +5 -5 lines
Diff to previous 1.31 (colored)

s/filesystem/file system/dump.h

Revision 1.31 / (download) - annotate - [select for diffs], Mon May 28 01:09:55 2001 UTC (22 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.30: +3 -2 lines
Diff to previous 1.30 (colored)

* 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) - annotate - [select for diffs], Mon May 28 00:41:14 2001 UTC (22 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.29: +2 -4 lines
Diff to previous 1.29 (colored)

unifdef !__STDC__ (missed in previous)

Revision 1.29 / (download) - annotate - [select for diffs], Sun May 27 14:17:57 2001 UTC (22 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.28: +21 -55 lines
Diff to previous 1.28 (colored)

knf to ansi

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:30:22 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.25: +30 -51 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Pull up to last week's -current.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Oct 1 04:35:23 1999 UTC (24 years, 5 months ago) by perseant
Branch: 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
Changes since 1.27: +30 -51 lines
Diff to previous 1.27 (colored)

Working version of aborted dump{,_lfs} join.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Sep 30 20:39:58 1999 UTC (24 years, 5 months ago) by perseant
Branch: MAIN
Changes since 1.26: +49 -28 lines
Diff to previous 1.26 (colored)

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) - annotate - [select for diffs], Wed Sep 29 04:57:49 1999 UTC (24 years, 5 months ago) by perseant
Branch: MAIN
Changes since 1.25: +30 -51 lines
Diff to previous 1.25 (colored)

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) - annotate - [select for diffs], Wed May 5 17:16:14 1999 UTC (24 years, 10 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

pullup 1.24->1.25 (sommerfeld)

Revision 1.25 / (download) - annotate - [select for diffs], Wed May 5 16:53:46 1999 UTC (24 years, 10 months ago) by sommerfe
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Avoid byte overflow in block estimate for large files

Revision 1.24 / (download) - annotate - [select for diffs], Tue Mar 23 14:22:59 1999 UTC (24 years, 11 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.23: +2 -75 lines
Diff to previous 1.23 (colored)

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) - annotate - [select for diffs], Tue Mar 9 17:25:52 1999 UTC (25 years ago) by bouyer
Branch: MAIN
Changes since 1.22: +84 -33 lines
Diff to previous 1.22 (colored)

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) - annotate - [select for diffs], Mon Dec 28 13:38:29 1998 UTC (25 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.21: +7 -2 lines
Diff to previous 1.21 (colored)

fix estimate of blocks for subsets.
fix from Brian Grayson <bgrayson@ece.utexas.edu> in [bin/6607]

Revision 1.21 / (download) - annotate - [select for diffs], Tue Aug 25 19:18:14 1998 UTC (25 years, 6 months ago) by ross
Branch: MAIN
Changes since 1.20: +4 -3 lines
Diff to previous 1.20 (colored)

from Erik Bertelsen <erik@mediator.uni-c.dk>
 { put } { in } { lots } { of } { these } { to } { shut } { up } { egcs }

Revision 1.20 / (download) - annotate - [select for diffs], Wed Mar 18 16:54:57 1998 UTC (25 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.19: +38 -28 lines
Diff to previous 1.19 (colored)

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) - annotate - [select for diffs], Tue Sep 16 06:41:23 1997 UTC (26 years, 5 months ago) by lukem
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.18: +5 -5 lines
Diff to previous 1.18 (colored)

resolve conflicts from lite-2 import

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Tue Sep 16 02:25:36 1997 UTC (26 years, 5 months ago) by lukem
Branch: CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +7 -13 lines
Diff to previous 1.1.1.1 (colored)

imported from lite-2

Revision 1.18 / (download) - annotate - [select for diffs], Mon Sep 15 07:58:09 1997 UTC (26 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.17: +4 -3 lines
Diff to previous 1.17 (colored)

* cleanup for WARNS=1
* fix use of .Nm
* comment out some unused(?) functions

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jun 5 11:13:27 1997 UTC (26 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.16: +108 -21 lines
Diff to previous 1.16 (colored)

* 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) - annotate - [select for diffs], Tue Apr 15 01:09:54 1997 UTC (26 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.15: +18 -18 lines
Diff to previous 1.15 (colored)

remove use of "register".

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Fri Dec 6 01:37:50 1996 UTC (27 years, 3 months ago) by rat
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-PATCH001
Changes since 1.14: +6 -6 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

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) - annotate - [select for diffs], Sat Nov 30 18:03:27 1996 UTC (27 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.14: +6 -6 lines
Diff to previous 1.14 (colored)

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) - annotate - [select for diffs], Sun Jun 18 21:35:33 1995 UTC (28 years, 8 months ago) by cgd
Branch: 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
Changes since 1.13: +2 -7 lines
Diff to previous 1.13 (colored)

update for posixified stat structure

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jun 11 05:16:04 1995 UTC (28 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.12: +5 -0 lines
Diff to previous 1.12 (colored)

Back out previous change.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jun 7 17:15:57 1995 UTC (28 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.11: +2 -7 lines
Diff to previous 1.11 (colored)

typeof(timeval.tv_sec) != time_t

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 27 22:14:47 1995 UTC (28 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Fix another bogus cast.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 27 21:48:52 1995 UTC (28 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Remove incorrect cast on lseek() return value.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Mar 18 14:55:09 1995 UTC (28 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.8: +7 -2 lines
Diff to previous 1.8 (colored)

convert to new RCS Id conventions; reduce my headache

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 30 20:32:01 1995 UTC (29 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.7: +10 -10 lines
Diff to previous 1.7 (colored)

Don't mix stat flags and inode flags.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Sep 23 14:27:08 1994 UTC (29 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +4 -5 lines
Diff to previous 1.6 (colored)

Eliminate uses of some obsolete functions.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Sep 17 23:59:03 1994 UTC (29 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Correct typo; IFMT -> S_IFMT.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jun 14 22:49:57 1994 UTC (29 years, 8 months ago) by mycroft
Branch: 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
Changes since 1.4: +6 -4 lines
Diff to previous 1.4 (colored)

Fix compatibility with old fastlinks.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Jun 13 22:41:33 1994 UTC (29 years, 8 months ago) by mycroft
Branch: CSRG
CVS Tags: lite-1
Changes since 1.1: +73 -62 lines
Diff to previous 1.1 (colored)

Import 4.4-Lite version.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 8 18:57:42 1994 UTC (29 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +75 -59 lines
Diff to previous 1.3 (colored)

Update from 4.4-Lite, with local changes.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 25 18:22:50 1994 UTC (29 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.2: +2 -5 lines
Diff to previous 1.2 (colored)

change some #ifdef's.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 14 21:29:51 1994 UTC (30 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

fix for() starting condition in mapfiles()

Revision 1.1 / (download) - annotate - [select for diffs], Wed Dec 22 10:24:59 1993 UTC (30 years, 2 months ago) by cgd
Branch: MAIN

new version from CSRG, via BSDI, with fixes

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>