From owner-freebsd-questions@FreeBSD.ORG Mon Oct 22 23:18:12 2007 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 C5F5316A46D for ; Mon, 22 Oct 2007 23:18:12 +0000 (UTC) (envelope-from juri_mian@yahoo.com) Received: from n8.bullet.re3.yahoo.com (n8.bullet.re3.yahoo.com [68.142.237.93]) by mx1.freebsd.org (Postfix) with SMTP id 6226B13C4B0 for ; Mon, 22 Oct 2007 23:18:12 +0000 (UTC) (envelope-from juri_mian@yahoo.com) Received: from [68.142.237.89] by n8.bullet.re3.yahoo.com with NNFMP; 22 Oct 2007 23:18:01 -0000 Received: from [69.147.75.181] by t5.bullet.re3.yahoo.com with NNFMP; 22 Oct 2007 23:18:01 -0000 Received: from [127.0.0.1] by omp102.mail.re1.yahoo.com with NNFMP; 22 Oct 2007 23:18:01 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 411449.8464.bm@omp102.mail.re1.yahoo.com Received: (qmail 87253 invoked by uid 60001); 22 Oct 2007 23:18:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=zVW2Z8Vh6CNjbgWYeDnqrRRwdTpDC9V1Y0kSOYJjzyeiSWM43PZlHBYFWhWJc6UwAmWc/H1Iu5Z/tYy703iI0QNbMPrXprMw6cP9X73TqczggEHSi0iWqeSrDZ644tqLODB/b6aRrnlSxsSV8xTvnPKyUCpKXEYBLlAriH5aH0k=; X-YMail-OSG: mX4reKIVM1ntl8jsAhs8.IG88oZTeiKqVC1vuN8mkoN_Jn4XkB.xoKajYAA9.XkI__NLuywa0D72S2PHl.fvA8.8pQ-- Received: from [71.63.232.32] by web45603.mail.sp1.yahoo.com via HTTP; Mon, 22 Oct 2007 16:18:00 PDT Date: Mon, 22 Oct 2007 16:18:00 -0700 (PDT) From: Juri Mianovich To: Dan Nelson In-Reply-To: <20071022190448.GA3496@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <487554.86915.qm@web45603.mail.sp1.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: oflag option in GNU dd - equivalent in FreeBSD dd ? 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: Mon, 22 Oct 2007 23:18:12 -0000 --- Dan Nelson wrote: > In the last episode (Oct 22), Juri Mianovich said: > > I am used to using this command in Linux, using > GNU > > dd: > > > > dd if=/blah of=/bleh oflag=append conv=notrunc > > > > The problem is, FreeBSD 'dd' does not understand > the > > "oflag" argument. > > > > Is there some equivalent in the FreeBSD 'dd' > syntax > > that I can use, or am I forced to install GNU > utils ? > > Why not "cat /blah >> /bleh" ? dd is usually used > on raw device nodes, > and appending doesn't make sense there. I have a long, boring (but good) reason that I can't use 'cat'. I need to use 'dd'. The syntax above will work perfectly if I use GNU dd, but I'd like to simplify the setup and use the built-in n'dd' if possible. So ... is there a freebsd equivalent to the GNU: dd if=/blah of=/bleh oflag=append conv=notrunc syntax ? Anyone ? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com