On Thu, 23 Nov 2006 10:38:41 GMT Martin Simmons <[EMAIL PROTECTED]> wrote:
> >>>>> On Wed, 22 Nov 2006 17:26:47 -0500, Bill Moran said: > > > > On Wed, 22 Nov 2006 23:11:59 +0100 > > Andras Horvai <[EMAIL PROTECTED]> wrote: > > > > > What does VolFiles mean? I didn't find it in the documentation. > > > > I've been wondering about that. I wish one of the developers would chime > > in here. > > > > I seem to remember that a trick used on tape drives is to write an EOF > > marker every > > so often, then when restoring, the drive can quickly seek X EOF markers > > ahead before > > it has to slow down to read through the data. > > > > If I'm understanding this correctly, there's no reason Bacula can't do the > > same > > thing with file volumes. If it writes an EOF marker every 4G (which it > > seems to, > > based on your output) it can seek() to the within 4G of the data it needs, > > then > > it only needs to read() through a maximum of 4G to get the data. > > Using EOF markers like that in a file won't work, because there is no fast way > of seeking to an EOF marker (unlike on a tape). ?? If Bacula knows it's writing a file marker every 4G, why can't it just use fseek() to skip forward? > However, it is easier than that: Bacula could seek directly to the right place > in the file. IIRC, there is some code to do that but it was disabled because > it didn't quite work. Well, that's an obvious problem ... ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users