From owner-freebsd-questions@FreeBSD.ORG Thu Dec 24 04:19:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10C761065692 for ; Thu, 24 Dec 2009 04:19:43 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id C48E58FC2C for ; Thu, 24 Dec 2009 04:19:42 +0000 (UTC) Received: from ipb2.telenor.se (195.54.127.165) by proxy2.bredband.net (7.3.140.3) id 4AD3E1BC01F89B17 for freebsd-questions@freebsd.org; Thu, 24 Dec 2009 05:19:41 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlBgAAp6MktV44PPPGdsb2JhbACBSpc/gkMBAQEBHhkLuh2EMwQ X-IronPort-AV: E=Sophos;i="4.47,447,1257116400"; d="scan'208";a="19618207" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb2.telenor.se with ESMTP; 24 Dec 2009 05:19:41 +0100 Message-ID: <4B32EBDB.1090808@lazlarlyricon.com> Date: Thu, 24 Dec 2009 05:19:39 +0100 From: Rolf Nielsen User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Supressing dd output X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 04:19:43 -0000 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