Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2009 22:32:31 -0600
From:      Noel Jones <noeldude@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Supressing dd output
Message-ID:  <cce506b0912232032v568ec1bdo2c1928e60430f3e3@mail.gmail.com>
In-Reply-To: <4B32EBDB.1090808@lazlarlyricon.com>
References:  <4B32EBDB.1090808@lazlarlyricon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 23, 2009 at 10:19 PM, Rolf Nielsen
<listreader@lazlarlyricon.com> wrote:
> 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


Order matters.

dd ...   >/dev/null 2>&1


  -- Noel Jones



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cce506b0912232032v568ec1bdo2c1928e60430f3e3>