Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > b23c198eef6044fe9bb32a0acc43a274 > files > 31

hfsplusutils-1.0.4-10.mga4.x86_64.rpm

<html>
<head>
<title>T-Online Webmail</title>
<script LANGUAGE="JavaScript">
<!--
    function open_helpwin(filename){
      handle=window.open("../hilfe/"+filename,"wmhilfe","width=764,height=536,screenx=20,screeny=10,resize=yes,scrollbars=yes,menubar=no,directories=no");
    }


//-->
</script>
<style type="text/css">
<!--
span.sanserif{font-family: Arial, sans-serif;font-size:83%}
b.sanserif{font-family: Arial, sans-serif;font-size:83%}
small.sanserif{font-family: Arial, sans-serif;font-size:83%}
b.bigsanserif{font-family: Arial, sans-serif;font-size:98%}
tt{font-family: Courier New, Courier, monospace}
a.hidden {text-decoration:none}
input {font-family:Arial, sans-serif;font-size:98%}
input.smalltext {font-family:Arial, sans-serif;font-size:83%}
a.navkopf {text-decoration:none}
input.navkopf {font-family:Courier New, Courier, monospace;font-size:83%}

//-->
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#000000" vlink="#000000" alink="#E20074" >

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td colspan="3">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="1%" valign="top" align="left"><table border="0" cellpadding="0" cellspacing="0">
<tr><td height="5" width="1"><spacer type=block height="5" width="1"></td></tr>  <tr>
    <td></td>
    <td bgcolor="#E20074" width="120" height="21">&nbsp;</td>
  </tr>
  <tr>
    <td></td>
    <td height="7" width="1%"><img src="images/k_stripe.gif" width="115" height=
"7"></td>
  </tr>
<!--  <tr><td height="5" width="1"><spacer type=block height="5" width="1"></td></tr> -->
</table>
</td>
<td width="99%" valign="top" align="left"><table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr><td height="5" width="1"><spacer type=block height="5" width="1"></td></tr></table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td rowspan="2" valign="top"><img src="images/l_mail01.gif" width="33" height="31"></td>
      <td bgcolor="#e20074" width="100%" height="20"><!-- <font face="Arial, Helvetica" size="1"><img src="images/l_pr02.gif" width="11" height="7"><a href="../dereferer/link.cgp?http://www.t-online.de/service/index/000svx.htm" target="_new" class="navkopf"><font color="#ffffff">Service</font></a><img src="images/l_pr02.gif" width="11" height="7"><a href="../dereferer/link.cgp?http://www.t-online.de/service/index/netsvxaa.htm" target="_new" class="navkopf">Netz-Zugang</a> --><img src="images/l_pr02.gif" width="11" height="7"><font face="Arial, Helvetica" size="1" color="#ffffff">WebMail</font><!--</font>--></td>
<!--Datum-->
  </tr>
  <tr><td height="7" width="1%"><img src="images/k_stripe2.gif" width="434" height="7"></td>
  </tr>
  <tr><td height="5" width="1"><spacer type=block height="5" width="1"></td></tr>
</table>
</td>
</tr>
</table>
</td></tr>
  <tr>
    <td width="1%" rowspan="7">&#160</td>
    <td width="100%" valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="1">
      <tr> 
        <td width="1%" align="center" nowrap><small class="sanserif">Hilfe</small></td>
        <td width="1%" align="center" nowrap><small class="sanserif">Weiterleiten</small></td>
        <td width="1%" align="center" nowrap><small class="sanserif">Antworten</small></td>
        <td width="1%" align="center" nowrap><small class="sanserif">Speichern</small></td>
        <td width="1%" align="center" nowrap><small class="sanserif">L&ouml;schen</small></td>
        <td width="1%" align="center" nowrap><small class="sanserif">&Uuml;bersicht</small></td>
        <td width="94%" align="right" rowspan="3"><img name="logo" src="img/head-webmail.gif" width="180" height="89" alt="Webmail" title="T-Online Webmail">
