tee logs no output if stdout is closed

2008-06-29 Thread Bruno Haible
tee appears to drop its input (i.e. it does not write it into the specified log file) if stdout is closed. I didn't expect this behaviour, and POSIX http://www.opengroup.org/susv3/utilities/tee.html does not mandate this behaviour either. Rather, it says: "If any file operands are specified,

Re: dd (coreutils 6.10)

2008-06-29 Thread Jon Grant
Hi, Pádraig Brady wrote on 29/06/08 11:35: Jon Grant wrote: Hi, I am running dd from coreutils 6.10 on the latest Knoppix disc, trying to copy a failing drive to a new drive so i can try mount the partition. I noticed that dd tries the to read the same 512-byte block 40 times before giving up

Re: dd (coreutils 6.10)

2008-06-29 Thread Andreas Schwab
Jon Grant <[EMAIL PROTECTED]> writes: > I noticed that dd tries the to read the same 512-byte block 40 times > before giving up. Could it not give up on each block after say.. 1 or 2 > tries? dd just tells the kernel to read the block, and immediately gives up on it when the kernel returns an err

Re: dd (coreutils 6.10)

2008-06-29 Thread Pádraig Brady
Jon Grant wrote: > Hi, > > I am running dd from coreutils 6.10 on the latest Knoppix disc, trying > to copy a failing drive to a new drive so i can try mount the partition. > > I noticed that dd tries the to read the same 512-byte block 40 times > before giving up. In addition if dd can't read t