lkml.org 
[lkml]   [2003]   [Aug]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 6 Aug 2003 14:43:22 +0400
FromOleg Drokin <>
SubjectRe: Filesystem Tests
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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [from the cache]
©2003-2008