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: b...@freebsd.org
          Reporter: noah.bergba...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to