From my experience, of
is only affected by seek
and conv
options that appear before them. So your example:
echo -n 123456789 >outfile
echo -n "Y" | dcfldd conv=notrunc of=outfile
will work as intended. The behavior may be modified to accommodate dcfldd
's ability to deal with multiple of
options.