</td>
      </tr>
      <tr> 
        <td width="1%" height="36" align="center" nowrap>&#160;&#160;&#160;&#160;&#160;&#160;<a href="../hilfe/index03.htm" target="wmhilfe" onMouseOver="window.status='Hilfe zu WebMail'; return true;" onclick="open_helpwin('index03.htm'); return false;"><img src="img/button/b-hilfe1.gif" width="36" height="36" border="0" alt="Hilfe" title="Hilfe zu WebMail"></a>&#160;&#160;&#160;&#160;&#160;&#160;</td>
        <td width="1%" align="center" nowrap>&#160;&#160;&#160;&#160;&#160;&#160;<a href="forward.cgp?MAIL[0]=1382272197" onMouseOver="window.status='eMail weiterleiten'; return true;"><img src="img/button/b-forward1.gif" width="36" height="36" border="0" alt="Weiterleiten" title="eMail weiterleiten"></a>&#160;&#160;&#160;&#160;&#160;&#160;</td>
        <td width="1%" align="center" nowrap>&#160;&#160;&#160;&#160;&#160;&#160;<a href="answer.cgp?MAIL[0]=1382272197" onMouseOver="window.status='eMail beantworten'; return true;"><img src="img/button/b-reply1.gif" width="36" height="36" border="0" alt="Antworten" title="eMail beantworten"></a>&#160;&#160;&#160;&#160;&#160;&#160;</td>
        <td width="1%" align="center" nowrap>&#160;&#160;&#160;&#160;&#160;&#160;<a href="main.cgp?MAIL[0]=1382272197&Speichern.x=1" onMouseOver="window.status='eMail speichern'; return true;"><img src="img/button/b-speichern1.gif" width="36" height="36" border="0" alt="Speichern" title="eMail speichern"></a>&#160;&#160;&#160;&#160;&#160;&#160;</td>
        <td width="1%" align="center" nowrap>&#160;&#160;&#160;&#160;&#160;&#160;<a href="main.cgp?MAIL[0]=1382272197&Loeschen.x=1" onMouseOver="window.status='eMail l&ouml;schen'; return true;"><img src="img/button/b-loeschen1.gif" width="36" height="36" border="0" alt="Loeschen" title="eMail l&ouml;schen"></a>&#160;&#160;&#160;&#160;&#160;&#160;</td>
        <td width="1%" align="center" nowrap>&#160;&#160;&#160;&#160;&#160;&#160;<a href="main.cgp" onMouseOver="window.status='in die &Uuml;bersicht'; return true;"><img src="img/button/b-back1.gif" width="36" height="36" border="0" alt="Uebersicht" title="in die &Uuml;bersicht"></a>&#160;&#160;&#160;&#160;&#160;&#160;</td>
      </tr>
      <tr>
        <td colspan="6" height="35" valign="bottom" nowrap>&#160;&#160;<b class="bigsanserif">eMail lesen</b>&#160;&#160;&#160;&#160;<span class="sanserif">Klaus.Halfmann@t-online.de</span></td>
      </tr>
    </table>
    </td></tr>
  <tr>
    <td height="5"><spacer type=block width="1" height="5"></td>
  </tr> 
  <tr>
    <td align="right" valign="bottom">  <table width="250" border="0" cellspacing="0" cellpadding="0" bordercolorlight="#666666" bordercolordark="#666666"> 
  <tr>
    <td>&#160;</td>
  </tr>
</table> 
</td>
  </tr> 
  <tr>
    <td height="5"><spacer type=block width="1" height="5"></td>
  </tr> 
  <tr>
    <td width="100%" valign="top" align="left"><table width="100%" border="1" cellspacing="0" cellpadding="5" bordercolor="#666666" bordercolorlight="#666666" bordercolordark="#666666">
      <tr valign="top"> 
        <td><table border="0" cellspacing="0" cellpadding="3" bgcolor="#F4F5FF" width="100%">
