Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2007 16:18:00 -0700 (PDT)
From:      Juri Mianovich <juri_mian@yahoo.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: oflag option in GNU dd - equivalent in FreeBSD dd ?
Message-ID:  <487554.86915.qm@web45603.mail.sp1.yahoo.com>
In-Reply-To: <20071022190448.GA3496@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--- Dan Nelson <dnelson@allantgroup.com> 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 




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