Re: mac-unix translation


Subject: Re: mac-unix translation
From: zinc (zinc@zifi.genetics.utah.edu)
Date: Fri Mar 29 1996 - 19:18:51 EST


-----BEGIN PGP SIGNED MESSAGE-----

Frank Thomas writes:
> I have noted that when using netatalk to transfer files between a mac an unix,
> some files (in particular, unix compressed Z files) get corrupted. I assume
> that this is because of automatic translation of <cr> and <lf>.
>

howdy frank and others,

netatalk 1.3.3 allows you to control the file types by extensions.
just edit the file /usr/local/atalk/etc/AppleVolumes.system to add any
extensions you want.

this is the stuff i have in my file for unix compressed files:

          .gz Gzip Gzip
          .tgz Gzip Gzip
          .Z ZIVM LZIV

i regularily (nightly) move ~180 MB from my linux box to an optical
drive connected to on of our macs with no problems. i have even moved
the files back to my linux box this way and uncompressed and untarred
them without any problems.

i guess you might have a problem if you had not defined these file
types. i believe the default is to treat undefined things as
SimpleText docs which is not a good thing for unix binary files.

hope this helps,

- -patrick finerty

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBMVx95k3Qo/lG0AH5AQE7ygP/QzRYId2fYjCMjERC/TiGBIvEkkXFF/ki
oDL2b7hoFhyinFkTS/YvxoZWRTYgocaGyCj+f1TlSaCchNdZrVMXTpaVjGDU7lFS
R9cELG5nMqzBAyMKicuSTWQC+fNCV3T6rU+GA+avOKBHlAKKSoJwoxPcQc5UW0MN
so/PEqjOsq0=
=GrWQ
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:24:02 EST