I am searching for an easy way to do the following thing:
I mean: ---> p1 | p2 | >---
Thanks in advance.
>I mean: ---> p1 | p2 | >---
> | |
p2 <&p >&p
to do this. I can't off hand think of a way of doing this with sh, but if you
are willing to write some C or PERL code then it is not too hard.
: I am searching for an easy way to do the following thing:
fifo could help
The p1 should read from the fifo and p2 the stdout to it:
mknod name p
p1 < &
p1 | p2 | tee > name &
: I mean: ---> p1 | p2 | >---
: | |
: Thanks in advance.
Here's the command I'm planning to use for dumping across a network:
dump -0u -B 8000000 -f - /dev/sd0a | gzip | ssh host 'dd obs=32k of=/dev/nrst0'
Notice I define a blocksize on the dd command, but I haven't defined one
anywhere else. This was after a write failuer with no block size set on a
big backup. Someone suggested setting the block size miught help. I'm not
too sure what the ramifications of this are. Is it a Bad Thing to mix the
block size? I don't believe gzip gives you an option for setting block
size. Should I worry? A couple of test backups and retores seemed to work