add note that vac should work.
change %R to %r
This commit is contained in:
parent
6a130cb01b
commit
929fcfe0e3
3 changed files with 5 additions and 6 deletions
|
|
@ -1,3 +1,2 @@
|
|||
This is very buggered.
|
||||
Just here for reference for now.
|
||||
This is somewhat untested but is believed to work.
|
||||
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ mkroot(Cache *c)
|
|||
r = sourceAlloc(c, u, 0, 0);
|
||||
vtUnlock(u->lk);
|
||||
if(r == nil)
|
||||
sysfatal("could not create root source: %R");
|
||||
sysfatal("could not create root source: %r");
|
||||
return r;
|
||||
}
|
||||
|
||||
|
|
@ -157,7 +157,7 @@ new(Source *s, int trace, int depth)
|
|||
}
|
||||
ss = sourceCreate(s, s->psize, s->dsize, 1+frand()>.5, 0);
|
||||
if(ss == nil)
|
||||
fprint(2, "could not create directory: %R\n");
|
||||
fprint(2, "could not create directory: %r\n");
|
||||
if(trace) {
|
||||
int j;
|
||||
for(j=1; j<trace; j++)
|
||||
|
|
@ -221,7 +221,7 @@ dumpone(Source *s)
|
|||
for(i=0; i<n; i++) {
|
||||
ss = sourceOpen(s, i, 1);
|
||||
if(ss == nil) {
|
||||
fprint(2, "%lud: %R\n", i);
|
||||
fprint(2, "%lud: %r\n", i);
|
||||
continue;
|
||||
}
|
||||
Bprint(bout, "\t%lud %d %llud %V\n", i, ss->dir, ss->size, ss->lump->score);
|
||||
|
|
|
|||
|
|
@ -196,7 +196,7 @@ threadmain(int argc, char *argv[])
|
|||
vac(z, argv);
|
||||
|
||||
if(vtsync(z) < 0)
|
||||
fprint(2, "warning: could not ask server to flush pending writes: %R\n");
|
||||
fprint(2, "warning: could not ask server to flush pending writes: %r\n");
|
||||
|
||||
if(statsflag)
|
||||
fprint(2, "files %ld:%ld data %ld:%ld:%ld meta %ld\n", stats.file, stats.sfile,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue