Subject: incompatable, old appledouble files
From: Steve Holmes (sjh@harmony.cc.purdue.edu)
Date: Thu Feb 10 2000 - 13:19:50 EST
Having scanned the archive and the faq ...
I'm evaluating netatalk for our needs. We have been using a package called
nfsshare for a number of years and have several thousand student directories
which have been touched by it.
Nfsshare provided nfs access to the unix servers via (obviously) nfs. It
stored the appledouble files in the same directory as the real files by
prepending a '%' character to the file name. It also, incidentally,
incorrectly set a shared bit which we have had to fix in the background.
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.]
I know it's a long shot, but if anyone else has tackled this problem, I'd like
to talk with you. Secondly, if anyone else has any words of wisdom other than
the obvious: "run the script, stupid", I'd like to hear them, too.
Thanks,
Steve.
-- Steve Holmes \http://harmony.cc.purdue.edu/~sjh Unix Systems Administrator \Email:sholmes@purdue.edu Purdue University Computing Center\ 1408 Mathematics Building \Phone: (765) 496-3325 West Lafayette IN 47907-1408 \
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:30:01 EST