oflag option in GNU dd - equivalent in FreeBSD dd ?

Juri Mianovich juri_mian at yahoo.com
Mon Oct 22 16:18:12 PDT 2007

--- Dan Nelson <dnelson at allantgroup.com> wrote:

> In the last episode (Oct 22), Juri Mianovich said:
> > I am used to using this command in Linux, using
> > 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 

More information about the freebsd-questions mailing list