On 12/13/09 11:24 PM, "Bishop, Peter" <[email protected]> wrote:

 
> pe...@sydvs002:~> sudo dd if=/dev/rtibm0 of=pipe &
> pe...@sydvs002:~> sudo dd if=/dev/rtibm1 of=pipe &
> pe...@sydvs002:~> sudo dd if=pipe of=packages &

This runs all three at the same time. Not what you want.

Remember that Unix doesn't necessarily do exclusive opens -- quite the
contrary if it can get away with it. If you want it sequenced, then you need
to do one, then the next, then the next. This is one of the reasons why I
suggested cat in the first place -- it implements that guarantee, but it
does so as part of the application logic.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to