Re: Strange IDE performance change in 2.6.1-rc1 (again)

From: Tobias Diedrich
Date: Sat Jan 03 2004 - 08:41:09 EST


Valdis.Kletnieks@xxxxxx wrote:

> 'cat' is probably doing a stat() on stdout and seeing it's connected
> to /dev/null and not even bothering to do the write() call. I've seen
> similar behavior in other GNU utilities.

I can't see any special casing for /dev/null in cat's source, but I
forgot to check dd with bigger block size. It's ok with bs=4096...

--
Tobias PGP: http://9ac7e0bc.2ya.com
This mail is made of 100% recycled bits.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/