History log of /netbsd/sbin/dump/main.c (Results 1 – 25 of 78)
Revision Date Author Comments
# 464e1023 03-Dec-2020 kre <kre@NetBSD.org>

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

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.

show more ...


# 96ec6919 05-Apr-2020 joerg <joerg@NetBSD.org>

Fix depenency on common symbols in sbin.


# e6ba19ef 19-Aug-2019 perseant <perseant@NetBSD.org>

Add -D flag to allow the user to specify an alternate dumpdates file.
Closes PR #54469.


# b0537db4 25-Mar-2019 manu <manu@NetBSD.org>

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

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.

show more ...


# 15784e38 01-Mar-2019 christos <christos@NetBSD.org>

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 strin

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.

show more ...


# 7fb3cdc1 24-Aug-2015 bouyer <bouyer@NetBSD.org>

Consistently use iswap64() and 64bit intermediate variable, as well as
64bit formats for c_tapea. Fixes tape useage report for large filesystems.


# 4c6a59c2 24-Aug-2015 bouyer <bouyer@NetBSD.org>

Default the read block size (-k default value) to kern.maxphys (usually
64k these days). This gives a noticable performance boost on large filesystems.


# 8afd3d12 08-Sep-2013 mlelstv <mlelstv@NetBSD.org>

Fix handling of NAME aliases in /etc/fstab.


# 35d87cd5 15-Jun-2013 christos <christos@NetBSD.org>

handle new lfs split


# aa962883 07-Apr-2012 christos <christos@NetBSD.org>

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


# 4b41a04c 07-Apr-2012 christos <christos@NetBSD.org>

use getfsspecname()


# e3e3b158 19-Feb-2012 christos <christos@NetBSD.org>

PR/45735: Bug Hunting: The dump(8) manpage, as well as the program's `usage'-line,
needs improvement


# 20ebd2a4 11-Mar-2010 christos <christos@NetBSD.org>

PR/42952: The Grey Wolf: Fix for "true incremental". Don't overload level
9, use a new level "i" which is logically 10.


# c40eb1e7 26-Feb-2010 christos <christos@NetBSD.org>

PR/42883: Greywolf: Add -i flag which brings "true incremental" capability.


# 6543a91f 20-Jul-2008 lukem <lukem@NetBSD.org>

Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)


# fcd5ec48 26-Oct-2006 hannken <hannken@NetBSD.org>

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>


# 1c57171f 24-Jun-2006 perseant <perseant@NetBSD.org>

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 o

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.

show more ...


# f4729837 19-Apr-2006 hannken <hannken@NetBSD.org>

Emit "a snapshot of" message for snap_internal case too.


# 6edcc275 18-Mar-2006 christos <christos@NetBSD.org>

Coverity CID 2297: Fix memory leak.


# 64747563 27-Jun-2005 christos <christos@NetBSD.org>

sprinkle const


# 1f51c280 19-Apr-2005 hannken <hannken@NetBSD.org>

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 mountpoin

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>

show more ...


# 6bd1d6d4 21-Apr-2004 christos <christos@NetBSD.org>

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


# bf07c871 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22308, verified by myself.


# 42614ed3 02-Apr-2003 fvdl <fvdl@NetBSD.org>

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 t

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.

show more ...


# ec029d0a 27-Mar-2003 lukem <lukem@NetBSD.org>

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 trawli

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.

show more ...


1234