Supressing dd output
Rolf Nielsen
listreader at lazlarlyricon.com
Thu Dec 24 04:19:43 UTC 2009
Hello everyone,
I'm wondering if there's a way to supress the summary output from dd.
I'm working on a backup script, that encrypts the backups, and after
encrypting overwrites the unencrypted file several times using dd. I've
tried to redirect the output with 2>&1 > /dev/null but it doesn't work.
Since I run the script from the daily_local variable in periodic.conf,
and the script backs up 11 filsystems (ZFS) to separate files, the mail
from periodic daily gets ridiculously long, and most of it being dd
summaries.
I guess I could hack the source code of dd, but I'd prefer not to have
to. Has anyone got any ideas?
Thanks in advance and Merry Christmas to all of you,
Rolf Nielsen
More information about the freebsd-questions
mailing list