Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 211238da6d926d1ca4390483bb29f586 > files > 87

coda-doc-5.2.0-4mdk.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>The Coda File Server: VolInfo interface </TITLE>
 <LINK HREF="server-6.html" REL=next>
 <LINK HREF="server-4.html" REL=previous>
 <LINK HREF="server.html#toc5" REL=contents>
</HEAD>
<BODY>
<A HREF="server-6.html">Next</A>
<A HREF="server-4.html">Previous</A>
<A HREF="server.html#toc5">Contents</A>
<HR>
<H2><A NAME="s5">5. VolInfo interface </A></H2>

<P>
<P>This should turn into the volume location server.
<P>
<PRE>
ViceGetVolumeInfo
        VRDB.find by name
        if not found try to find by id (VRDB.find nasty casts)
        if found: call
             vrent::GetVolumeInfo for the entry 
                     fills in VSGADD stuff
                     special case for canonicalize
                     fills in the replica volid's in INFO           
        else 
             VGetVolumeInfo
                     gets it out of the VLDB_fd
             if successful and ROVOL: calculate GetVSGAddress
             elseif RWVOL lookup the volumeinfo for a replicated volume
        return information
</PRE>
<P>
<HR>
<A HREF="server-6.html">Next</A>
<A HREF="server-4.html">Previous</A>
<A HREF="server.html#toc5">Contents</A>
</BODY>
</HTML>