The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.43.2.1 / (download) - annotate - [select for diffs], Mon Aug 21 12:14:23 2023 UTC (7 months, 4 weeks ago) by martin
Branch: netbsd-9
Changes since 1.43: +9 -5 lines
Diff to previous 1.43 (colored) next main 1.44 (colored) to selected 1.29 (colored)

Pull up following revision(s) (requested by manu in ticket #1717):

	sbin/dump/optr.c: revision 1.44

Silently ignore fstab entries with NAME= entries that cannot be resolved.

Fixes PR 56249.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Mar 14 18:38:11 2022 UTC (2 years, 1 month ago) by mlelstv
Branch: 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, HEAD
Changes since 1.43: +9 -5 lines
Diff to previous 1.43 (colored) to selected 1.29 (colored)

Silently ignore fstab entries with NAME= entries that cannot be resolved.
Fixes PR 56249.

Revision 1.42.26.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:32 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.42: +29 -7 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.29 (colored)

Sync with HEAD

Revision 1.42.18.1 / (download) - annotate - [select for diffs], Fri Mar 29 19:43:28 2019 UTC (5 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.42: +29 -7 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.29 (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.43 / (download) - annotate - [select for diffs], Fri Mar 1 16:42:11 2019 UTC (5 years, 1 month 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, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: netbsd-9
Changes since 1.42: +29 -7 lines
Diff to previous 1.42 (colored) to selected 1.29 (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.38.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:24 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.38.2.2: +1 -5 lines
Diff to previous 1.38.2.2 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored) to selected 1.29 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.36.36.3 / (download) - annotate - [select for diffs], Thu May 22 11:37:27 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.36.36.2: +3 -9 lines
Diff to previous 1.36.36.2 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored) to selected 1.29 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.42 / (download) - annotate - [select for diffs], Sun Sep 8 13:26:05 2013 UTC (10 years, 7 months ago) by mlelstv
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, 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.41: +3 -7 lines
Diff to previous 1.41 (colored) to selected 1.29 (colored)

Fix handling of NAME aliases in /etc/fstab.

Revision 1.38.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:50 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.38.2.1: +2 -4 lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored) to selected 1.29 (colored)

resync from head

Revision 1.41 / (download) - annotate - [select for diffs], Sat Jun 15 01:27:19 2013 UTC (10 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.40: +2 -4 lines
Diff to previous 1.40 (colored) to selected 1.29 (colored)

handle new lfs split

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:28:05 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.38: +9 -9 lines
Diff to previous 1.38 (colored) to selected 1.29 (colored)

resync with head

Revision 1.36.36.2 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:29 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.36.36.1: +9 -9 lines
Diff to previous 1.36.36.1 (colored) to branchpoint 1.36 (colored) to selected 1.29 (colored)

sync with head

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jan 13 23:07:16 2013 UTC (11 years, 3 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base8, agc-symver-base, agc-symver
Changes since 1.39: +8 -8 lines
Diff to previous 1.39 (colored) to selected 1.29 (colored)

Use more static.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Jan 13 22:53:01 2013 UTC (11 years, 3 months ago) by dholland
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored) to selected 1.29 (colored)

Add some const.

Revision 1.36.36.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:39 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.36: +15 -8 lines
Diff to previous 1.36 (colored) to selected 1.29 (colored)

sync with head

Revision 1.38 / (download) - annotate - [select for diffs], Sat Apr 7 16:44:10 2012 UTC (12 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4
Branch point for: tls-maxphys
Changes since 1.37: +8 -6 lines
Diff to previous 1.37 (colored) to selected 1.29 (colored)

factor out rawname() from dump, fsck, savecore.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Apr 7 04:52:20 2012 UTC (12 years ago) by christos
Branch: MAIN
Changes since 1.36: +9 -4 lines
Diff to previous 1.36 (colored) to selected 1.29 (colored)

use getfsspecname()

Revision 1.36 / (download) - annotate - [select for diffs], Mon Dec 18 20:07:32 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, 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, mjf-devfs2, mjf-devfs-base, mjf-devfs, 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, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored) to selected 1.29 (colored)

Convert a couple of "(void)&" constructs to volatile.
Flag various unused parameters in restore and dump so that these will
compile with -Wextra.  (Note: restore uses some stuff from dump.)

Revision 1.35 / (download) - annotate - [select for diffs], Sat Jun 24 05:28:54 2006 UTC (17 years, 9 months ago) by perseant
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.34: +7 -2 lines
Diff to previous 1.34 (colored) to selected 1.29 (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.34 / (download) - annotate - [select for diffs], Mon Jun 27 01:37:32 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.33: +11 -10 lines
Diff to previous 1.33 (colored) to selected 1.29 (colored)

sprinkle const

Revision 1.33 / (download) - annotate - [select for diffs], Wed Apr 21 01:05:32 2004 UTC (20 years ago) by christos
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.32: +4 -4 lines
Diff to previous 1.32 (colored) to selected 1.29 (colored)

Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Mar 15 01:06:06 2004 UTC (20 years, 1 month ago) by lukem
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.31: +5 -3 lines
Diff to previous 1.31 (colored) to selected 1.29 (colored)

Adjust tstart_volume (volume start time) by the time spent in query(),
similar to the adjustment for tstart_writing made in optr.c rev 1.4.
Should fix PR bin/19711 from matthew green.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Aug 7 10:04:14 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.30: +3 -7 lines
Diff to previous 1.30 (colored) to selected 1.29 (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.30 / (download) - annotate - [select for diffs], Wed Apr 2 10:39:24 2003 UTC (21 years ago) by fvdl
Branch: MAIN
Changes since 1.29: +4 -2 lines
Diff to previous 1.29 (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.29 / (download) - annotate - [selected], Thu Mar 27 13:56:47 2003 UTC (21 years ago) by lukem
Branch: MAIN
Changes since 1.28: +14 -116 lines
Diff to previous 1.28 (colored)

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.28 / (download) - annotate - [select for diffs], Sun Aug 18 08:03:35 2002 UTC (21 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.27: +5 -2 lines
Diff to previous 1.27 (colored) to selected 1.29 (colored)

save/restore errno in signal handlers.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Aug 16 20:21:49 2002 UTC (21 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.26: +7 -2 lines
Diff to previous 1.26 (colored) to selected 1.29 (colored)

defend against malicious line in ut_line, which could cause unwanted
writes to anything under /dev.  revoke setuid/gid privs earlier.
From: xs@kittenz.org

Revision 1.26 / (download) - annotate - [select for diffs], Fri Aug 2 02:07:09 2002 UTC (21 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.25: +11 -19 lines
Diff to previous 1.25 (colored) to selected 1.29 (colored)

support utmpx

Revision 1.13.10.4 / (download) - annotate - [select for diffs], Thu Mar 28 22:40:22 2002 UTC (22 years ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.13.10.3: +37 -2 lines
Diff to previous 1.13.10.3 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored) to selected 1.29 (colored)

Pull up revision 1.17 (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.13.10.3 / (download) - annotate - [select for diffs], Wed Jan 16 09:57:08 2002 UTC (22 years, 3 months ago) by he
Branch: netbsd-1-5
Changes since 1.13.10.2: +9 -9 lines
Diff to previous 1.13.10.2 (colored) to branchpoint 1.13 (colored) to selected 1.29 (colored)

Pull up revision 1.25 (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 / (download) - annotate - [select for diffs], Tue Dec 25 12:06:26 2001 UTC (22 years, 3 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.24: +9 -9 lines
Diff to previous 1.24 (colored) to selected 1.29 (colored)

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.24 / (download) - annotate - [select for diffs], Mon Dec 24 03:02:34 2001 UTC (22 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.23: +7 -2 lines
Diff to previous 1.23 (colored) to selected 1.29 (colored)

For dump_lfs(8), in getfstab(), only "lfs" (instead of "ufs" or "ffs").
Fix from Minoura Makoto in [bin/10525].

Revision 1.23 / (download) - annotate - [select for diffs], Sun Dec 23 12:29:56 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.22: +9 -9 lines
Diff to previous 1.22 (colored) to selected 1.29 (colored)

nuke trailing whitespace

Revision 1.22 / (download) - annotate - [select for diffs], Sat Dec 22 08:05:24 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.21: +7 -7 lines
Diff to previous 1.21 (colored) to selected 1.29 (colored)

- use correct type for minTime in findlru()  (size_t instead of int)
- clean up whitespace

Revision 1.21 / (download) - annotate - [select for diffs], Thu Nov 1 08:03:03 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.20: +12 -12 lines
Diff to previous 1.20 (colored) to selected 1.29 (colored)

fix -Wshadow warnings

Revision 1.20 / (download) - annotate - [select for diffs], Thu Oct 25 08:04:27 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.19: +5 -5 lines
Diff to previous 1.19 (colored) to selected 1.29 (colored)

in msg(), don't call va_list using functions twice in a row without calling
va_start() in between; reorder code so that we call vsnprintf and then
just fputs that buffer. crank the size of lastmsg whilst we're here
problem noted by Hideo Saito in [bin/14348].

Revision 1.19 / (download) - annotate - [select for diffs], Mon Oct 15 13:25:34 2001 UTC (22 years, 6 months ago) by blymn
Branch: MAIN
Changes since 1.18: +44 -4 lines
Diff to previous 1.18 (colored) to selected 1.29 (colored)

Add the capability for dump to print timestamps on all informational
messages.

Revision 1.13.10.2 / (download) - annotate - [select for diffs], Wed Aug 8 18:13:18 2001 UTC (22 years, 8 months ago) by jhawk
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH002
Changes since 1.13.10.1: +7 -2 lines
Diff to previous 1.13.10.1 (colored) to branchpoint 1.13 (colored) to selected 1.29 (colored)

Pull up revision 1.18 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.18 / (download) - annotate - [select for diffs], Wed Aug 8 16:49:54 2001 UTC (22 years, 8 months ago) by david
Branch: MAIN
Changes since 1.17: +7 -2 lines
Diff to previous 1.17 (colored) to selected 1.29 (colored)

Patch to drop setgid tty privs until forking for operator notification

Revision 1.17 / (download) - annotate - [select for diffs], Mon May 28 01:09:55 2001 UTC (22 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.16: +43 -11 lines
Diff to previous 1.16 (colored) to selected 1.29 (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.16 / (download) - annotate - [select for diffs], Mon May 28 00:41:14 2001 UTC (22 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.15: +2 -9 lines
Diff to previous 1.15 (colored) to selected 1.29 (colored)

unifdef !__STDC__ (missed in previous)

Revision 1.15 / (download) - annotate - [select for diffs], Sun May 27 14:17:56 2001 UTC (22 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.14: +24 -58 lines
Diff to previous 1.14 (colored) to selected 1.29 (colored)

knf to ansi

Revision 1.13.10.1 / (download) - annotate - [select for diffs], Wed Oct 18 00:39:44 2000 UTC (23 years, 6 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored) to selected 1.29 (colored)

Pullup sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Tue Oct 10 22:24:43 2000 UTC (23 years, 6 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.29 (colored)

Pull up revision 1.14 (requested by is):
  Format string cleanup.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Oct 10 20:24:50 2000 UTC (23 years, 6 months ago) by is
Branch: MAIN
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored) to selected 1.29 (colored)

Format string cleanups by Bill Sommerfeld.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 1 16:15:40 1998 UTC (26 years ago) by kleink
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-5-ALPHA2, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, minoura-xpg4dl-base, minoura-xpg4dl, comdex-fall-1999-base, comdex-fall-1999
Branch point for: netbsd-1-5, netbsd-1-4
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored) to selected 1.29 (colored)

Need <time.h> for time(), localtime() and ctime() prototypes.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Sep 15 07:58:06 1997 UTC (26 years, 7 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.11: +8 -5 lines
Diff to previous 1.11 (colored) to selected 1.29 (colored)

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

Revision 1.11 / (download) - annotate - [select for diffs], Tue May 27 08:34:36 1997 UTC (26 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) to selected 1.29 (colored)

fix off by one bug.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 21 21:08:33 1997 UTC (27 years ago) by thorpej
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) to selected 1.29 (colored)

Don't need to account for space for NUL, as it's included in the
sizeof(_PATH_DEV), noted by Chris Demetriou <cgd@netbsd.org>

Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 21 21:05:07 1997 UTC (27 years ago) by thorpej
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) to selected 1.29 (colored)

Add missing `-', noted by Erik Fair <fair@cesium.clock.org> on
current-users.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 21 11:31:15 1997 UTC (27 years ago) by mrg
Branch: MAIN
Changes since 1.7: +6 -5 lines
Diff to previous 1.7 (colored) to selected 1.29 (colored)

be safe with buffers.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Apr 15 01:09:52 1997 UTC (27 years ago) by lukem
Branch: MAIN
Changes since 1.6: +12 -12 lines
Diff to previous 1.6 (colored) to selected 1.29 (colored)

remove use of "register".

Revision 1.6 / (download) - annotate - [select for diffs], Thu Apr 10 05:36:25 1997 UTC (27 years ago) by lukem
Branch: MAIN
Changes since 1.5: +4 -3 lines
Diff to previous 1.5 (colored) to selected 1.29 (colored)

Implement changes from [bin/1915]
* 'w' and 'W' display the year
* verbosity additions displaying total & per-volume transfer times and rates

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jan 16 22:00:30 1997 UTC (27 years, 3 months ago) by perry
Branch: MAIN
Changes since 1.4: +5 -2 lines
Diff to previous 1.4 (colored) to selected 1.29 (colored)

fix pr 2977 -- only try to dump ufs/ffs partitions

Revision 1.4 / (download) - annotate - [select for diffs], Sat May 18 16:16:17 1996 UTC (27 years, 11 months ago) by jtk
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.3: +12 -2 lines
Diff to previous 1.3 (colored) to selected 1.29 (colored)

Adjust the base for time estimates to ignore time we spent waiting
for operator input.
enhancements from PR #900

Revision 1.3 / (download) - annotate - [select for diffs], Sat Mar 18 14:55:04 1995 UTC (29 years, 1 month ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.2: +7 -2 lines
Diff to previous 1.2 (colored) to selected 1.29 (colored)

convert to new RCS Id conventions; reduce my headache

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

Import 4.4-Lite version.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 8 18:57:37 1994 UTC (29 years, 10 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.1: +26 -31 lines
Diff to previous 1.1 (colored) to selected 1.29 (colored)

Update from 4.4-Lite, with local changes.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Dec 22 10:24:50 1993 UTC (30 years, 4 months ago) by cgd
Branch: MAIN
Diff to selected 1.29 (colored)

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>