Created attachment 200412 [details] 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.
Created attachment 258092 [details] Proposed patch
Created attachment 258093 [details] Proposed patch ^Triage: rebase patch, take 2.