Date: Sun, 23 Dec 2018 21:48:34 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 234315] [patch] dump(8): Allow noninteractive multi-volume dumps Message-ID: <bug-234315-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234315 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@FreeBSD.org Reporter: noah.bergbauer@tum.de Created attachment 200412 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D200412&action= =3Dedit 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 t= he 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234315-227>