The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.79: download - view: text, markup, annotated - select for diffs
Fri Oct 4 11:38:44 2024 UTC (2 months ago) by rillig
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -2 lines
dump: suppress lint warning about "effectively discards 'const'"

Revision 1.73.8.2: download - view: text, markup, annotated - select for diffs
Mon Dec 7 19:35:50 2020 UTC (4 years ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.73.8.1: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.8.1: +3 -3 lines
Pull up following revision(s) (requested by kre in ticket #1630):

	sbin/dump/dump.h: revision 1.59
	sbin/dump/main.c: revision 1.78

PR bin/55834

count blocks written in unsigned 64 bit counter
rather than signed int which overflows after 2^31-1
blocks (2TiB) after which neither the 5 minute
status updates or SIGINFO (^T) reports are issued
until the negative numbers increase past 0 and
wildly inaccurate reports would be written.

Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 6 10:31:02 2020 UTC (4 years ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +3 -3 lines
Pull up following revision(s) (requested by kre in ticket #1139):

	sbin/dump/dump.h: revision 1.59
	sbin/dump/main.c: revision 1.78

PR bin/55834

count blocks written in unsigned 64 bit counter
rather than signed int which overflows after 2^31-1
blocks (2TiB) after which neither the 5 minute
status updates or SIGINFO (^T) reports are issued
until the negative numbers increase past 0 and
wildly inaccurate reports would be written.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Thu Dec 3 08:25:57 2020 UTC (4 years ago) by kre
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -3 lines

PR bin/55834

count blocks written in unsigned 64 bit counter
rather than signed int which overflows after 2^31-1
blocks (2TiB) after which neither the 5 minute
status updates or SIGINFO (^T) reports are issued
until the negative numbers increase past 0 and
wildly inaccurate reports would be written.

Revision 1.73.16.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:19 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.73.16.2: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.16.2: +5 -1 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.73.16.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:18 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.73.16.1: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.16.1: +39 -2 lines
Merge changes from current as of 20200406

Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Apr 5 15:25:39 2020 UTC (4 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +39 -2 lines
Fix depenency on common symbols in sbin.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon Aug 19 18:12:50 2019 UTC (5 years, 3 months ago) by perseant
Branches: MAIN
CVS tags: phil-wifi-20191119, is-mlppp-base, is-mlppp
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +7 -3 lines
Add -D flag to allow the user to specify an alternate dumpdates file.
Closes PR #54469.

Revision 1.73.16.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.73: preferred, colored
Changes since revision 1.73: +25 -20 lines
Sync with HEAD

Revision 1.73.8.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-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +25 -20 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.75: download - view: text, markup, annotated - select for diffs
Mon Mar 25 02:13:01 2019 UTC (5 years, 8 months ago) by manu
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Branch point for: netbsd-9
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +8 -4 lines
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.

Revision 1.74: 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
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +19 -18 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.66.8.2: download - view: text, markup, annotated - select for diffs
Tue Mar 8 10:05:43 2016 UTC (8 years, 9 months ago) by snj
Branches: netbsd-6
Diff to: previous 1.66.8.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.8.1: +5 -5 lines
Pull up following revision(s) (requested by bouyer in ticket #1332):
	sbin/dump/main.c: revision 1.73
	sbin/dump/tape.c: revision 1.54
Consistently use iswap64() and 64bit intermediate variable, as well as
64bit formats for c_tapea. Fixes tape useage report for large filesystems.

Revision 1.66.8.1: download - view: text, markup, annotated - select for diffs
Tue Mar 8 10:03:57 2016 UTC (8 years, 9 months ago) by snj
Branches: netbsd-6
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -3 lines
Pull up following revision(s) (requested by bouyer in ticket #1331):
	sbin/dump/dump.8: revision 1.67 via patch
	sbin/dump/main.c: revision 1.72
	sbin/dump/rcache.c: revision 1.25
Default the read block size (-k default value) to kern.maxphys (usually
64k these days). This gives a noticable performance boost on large filesystems.

Revision 1.71.4.2: download - view: text, markup, annotated - select for diffs
Fri Nov 6 20:27:55 2015 UTC (9 years, 1 month ago) by riz
Branches: 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
Diff to: previous 1.71.4.1: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.4.1: +5 -5 lines
Pull up following revision(s) (requested by bouyer in ticket #991):
	sbin/dump/tape.c: revision 1.54
	sbin/dump/main.c: revision 1.73
Consistently use iswap64() and 64bit intermediate variable, as well as
64bit formats for c_tapea. Fixes tape useage report for large filesystems.

Revision 1.71.4.1: download - view: text, markup, annotated - select for diffs
Fri Nov 6 20:26:43 2015 UTC (9 years, 1 month ago) by riz
Branches: netbsd-7
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -3 lines
Pull up following revision(s) (requested by bouyer in ticket #990):
	sbin/dump/rcache.c: revision 1.25
	sbin/dump/dump.8: revision 1.67
	sbin/dump/main.c: revision 1.72
Default the read block size (-k default value) to kern.maxphys (usually
64k these days). This gives a noticable performance boost on large filesystems.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Aug 24 17:37:10 2015 UTC (9 years, 3 months ago) by bouyer
Branches: MAIN
CVS tags: 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, 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.72: preferred, colored
Changes since revision 1.72: +5 -5 lines
Consistently use iswap64() and 64bit intermediate variable, as well as
64bit formats for c_tapea. Fixes tape useage report for large filesystems.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Aug 24 17:34:03 2015 UTC (9 years, 3 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -3 lines
Default the read block size (-k default value) to kern.maxphys (usually
64k these days). This gives a noticable performance boost on large filesystems.

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

Revision 1.66.6.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.66.6.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.6.1: +10 -14 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.71: download - view: text, markup, annotated - select for diffs
Sun Sep 8 13:26:05 2013 UTC (11 years, 3 months ago) by mlelstv
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, netbsd-7-base, 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
Branch point for: netbsd-7
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +10 -11 lines
Fix handling of NAME aliases in /etc/fstab.

Revision 1.69.2.1: 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.69: preferred, colored
Changes since revision 1.69: +2 -5 lines
resync from head

Revision 1.70: 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: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -5 lines
handle new lfs split

Revision 1.66.6.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:39 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +20 -22 lines
sync with head

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Apr 7 16:44:10 2012 UTC (12 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +11 -19 lines
factor out rawname() from dump, fsck, savecore.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Apr 7 04:52:20 2012 UTC (12 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +11 -5 lines
use getfsspecname()

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Feb 19 19:49:20 2012 UTC (12 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -4 lines
PR/45735: Bug Hunting: The dump(8) manpage, as well as the program's `usage'-line,
needs improvement

Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Mar 11 01:32:59 2010 UTC (14 years, 9 months ago) by christos
Branches: MAIN
CVS tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, netbsd-6
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +6 -5 lines
PR/42952: The Grey Wolf: Fix for "true incremental". Don't overload level
9, use a new level "i" which is logically 10.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Feb 26 02:11:40 2010 UTC (14 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +8 -3 lines
PR/42883: Greywolf: Add -i flag which brings "true incremental" capability.

Revision 1.63.18.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.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +4 -4 lines
Sync with HEAD.

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

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Jul 20 01:20:22 2008 UTC (16 years, 4 months ago) by lukem
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, 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-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, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -4 lines
Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)

Revision 1.57.2.2.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 11 21:31:47 2006 UTC (18 years, 1 month ago) by bouyer
Branches: netbsd-3-1
CVS tags: netbsd-3-1-1-RELEASE
Diff to: previous 1.57.2.2: preferred, colored; next MAIN 1.57.2.3: preferred, colored
Changes since revision 1.57.2.2: +6 -3 lines
Pull up following revision(s) (requested by hannken in ticket #1573):
	sbin/dump/snapshot.h: revision 1.3 via patch
	sbin/dump/snapshot.c: revision 1.3 via patch
	sbin/dump/main.c: revision 1.63 via patch
	sbin/dump/tape.c: revision 1.47 via patch
	sbin/dump/dump.h: revision 1.44 via patch
When using a snapshot take the snapshot raw device on further open.
Fixes PR #34923  dump(8) only dumps a corefile with -X (snapshots)
Approved by: Manuel Bouyer <bouyer@netbsd.org>

Revision 1.57.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 11 21:31:10 2006 UTC (18 years, 1 month ago) by bouyer
Branches: netbsd-3-0
CVS tags: netbsd-3-0-3-RELEASE
Diff to: previous 1.57.2.1: preferred, colored; next MAIN 1.57.2.2: preferred, colored
Changes since revision 1.57.2.1: +6 -3 lines
Pull up following revision(s) (requested by hannken in ticket #1573):
	sbin/dump/snapshot.h: revision 1.3 via patch
	sbin/dump/snapshot.c: revision 1.3 via patch
	sbin/dump/main.c: revision 1.63 via patch
	sbin/dump/tape.c: revision 1.47 via patch
	sbin/dump/dump.h: revision 1.44 via patch
When using a snapshot take the snapshot raw device on further open.
Fixes PR #34923  dump(8) only dumps a corefile with -X (snapshots)
Approved by: Manuel Bouyer <bouyer@netbsd.org>

Revision 1.57.2.3: download - view: text, markup, annotated - select for diffs
Sat Nov 11 21:30:27 2006 UTC (18 years, 1 month ago) by bouyer
Branches: netbsd-3
Diff to: previous 1.57.2.2: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.2: +6 -3 lines
Pull up following revision(s) (requested by hannken in ticket #1573):
	sbin/dump/snapshot.h: revision 1.3 via patch
	sbin/dump/snapshot.c: revision 1.3 via patch
	sbin/dump/main.c: revision 1.63 via patch
	sbin/dump/tape.c: revision 1.47 via patch
	sbin/dump/dump.h: revision 1.44 via patch
When using a snapshot take the snapshot raw device on further open.
Fixes PR #34923  dump(8) only dumps a corefile with -X (snapshots)
Approved by: Manuel Bouyer <bouyer@netbsd.org>

Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Oct 26 20:02:30 2006 UTC (18 years, 1 month ago) by hannken
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
Branch point for: wrstuden-revivesa, mjf-devfs2
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +7 -3 lines
When using a snapshot take the snapshot raw device on further open.

Fixes PR #34923  dump(8) only dumps a corefile with -X (snapshots)

Approved by: Manuel Bouyer <bouyer@netbsd.org>

Revision 1.62: 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: abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +20 -2 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.57.2.2: download - view: text, markup, annotated - select for diffs
Fri Apr 21 12:19:07 2006 UTC (18 years, 7 months ago) by tron
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1
Branch point for: netbsd-3-1
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.1: +1 -1 lines
Pull up following revision(s) (requested by hannken in ticket #1283):
	sbin/dump/main.c: revision 1.61
Emit "a snapshot of" message for snap_internal case too.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Apr 19 15:42:12 2006 UTC (18 years, 7 months ago) by hannken
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -3 lines
Emit "a snapshot of" message for snap_internal case too.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Mar 18 09:51:08 2006 UTC (18 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -3 lines
Coverity CID 2297: Fix memory leak.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Jun 27 01:37:32 2005 UTC (19 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +10 -9 lines
sprinkle const

Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 21 19:04:34 2005 UTC (19 years, 7 months ago) by tron
Branches: netbsd-3
CVS tags: 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-2-RELEASE, netbsd-3-0-1-RELEASE
Branch point for: netbsd-3-0
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +40 -9 lines
Pull up revision 1.58 (requested by hannken in ticket #184):
Snapshot support for dump(8):
- New option `-x backup' takes the dump from a snapshot backed up by `backup'.
  The snapshot will be deleted on exit.
- New option `-X' as a synonym for `-x mountpoint' where `mountpoint' is the
  file system to be dumped.
Reviewed and Approved by: Manuel Bouyer <bouyer@netbsd.org>

Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Apr 19 07:26:38 2005 UTC (19 years, 7 months ago) by hannken
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +40 -9 lines
Snapshot support for dump(8):

- New option `-x backup' takes the dump from a snapshot backed up by `backup'.
  The snapshot will be deleted on exit.

- New option `-X' as a synonym for `-x mountpoint' where `mountpoint' is the
  file system to be dumped.

Reviewed and Approved by: Manuel Bouyer <bouyer@netbsd.org>

Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Apr 21 01:05:32 2004 UTC (20 years, 7 months ago) by christos
Branches: MAIN
CVS tags: netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -5 lines
Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.

Revision 1.56: 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
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.55: preferred, colored
Changes since revision 1.55: +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.55: 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.54: preferred, colored
Changes since revision 1.54: +11 -8 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.54: download - view: text, markup, annotated - select for diffs
Thu Mar 27 13:56:46 2003 UTC (21 years, 8 months ago) by lukem
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -9 lines
Use "wall -g operator" (instead of private code) to broadcast() messages to
members of the operator group.
Don't install "setgid tty", and remove now unnecessary gid/egid swapping.
Remove utmp trawling code pulled in from usr.bin/who.
The Code is now simpler, and more portable (without the utmp cruft) too.

This is derived from similar work in OpenBSD.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Nov 17 04:49:18 2002 UTC (22 years ago) by itojun
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +5 -4 lines
should be safer to cast to u_long than to cast down to int

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Nov 17 04:44:42 2002 UTC (22 years ago) by tsutsui
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
Add a cast to sizeof in printf() arg since _BSD_SIZE_T is unsigned long
on some ports.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Nov 16 14:15:35 2002 UTC (22 years ago) by itojun
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +15 -14 lines
use strlcpy.  use sizeof() instead of xxLEN to avoid de-synchronization

Revision 1.25.6.8: download - view: text, markup, annotated - select for diffs
Thu Mar 28 22:40:03 2002 UTC (22 years, 8 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.25.6.7: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.6.7: +62 -47 lines
Pull up revisions 1.33-1.34 (via patch, requested by bouyer):
  Improve behaviour when a path is given:
   1) check if the path is an unmounted file system listed in fstab
   2) check if it is a path to a mounted file system not listed in fstab
  Fixes PR#15790.

Revision 1.25.6.7: download - view: text, markup, annotated - select for diffs
Wed Jan 16 10:01:37 2002 UTC (22 years, 10 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.25.6.6: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.6.6: +10 -7 lines
Pull up revision 1.49 (via patch, requested by bouyer):
  Add an ``-a'' option to ``auto-size'' the tape, rather than
  relying upon other options to define the tape size.

Revision 1.25.6.6: download - view: text, markup, annotated - select for diffs
Wed Jan 16 09:56:50 2002 UTC (22 years, 10 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.25.6.5: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.6.5: +20 -25 lines
Pull up revisions 1.46-1.48 (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.25.6.5: download - view: text, markup, annotated - select for diffs
Wed Jan 16 09:41:39 2002 UTC (22 years, 10 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.25.6.4: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.6.4: +9 -4 lines
Pull up revisions 1.41,1.50 (via patch, requested by bouyer):
  Implement ``-l <timeout>'' option for use with e.g. autochangers.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Jan 7 17:34:09 2002 UTC (22 years, 11 months ago) by bouyer
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.49: preferred, colored
Changes since revision 1.49: +6 -6 lines
For -l: specify the timeout on the command line (in seconds) instead of
hardwiring it to 2s, as suggested on tech-userlevel.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Dec 30 04:03:17 2001 UTC (22 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +15 -10 lines
Add -a to "auto-size" the tape, rather than relying upon other options
to define the tape size.  Requires the tape driver to either return ENOSPC
at end of media, or 0 when a write is attempted (such as the "early warning"
support in st(4) enabled with "mt eew 1").   From FreeBSD.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Dec 25 12:06:26 2001 UTC (22 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +18 -17 lines
Fixes from FreeBSD:
- Fix error if first tape was write protected.  Fix NetBSD PRs 4754 and 6098.
- Make dump exit codes confirm to manual page.
- Use \a instead of \7 to make noise.
- Fix estimated number of tapes for huge dumps to cartridges.
- Use <sys/queue.h> SLIST_* instead of home-rolled lists.
- Do not exit if unable to read or create /etc/dumpdates.
- Support output (tape) device returning ENOSPC for end-of-media on a write.

Fixes by me:
- Remove unused ddates_in.
- Don't dump core if SIGINFO is received before 1 second has elapsed.
- Only process SIGINFO in current "active" child.
- Don't dump core in -w if dumpdates wasn't readable and ddatev == NULL
- Minor KNF; wrap some lines

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Dec 23 14:42:22 2001 UTC (22 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -3 lines
clean up from time_t -> int32_t change in dumprestore.h

Revision 1.46: 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
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -9 lines
unifdef sunos

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Dec 23 12:29:56 2001 UTC (22 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +9 -9 lines
nuke trailing whitespace

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

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Dec 20 20:20:38 2001 UTC (22 years, 11 months ago) by soren
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
Another little mistake, spotted by wiz.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Dec 20 20:10:36 2001 UTC (22 years, 11 months ago) by soren
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3 lines
Sync getopt() / man page with actual getopt options.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Dec 14 14:43:33 2001 UTC (23 years ago) by bouyer
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +9 -4 lines
Add a -l (autoload) flag. For multivolume dumps, this makes dump eject the
tape when a volume is full, and try to reopen the tape drive for 2 mn.
To be used with tape changers which load the next tape when the current one is
ejected.
While I'm there fix eject handling for remote tape.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Nov 16 04:41:23 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -4 lines
relax the restriction on -F that the file system image argument must be a
regular file

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Oct 15 13:25:34 2001 UTC (23 years, 2 months ago) by blymn
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +19 -7 lines
Add the capability for dump to print timestamps on all informational
messages.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Aug 14 06:51:37 2001 UTC (23 years, 4 months ago) by lukem
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +19 -10 lines
- implement -F, which indicates that files-to-dump is a regular file
  containing a file system image (instead of being a single file as
  part of a subtree dump)
- use "file system" instead of "filesystem" or "file-system"

Revision 1.25.6.4: download - view: text, markup, annotated - select for diffs
Wed Aug 8 18:13:22 2001 UTC (23 years, 4 months ago) by jhawk
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH002
Diff to: previous 1.25.6.3: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.6.3: +7 -2 lines
Pull up revision 1.37 via patch (requested by david):
  Temporarily drop setgid (for setgid tty) privileges, but restore them
  if we fork to perform an operator notification. Generalize pre-existing
  #ifdef RDUMP code.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Aug 8 16:49:54 2001 UTC (23 years, 4 months ago) by david
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +7 -22 lines
Patch to drop setgid tty privs until forking for operator notification

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Jul 17 10:56:53 2001 UTC (23 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +22 -2 lines
reset uid & gid around calling rmthost().

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Jul 16 13:30:13 2001 UTC (23 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
display what signal, not "unknown"

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Jun 3 09:51:10 2001 UTC (23 years, 6 months ago) by hannken
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 lines
Assign a saved copy of dt->fs_file to mountpoint. dt->fs_file will be freed
otherwise resulting in a wrong spcl.c_filesys .

Revision 1.33: 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.32: preferred, colored
Changes since revision 1.32: +100 -59 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.32: download - view: text, markup, annotated - select for diffs
Sun May 27 15:07:34 2001 UTC (23 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +7 -12 lines
more KNF

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

Revision 1.25.6.3: download - view: text, markup, annotated - select for diffs
Tue May 15 21:55:58 2001 UTC (23 years, 7 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH001
Diff to: previous 1.25.6.2: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.6.2: +3 -3 lines
Pull up revision 1.29 (requested by tron):
  Fix bug in new ``e'' option: only eject tape if it is full, not
  if the dump was finished.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat May 12 10:26:22 2001 UTC (23 years, 7 months ago) by tron
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
Add "e" option to usage message. Problem pointed out by Takahiro Kambe
in private e-mail.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat May 12 08:03:01 2001 UTC (23 years, 7 months ago) by tron
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3 lines
Fix bug in new "e" option: only eject tape if it is full, not if the dump
was finished.

Revision 1.25.6.2: download - view: text, markup, annotated - select for diffs
Wed May 9 19:16:19 2001 UTC (23 years, 7 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.25.6.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.6.1: +7 -3 lines
Pull up revision 1.28 (requested by tron):
  Add a new option ``e'' to dump which directs it to eject tapes
  automatically if a tape change is required.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon May 7 21:17:48 2001 UTC (23 years, 7 months ago) by tron
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +7 -3 lines
Add a new option "e" to "dump" which allows to eject tapes automatically
if a tape change is required.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Dec 13 22:45:12 2000 UTC (24 years ago) by scw
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +9 -9 lines
Global variables don't need to be initialised to zero.

Revision 1.25.6.1: download - view: text, markup, annotated - select for diffs
Wed Oct 18 00:39:43 2000 UTC (24 years, 1 month ago) by tv
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +6 -6 lines
Pullup sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 11 18:39:04 2000 UTC (24 years, 2 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +6 -6 lines
Pull up revision 1.26 (requested by he):
  Format string cleanup.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Oct 11 04:57:42 2000 UTC (24 years, 2 months ago) by briggs
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +6 -6 lines
Fix format warnings

Revision 1.22.4.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.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +7 -32 lines
Pull up to last week's -current.

Revision 1.25: 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-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl, comdex-fall-1999-base, comdex-fall-1999
Branch point for: netbsd-1-5
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +7 -32 lines
Working version of aborted dump{,_lfs} join.

Revision 1.24: 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.23: preferred, colored
Changes since revision 1.23: +30 -6 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.23: 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.22: preferred, colored
Changes since revision 1.22: +8 -32 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.22: 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, netbsd-1-4-RELEASE, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001
Branch point for: wrstuden-devbsize, netbsd-1-4
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +19 -6 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.21: download - view: text, markup, annotated - select for diffs
Sun Jan 3 02:17:46 1999 UTC (25 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +39 -7 lines
add support for '-L label', which file(1) and restore(1) can extract from the
header. mostly based on [bin/6715] from Brian Grayson <bgrayson@ece.utexas.edu>

old filesystems don't have fs_qbmask and fs_qfmask set in the superblock;
fudge them as per code in /sys/ufs/ffs/ffs_vfsops.c::ffs_oldfscompat().
bug and suggested fix from Robert Elz <kre@munnari.OZ.AU> in [bin/6610]
    XXX: there may be other variables required as well...

Revision 1.20: 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.19: preferred, colored
Changes since revision 1.19: +4 -3 lines
from Erik Bertelsen <erik@mediator.uni-c.dk>
 { put } { in } { lots } { of } { these } { to } { shut } { up } { egcs }

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Jul 6 06:50:02 1998 UTC (26 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -2 lines
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Mar 18 16:54:56 1998 UTC (26 years, 9 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +35 -23 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.17: download - view: text, markup, annotated - select for diffs
Thu Sep 18 03:03:56 1997 UTC (27 years, 2 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.16: preferred, colored
Changes since revision 1.16: +30 -17 lines
Various changes from Brian Grayson <bgrayson@ece.utexas.edu> in [bin/4103]
* exit after providing an estimate if -S was given. the PR used -e,
  but checking around indicated prior art in Solaris usin -S.
* remove superfluous 'DUMP:' prefix in two messages
* initialise blocksperfile explicitly (not necessary, but everything
  else in that section gets initialised, so be consistant :)
* display the ``pretty'' name of the dumped directory, so the user
  knows if it's a subset or not

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Sep 16 06:41:21 1997 UTC (27 years, 3 months ago) by lukem
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -4 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:30 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: +139 -113 lines
imported from lite-2

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

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Jun 5 11:13:24 1997 UTC (27 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +82 -16 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.13: download - view: text, markup, annotated - select for diffs
Tue May 27 08:35:28 1997 UTC (27 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -9 lines
enable rcmd().  garbage collect.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Apr 21 11:31:16 1997 UTC (27 years, 7 months ago) by mrg
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -7 lines
be safe with buffers.

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

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Apr 10 05:36:24 1997 UTC (27 years, 8 months ago) by lukem
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +13 -4 lines
Implement changes from [bin/1915]
* 'w' and 'W' display the year
* verbosity additions displaying total & per-volume transfer times and rates

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Feb 27 06:17:23 1997 UTC (27 years, 9 months ago) by mikel
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -2 lines
set bflag so that 'dump bd M N' works properly.  fix from Juergen
  Hannken-Illjes in PR bin/3254.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Mar 15 22:39:32 1996 UTC (28 years, 9 months ago) by scottr
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +9 -3 lines
Be more paranoid with our effective uid.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Feb 5 23:59:40 1996 UTC (28 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -3 lines
support $TAPE.  update manual to reflect reality (#1937).

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Mar 18 14:55:02 1995 UTC (29 years, 9 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +7 -2 lines
convert to new RCS Id conventions; reduce my headache

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Feb 20 22:36:01 1995 UTC (29 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +135 -109 lines
Use getopt(3), with obsolete() from restore(8) for backward compatibility.

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

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Jun 13 22:41:49 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: +186 -173 lines
Import 4.4-Lite version.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jun 8 18:57:36 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.2: preferred, colored
Changes since revision 1.2: +183 -173 lines
Update from 4.4-Lite, with local changes.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Mar 28 01:50:05 1994 UTC (30 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -1 lines
don't segv if called with no options!

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Dec 22 10:24:47 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>