Subject: Re: [netatalk-admins] Netatalk-1.4b2-hurricane & corrupted mp3s and quicktimes
From: Osma Ahvenlampi (oa@spray.fi)
Date: Wed Apr 15 1998 - 05:13:49 EDT
mt71310 <mt71310@doc.cco.net> writes:
> I've been using 1.4b2 Hurricane in my schoolroom lab providing file
Hurricane? That's a codename I haven't heard before (well, except that
Red Hat Linux 5.0 is codenamed Hurricane).
> services to 32 macs. Things seem to work just fine, except that a
> student recently discovered that his mp3s and quicktimes seemed to have
> acquired sharp crackling audio distortion and white speckled videio
> artifcacts after transferring to/from the Linux box via Netatalk. The
> corruption stayed with the file after the transfer.
[..]
> Could netatalk be misinterpreting quicktime binaries and mp3s for some
> sort of text and adding/removing cr/lfs or something...(I'm obviously
> shooting in the dark here)
Shot in the dark maybe, but exactly correct anyway. Netatalk compiled
with the default options will 1) assume any file with an extension it
doesn't recognise is type TEXT/UNIX 2) perform CR/LF translation on
all files of type TEXT.
Quick fix: add the extensions to AppleVolumes.system with the correct
type/creator codes (or at least codes other than TEXT).
Get rid of the problem itself: recompile Netatalk (afpd) without
-DCRLF. It's nothing but problems anyway, text editors can deal with
linefeed differences by themselves if they're any good.
-- A conclusion is simply the place where you got tired of thinking. Osma Ahvenlampi <oa@spray.fi>
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:32:20 EST