[Bug 234315] [patch] dump(8): Allow noninteractive multi-volume dumps
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Dec 23 21:48:36 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234315
Bug ID: 234315
Summary: [patch] dump(8): Allow noninteractive multi-volume
dumps
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: noah.bergbauer at tum.de
Created attachment 200412
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=200412&action=edit
Proposed patch
Right now dump(8) requires the user to type "yes" into the console whenever it
switches to a new volume. This makes sense for tape drives but is a problem
when one wants to invoke dump automatically/noninteractively, e.g. from
cron(8). The pipecommand (-P) option could be a great solution (just invoke a
script that handles all the heavy lifting) but there's no way to turn off the
questions. Not even yes(1) can solve this as dump(8) always explicitly reads
from /dev/tty instead of stdin.
This patch simply adds a flag to skip the query.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list