Re: Filesystem Tests

From: Oleg Drokin (green@namesys.com)
Date: Wed Aug 06 2003 - 05:43:22 EST


Hello!

On Wed, Aug 06, 2003 at 01:47:40PM +1000, Peter Chubb wrote:
> It'd be interesting to add in some read-only operations (e.g., tar to
> /dev/null) because, in general, filesystems trade off expensive writes

If somebody wants to implement this tar test, be aware that gnu tar tries to be extra smart, so
it fstat()s the output and if its equal to /dev/null, then no files are read at all, only
directory tree is traversed.
So one really needs to use something like "tar cf - /path | cat >/dev/null" to get
meaningful results.

Bye,
    Oleg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:32 EST