[lkml]   [2001]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: File System Performance
le lun 12-11-2001 à 23:39, Alan Cox a écrit :
> > 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.

What would have been sane is a tar --just-compute-the-size option, not
hardcoding /dev/null.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.048 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site