History log of /openbsd-src/sbin/dump/dump.h (Results 1 – 25 of 25)
Revision Date Author Comments
# 9be7043f 21-Jan-2021 mortimer <mortimer@openbsd.org>

Rearrange variables in dump / restore to handle -fno-common.

Largely following the commit by mckusick in FreeBSD.

ok naddy@


# 7833183c 23-May-2015 guenther <guenther@openbsd.org>

Canonicalize all devices to DUIDs in order to make -w and -W output consistent.

Based on diff from Manuel Giraud (manuel (at) ledu-giraud.fr) Thanks!


# 352e3770 03-May-2015 guenther <guenther@openbsd.org>

Eliminate the -U flag and make usage of DUID in /etc/dumpdates the default.
Correct old style entries so nothing has to be done for the admin.

diff from Manuel Giraud (manuel (at) ledu-giraud.fr) T

Eliminate the -U flag and make usage of DUID in /etc/dumpdates the default.
Correct old style entries so nothing has to be done for the admin.

diff from Manuel Giraud (manuel (at) ledu-giraud.fr) Thanks!

show more ...


# 3793d6a3 03-Sep-2014 guenther <guenther@openbsd.org>

Kill off compat for systems that don't define NAME_MAX or that lack stuff
like, oh, strchr() and prototypes for read() and write().
Mark quit() as both __dead and printf-like, and dumpabort() as __de

Kill off compat for systems that don't define NAME_MAX or that lack stuff
like, oh, strchr() and prototypes for read() and write().
Mark quit() as both __dead and printf-like, and dumpabort() as __dead.

ok krw@

show more ...


# 150f0d6b 11-Jul-2014 halex <halex@openbsd.org>

make dump support DUIDs for command line arguments and /etc/dumpdates (using
the new shiny -U switch)

dumpdates part originating from, and discussed with, Maximilian Fillinger

seems reasonable to k

make dump support DUIDs for command line arguments and /etc/dumpdates (using
the new shiny -U switch)

dumpdates part originating from, and discussed with, Maximilian Fillinger

seems reasonable to krw@, "get it in" deraadt@

show more ...


# 0603cbef 13-Jun-2014 naddy <naddy@openbsd.org>

Type cleanup:
* Move all off_t variables that don't look like file sizes to int64_t.
* Switch blockswritten to int64_t, so it won't wrap at 2TB.
* Same for blocksthisvol (from deraadt@).
* Switch xfe

Type cleanup:
* Move all off_t variables that don't look like file sizes to int64_t.
* Switch blockswritten to int64_t, so it won't wrap at 2TB.
* Same for blocksthisvol (from deraadt@).
* Switch xferrate (from tedu@) and blocksperfile from long to uint64_t.
* Since blocksperfile can be set with -B, move numarg() from long
to long long and don't mark small integer constant arguments as long.

ok deraadt@, tedu@

show more ...


# 171a3685 24-May-2014 krw <krw@openbsd.org>

Nuke last of the illusionary 'dev_bsize' and 'dev_bshift' variables in
favour of DEV_BSIZE. No-op on 512-byte sector devices.


# af12d456 21-May-2014 krw <krw@openbsd.org>

Nuke some trailing whitespace and break some long lines to shrink
subsequent diffs.


# 1abdbfde 11-Jun-2013 deraadt <deraadt@openbsd.org>

final removal of daddr64_t. daddr_t has been 64 bit for a long enough
test period; i think 3 years ago the last bugs fell out.
ok otto beck others


# 0155e653 03-Jun-2007 millert <millert@openbsd.org>

Add ffs2 support to dump/restore. From FreeBSD with some NetBSD changes.
With help from otto@


# 5aa6d51d 10-Apr-2007 moritz <moritz@openbsd.org>

Rewrite ITITERATE macro to prevent out-of-bounds memory access.
This makes dump -u work with malloc debugging enabled.

ok millert@


# f46297fd 25-Aug-2003 tedu <tedu@openbsd.org>

rename struct dinode to ufs1_dinode. clears the namespace and makes
way for some future work. no function changes yet.
help testing otto@ and markus@


# 1ef0d710 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# b79ac5ae 22-May-2002 deraadt <deraadt@openbsd.org>

remove crud


# c5f0f3a2 14-Mar-2002 mickey <mickey@openbsd.org>

fix a few overflows by using off_t, not 32bit longs; some parts are from lucq.org; millert@ ok


# f3c3a9c6 17-Feb-2002 millert <millert@openbsd.org>

Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)


# c72b5b24 16-Feb-2002 millert <millert@openbsd.org>

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.

show more ...


# 8ac1cfb4 24-Nov-1998 deraadt <deraadt@openbsd.org>

Wall, and do not let tapesize overflow


# 30715473 14-Jul-1998 deraadt <deraadt@openbsd.org>

fix exit codes, adding X_STARTUP; jkoshy@freebsd


# 00e3001f 08-Feb-1998 deraadt <deraadt@openbsd.org>

y2k fixes; netbsd & Andreas.Gunnarsson@emw.ericsson.se


# 2904a520 05-Jul-1997 millert <millert@openbsd.org>

Fix some incorrect strncpy usage.

From NetBSD (luke@netbsd.org)
* verbosity additions displaying total & per-volume transfer times and rates
* Add the ability to dump specific files & directories of

Fix some incorrect strncpy usage.

From NetBSD (luke@netbsd.org)
* verbosity additions displaying total & per-volume transfer times and rates
* 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.

From NetBSD (mrg)
* fix NetBSD PR#3710, reported by Tatoku Ogaito <tacha@trap.fukui-med.ac.jp>.
don't pass pw->pw_name into functions; make a copy.

show more ...


# 31ebca96 03-Feb-1997 deraadt <deraadt@openbsd.org>

new -a option autosizes, meaning it runs till it hits EOM (no need for
pesky sizing options) -- from FreeBSD.
also make -b option aware of MAXPHYS issues (via a little hack)


# 40a2f27a 01-Sep-1996 deraadt <deraadt@openbsd.org>

dialup tty semantic is wrong


# 7b91b0e0 23-Jun-1996 deraadt <deraadt@openbsd.org>

update rcsid


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree