Subject: Re: incompatable, old appledouble files
From: Wenchi Liao (wliao@midway.uchicago.edu)
Date: Fri Feb 11 2000 - 12:11:55 EST
Steve Holmes wrote:
>
>We want to rid ourselves of nfsshare. One advantage of using netatalk over
>other pricey products is that we might be able to modify the code to handle
>the % appledouble files instead of running a script to convert them all to the
>
>more standard ".AppleDouble/filename" method.
>
>My problem: I have examined the code and found that in ad_path() in the
>libatalk directory, I should be able (as a first step) to change the path
>prefix from ".AppleDouble" to "%" and comment out the line which adds the '/'
>to the path and expect netatalk to read the % appledouble files and re-write
>them in place.
>
>Such is not the case. There are other occurances of the string ".AppleDouble"
>in the system and it is not clear what they are doing. In addition, netatalk
>appears to create a file with the single character name '%' instead of the
>expected %filname.
>
>[Ultimately, we would want netatalk to read the old AD files, but write only
>the new, standard ones, thus migrating slowly to the standard.]
Just a question. Are you sure the % files works with netatalk?
That is, if you took a directory and changed the % files to the
appropriate .AppleDouble files, will netatalk actually
read/parse the file correctly?
At some level, the old % files have to be converted to
netatalk's .AppleDouble files. If the files are compatible
enough, then a massive script jobby would be so much simpler and
gauranteed than for netatalk to do the conversions on the fly.
What if a person doesn't mount a volume, and netatalk never gets
a chance to do the conversion? Unless you can guarantee that
everybody will mount and have this conversion done, you're
looking at mucking with the code everytime you want to rev. up
netatalk.
When I was moving some xinet's kashare stuff to netatalk, one
option was to find massive disks and copy from volume to
volume. OTOH, xinet has a neat set of tools to do conversions
between things. Like xinet files to macbinary, then megatron to
do binary to netatalk style appledouble.
WL
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:30:03 EST