Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 6 Aug 2003 14:43:22 +0400 | From | Oleg Drokin <> | Subject | Re: 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/
| ![\](/images/icornerr.gif) |