Subject: [netatalk-admins] Re: ushare to netatalk resource fork conversion?
From: Patrick M. Frazer (frazer@beacon.com)
Date: Mon Jul 07 1997 - 15:28:21 EDT
Tim Rand wrote:
>
> At 3:59 PM -0500 7/1/97, Patrick M. Frazer wrote:
> >What I would rather do is to move the data from one Unix filesystem to
> >another, then convert the UShare resource forks into the format used by
> >Netatalk. Does anyone have any ideas or pointers to get me started?
> >I've done enough analysis to discover that the two packages' forks are
> >very different, but that's it. Pointers to detailed specs of the
> >different resource fork layouts would suffice; I've already accepted the
> >fact that I'll probably be writing a conversion program...
>
> Try moving the resource fork files to a .AppleDouble directory under the
> directory where the file resides. This worked for me where I converted
> form Wolongong's Pathway NFS format to netatalk's format.
>
> Pathway NFS used a prefix of ._filename for the resource fork.
>
> If the base (data fork) file name was XYZ then resource fork was ._XYZ
>
> I suspect that simply moving UShare's files to the right place will work.
I wish it were that easy. Good idea though. Thanks to Tim, Frank
Morton and Dan Pritts for responses to my query.
The synopsis of what I've heard is to turn the Ushare data into a
MacBinary format and use Netatalk's command set built around 'megatron'
to pull it back out. Sounds simple enough, but there's no way known to
IPT's tech support guys to turn the Ushare data and resource forks into
a MacBinary. (Ugh!) Having recently found the 'mcvert' package which
will turn a "real" Mac file into a MacBinary format, I'm left with the
task of turning the Ushare resource fork into a "normal" resource fork.
The techs at IPT have provided this much information:
Offset Description
0-32 Finder Info
33-255 Proprietary
256 Comment Length
257-456 Comment
457-511 Proprietary
512- Resource fork data
It looks like if I can interpret and use the 32 bytes of Finder Info and
the data after offset 512 I can construct a "normal" resource fork.
Does anyone on this list have any insight into this? Anyone know how
the 32 bytes of Finder Info are laid out? Anyone have some Tylenol?
-Patrick
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:25:30 EST