On Tue, Apr 22, 2008 at 8:43 AM, Eduardo M KALINOWSKI <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 22, 2008 at 10:35 AM, paragasu <[EMAIL PROTECTED]> wrote:
>  > well, i just did an experiments on my old pentum III computer.
>  > one of the slave hardisk listed as /dev/sdb1 (EXT2) and  /dev/sdb2(SWAP)
>  > i run the command /dev/null > /dev/sdb1 and suddently,
>  > i cannot cannot read or mount my /dev/sdb1 anymore even after i restart my
>  >  computer few times. i have message saying media failure or disk I/O error.
>
>  What exactly did you run?
>
>  /dev/null is not executable, so you cannot run it and redirect the
>  output somewhere else.

The problem is that the file is opened before the commands are executed.
Try:

  thiscommanddoesnotexist > /tmp/test
  ls -lha /tmp/test

  Perhaps an EOF was written?

N.-

-- 
http://arhuaco.org


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to