[OpenAFS] vos examine oddity

Derrick J Brashear shadow@dementia.org
Thu, 27 Jan 2005 21:36:47 -0500 (EST)


On Thu, 27 Jan 2005, Russ Allbery wrote:

> Note the difference in the volid line (the one beginning with RWrite) in
> the following:
>
> dist.web.ssl                     2003993553 RW         17 K  On-line
>    afssvr3.Stanford.EDU /vicepl
>    RWrite 2003993553 ROnly 2003993554 Backup 2003993555
             fprintf(STDOUT, "    RWrite %10lu ROnly %10lu Backup %10lu 
\n",
                     (unsigned long)a_xInfoP->parentID,
                     (unsigned long)a_xInfoP->cloneID,
                     (unsigned long)a_xInfoP->backupID);
from DisplayFormat. prints info from the volserver where the volume header 
was examined.

>    RWrite: 2003993553    ROnly: 2003993554    Backup: 2003993555

     if (entry->flags & RW_EXISTS)
         fprintf(STDOUT, "    RWrite: %-10u", entry->volumeId[RWVOL]);
     if (entry->flags & RO_EXISTS)
         fprintf(STDOUT, "    ROnly: %-10u", entry->volumeId[ROVOL]);
     if (entry->flags & BACK_EXISTS)
         fprintf(STDOUT, "    Backup: %-10u", entry->volumeId[BACKVOL]);
in SubEnumerateEntry from EmuerateEntry. prints information from the vldb.

> Is there something subtle I'm missing here, or should I just file a bug
> against vos?

vos only prints what you give it; it wouldn't have been vos' problem 
regardless.