<tr><td nowrap width="1%" align="left"><b class="sanserif">Absender:</b>
</td>
<td width="99%" nowrap align="left"><a href="addrinsstd.cgp?address=David+Kamholz+%3Cdavekam%40pobox.com%3E" title="David Kamholz &lt;davekam@pobox.com&gt; in das Adressbuch &uuml;bernehmen" onMouseOver="window.status='David Kamholz <davekam@pobox.com> in das Adressbuch &uuml;bernehmen';return true;"><span class="sanserif">David Kamholz &lt;davekam@pobox.com&gt;</span></a>
</td></tr><tr><td nowrap align="left"><b class="sanserif">Betreff:</b>
</td>
<td nowrap align="left"><span class="sanserif">FW: hfsplus problem</span>
</td></tr>
<tr><td nowrap align="left"><b class="sanserif">Datum:</b>
</td>
<td nowrap align="left"><span class="sanserif">26.08.01 16:55</span>
</td></tr>
<tr><td nowrap align="left"><b class="sanserif">Empf&auml;nger:</b>
</td>
<td nowrap align="left"><a href="addrinsstd.cgp?name=&address=klaus.halfmann%40t-online.de" title="klaus.halfmann@t-online.de in das Adressbuch &uuml;bernehmen" onMouseOver="window.status='klaus.halfmann@t-online.de in das Adressbuch &uuml;bernehmen';return true;"><span class="sanserif">klaus.halfmann@t-online.de</span></a>
</td></tr>
<tr><td nowrap align="left"><b class="sanserif">Alle Kopfzeilen:</b></td>
<td nowrap align="left"><span class="sanserif">
<a href="read.cgp?MAIL=1382272197&HEADER=1" title="Kopfzeilen anzeigen" onMouseOver="window.status='Kopfzeilen anzeigen'; return true;">anzeigen</a></span></td></tr>
<tr><td width="100%" colspan="2" bgcolor="#ffffff"><hr noshade size=1>
<tt>
Hopefully this address will work!<br>
<br>
I've also attached a postscript below.<br>
<br>
----------<br>
From: David Kamholz &lt;davekam@pobox.com&gt;<br>
Date: Sat, 25 Aug 2001 10:27:06 -0400<br>
To: &lt;khalfmann@libra.de&gt;<br>
Subject: hfsplus problem<br>
<br>
Hi Klaus,<br>
<br>
I'm trying to get hfsplus to work to access a 3gb ide drive. I normally use<br>
it on a mac but I want to access it from linux to copy the files off it.<br>
There is one partition only; hfsutils is able to mount the wrapper. However<br>
hfsplusutils complains that it cannot find either the wrapper or HFS+ volume<br>
header.<br>
<br>
Upon examining the code and drive contents a bit more closely, it turns out<br>
that there's a partition map at the beginning. The HFS wrapper is located at<br>
0xE480, so presumably the beginning of the partition is located two blocks<br>
earlier at 0xE080. I tried modifying os_seek to always add 0xE080 to the<br>
offset, as a hack, just to see if it would work. It didn't. There was no<br>
longer an error about not finding the wrapper or the volume, but hpls didn't<br>
work nor anything else. Here is the output from the commands:<br>
<br>
root:/home/davekam/hfsplus-1.0.2/src# ./hpmount /dev/hdc<br>
(null): /dev/hdc: no error (Success)<br>
root:/home/davekam/hfsplus-1.0.2/src# ./hpls<br>
lt-hpls: lt-hpls: Unable to read file for cached Volume information. (No<br>
such file or directory)<br>
root:/home/davekam/hfsplus-1.0.2/src# ./hpumount<br>
lt-hpumount: destroy: Error while destroying .hfsplusvolume (No such file or<br>
directory)<br>
<br>
I haven't had a chance to debug enough to figure out why it's not creating<br>
the cache file. Do you have any idea what's wrong? Let me know if you want<br>
me to run some tests for you...<br>
<br>
Regards,<br>
Dave<br>
----------<br>
<br>
Upon closer examination I got the offset wrong; it was actually 0x14800. The<br>
modifications I made to os.c are as follows:<br>
<br>
#define PARTITION_OFFSET 0x14800<br>
<br>
and in os_seek itself:<br>
<br>
&#160;&#160;&#160;&#160;if (offset == (unsigned long) -1)<br>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;result = lseek(fd, 0, SEEK_END);<br>
&#160;&#160;&#160;&#160;else<br>
&#160;&#160;&#160;&#160;{<br>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;where &lt;&lt;= blksize_bits;<br>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;where += PARTITION_OFFSET;<br>
/*&#160;&#160;&#160;&#160;&#160;&#160;printf(&quot;seeking to %x\n&quot;, where); */<br>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;result = lseek(fd, where, SEEK_SET);<br>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;result -= PARTITION_OFFSET;<br>
&#160;&#160;&#160;&#160;}<br>
<br>
This made it possible for me to copy the files I wanted. (I made a small<br>
perl script for recursive directory copying, I can send it to you if you<br>
like.) Actually, there was still one problem -- although doing hpls would<br>
always list directory contents correctly, for a few files, hpls &lt;file&gt; and<br>
hpcopy &lt;file&gt; would report &quot;file not found&quot; errors. I don't believe there<br>
was any problem with the filesystem, I had no trouble accessing these files<br>
on my mac. Fortunately, this occured only for two directories and one file<br>
so it didn't end up being a problem.<br>
<br>
Regards,<br>
Dave<br>
<br>
</tt>
</td></tr></table>
</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="5"><spacer type=block width="1" height="5"></td>
  </tr>    
  <tr>
    <td width="100%"><table width="100%" border="0" cellspacing="0" cellpadding="1" bgcolor="#DEDEDE">
    <tr> 
        <td width="1%" height="36" align="center" nowrap>&#160;&#160;&#160;&#160;&#160;&#160;<a href="../hilfe/index03.htm" target="wmhilfe" onMouseOver="window.status='Hilfe zu WebMail'; return true;" onclick="open_helpwin('index03.htm'); return false;"><img src="img/button/b-hilfe1.gif" width="36" height="36" border="0" alt="Hilfe" title="Hilfe zu WebMail"></a>&#160;&#160;&#160;&#160;&#160;&#160;</td>
        <td width="1%" align="center" nowrap>&#160;&#160;&#160;&#160;&#160;&#160;<a href="forward.cgp?MAIL[0]=1382272197" onMouseOver="window.status='eMail weiterleiten'; return true;"><img src="img/button/b-forward1.gif" width="36" height="36" border="0" alt="Weiterleiten" title="eMail weiterleiten"></a>&#160;&#160;&#160;&#160;&#160;&#160;</td>
        <td width="1%" align="center" nowrap>&#160;&#160;&#160;&#160;&#160;&#160;<a href="answer.cgp?MAIL[0]=1382272197" onMouseOver="window.status='eMail beantworten'; return true;"><img src="img/button/b-reply1.gif" width="36" height="36" border="0" alt="Antworten" title="eMail beantworten"></a>&#160;&#160;&#160;&#160;&#160;&#160;</td>
        <td width="1%" align="center" nowrap>&#160;&#160;&#160;&#160;&#160;&#160;<a href="main.cgp?MAIL[0]=1382272197&Speichern.x=1" onMouseOver="window.status='eMail speichern'; return true;"><img src="img/button/b-speichern1.gif" width="36" height="36" border="0" alt="Speichern" title="eMail speichern"></a>&#160;&#160;&#160;&#160;&#160;&#160;</td>
        <td width="1%" align="center" nowrap>&#160;&#160;&#160;&#160;&#160;&#160;<a href="main.cgp?MAIL[0]=1382272197&Loeschen.x=1" onMouseOver="window.status='eMail l&ouml;schen'; return true;"><img src="img/button/b-loeschen1.gif" width="36" height="36" border="0" alt="Loeschen" title="eMail l&ouml;schen"></a>&#160;&#160;&#160;&#160;&#160;&#160;</td>
        <td width="1%" align="center" nowrap>&#160;&#160;&#160;&#160;&#160;&#160;<a href="main.cgp" onMouseOver="window.status='in die &Uuml;bersicht'; return true;"><img src="img/button/b-back1.gif" width="36" height="36" border="0" alt="Uebersicht" title="in die &Uuml;bersicht"></a>&#160;&#160;&#160;&#160;&#160;&#160;</td>
      <td width="94%" align="right" rowspan="2"><spacer type=block width="180" height="1"></td>
    </tr>
    <tr> 
      <td width="1%" align="center" nowrap><small class="sanserif">Hilfe</small></td>
      <td width="1%" align="center" nowrap><small class="sanserif">Weiterleiten</small></td>
      <td width="1%" align="center" nowrap><small class="sanserif">Antworten</small></td>
      <td width="1%" align="center" nowrap><small class="sanserif">Speichern</small></td>
      <td width="1%" align="center" nowrap><small class="sanserif">L&ouml;schen</small></td>
      <td width="1%" align="center" nowrap><small class="sanserif">&Uuml;bersicht</small></td>
    </tr>
  </table></td></tr>
      <tr><td></td><td>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr><td height="1"></td></tr>
          <td height="11" bgcolor="#E20074"><spacer type=block width="1" height="11"></td>

          <tr>
            <td width="1%"><img src="img/hr-bottom700.gif" width="700" height="7"></td>
          </tr>
        </table>
      </td>
      <td></td>
    </tr>  
</table>
</body>
</html>