> Corrections to speed-up the sizeing pass in Amanda:
> * tar.h: Declare dev_null_output.
> * buffer.c (open_archive): Detect when archive is /dev/null.
> (flush_write): Avoid writing to /dev/null.
> * create.c (dump_file): Do not open file if archive is being
> written to /dev/null, nor read file nor restore times.
> Reported by Greg Maples and Tor Lillqvist.
> One wonders why.
So when you archive the file set twice (once to compute its size) its
faster. Seems sane enough.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
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 Nov 15 2001 - 21:00:31 EST