<HTML><HEAD><TITLE>Mail</TITLE>
<META content="KsDHTMLEDLib.ocx, FreeWare HTML Editor 1.164.2, ?Kurt Senfer" 
name=GENERATOR>
<META http-equiv=Content-Type content="text/html; charset=GB2312"></HEAD>
<BODY style="FONT-SIZE: 9pt; FONT-FAMILY: ËÎÌå" leftMargin=5 topMargin=5>
<DIV>&nbsp;<BR><BR>&nbsp;I found in the database,the length of key/value pairs 
of inode information usually larger than what it should be,about 10 bytes.What 
had happened to them?</DIV>
<DIV>mpz_get_raw appeared often.What is it?Is it the reason of the '10 
bytes'?</DIV>
<DIV>In the file 'adbd.c',I tried to modify the function 'lookup'.In my 
imagination,</DIV>
<DIV><EM><FONT size=2>int 
<BR>dbns::lookup&nbsp;(const&nbsp;chordID&nbsp;&amp;key,&nbsp;str&nbsp;&amp;data) 
<BR>{ <BR>&nbsp;&nbsp;int&nbsp;r&nbsp;=&nbsp;0; 
<BR><BR>&nbsp;&nbsp;str&nbsp;key_str&nbsp;=&nbsp;id_to_str&nbsp;(key); 
<BR>&nbsp;&nbsp;DBT&nbsp;skey; 
<BR>&nbsp;&nbsp;str_to_dbt&nbsp;(key_str,&nbsp;&amp;skey); 
<BR><BR>&nbsp;&nbsp;DBT&nbsp;content; 
<BR>&nbsp;&nbsp;bzero&nbsp;(&amp;content,&nbsp;sizeof&nbsp;(content)); 
<BR><BR>&nbsp;&nbsp;//&nbsp;Implicit&nbsp;transaction 
<BR>&nbsp;&nbsp;r&nbsp;=&nbsp;datadb-&gt;get&nbsp;(datadb,&nbsp;NULL,&nbsp;&amp;skey,&nbsp;&amp;content,&nbsp;0); 
<BR>&nbsp;&nbsp;if&nbsp;(r)&nbsp;{ 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(r&nbsp;!=&nbsp;DB_NOTFOUND) 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;warner&nbsp;("dbns::fetch",&nbsp;"get&nbsp;error",&nbsp;r); 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;r; <BR>&nbsp;&nbsp;} 
<BR>&nbsp;&nbsp;data.setbuf&nbsp;((const&nbsp;char&nbsp;*)&nbsp;(content.data),&nbsp;content.size); 
<BR>&nbsp;&nbsp;return&nbsp;0;}</FONT></EM></DIV>
<DIV><FONT size=2>the DBT structure 'content' is the content of inode data.But I 
wanted to modity the content.data as a string,then give the changed value to the 
str data.The final result I wanted to get in filestore -f.(I store only inode 
information.)But the chord told me not found in the vnode where it should 
be.However,I used dbdump,the pair is there.(And before I modify the adbd.c,I can 
get the inode information via filestore -f.Of course, I changed the structure of 
inode.)Could you please tell me why?</FONT></DIV>
<DIV><FONT size=2>Is the information stored to disk encrypted?</FONT></DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT 
size=2>Yours,Zhou Kun</FONT></DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs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