From owner-freebsd-hackers Tue Aug 25 14:22:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA08198 for freebsd-hackers-outgoing; Tue, 25 Aug 1998 14:22:45 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA08174; Tue, 25 Aug 1998 14:22:30 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id OAA17644; Tue, 25 Aug 1998 14:11:52 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpdC17640; Tue Aug 25 21:11:46 1998 Date: Tue, 25 Aug 1998 14:11:43 -0700 (PDT) From: Julian Elischer To: Stefan Bethke cc: freebsd-hackers@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: Warning: Change to netatalk's file name handling In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG please check with jallison@eng.sgi.com (or if that bounces get back to me) he has patches we use at whistle to make netatalk do various code pages in a manner compatible with samba (which he is a primary developer of) I think his patches already do something similar to what you want (but I'm not sure) julian On Tue, 25 Aug 1998, Stefan Bethke wrote: > As you might be aware, Mac's tend to use characters in file names usually > not used on UN*X systems, namely in the range \0x01-\0x1F and \0x7f-\0xff. > > Especially annoing is the "Icon\0x0D" for Custom Icons on Folders or > Volumes. > > I will put a patch in the netatalk port that maps all characters outside > of \0x20 to \0x7E (aka isprint()) to the equivalent hex ":xx" sequence. > > This will break access to files which names contain characters in the > range \0x01 to \0x1F; they no longer will be accessible from any AFP > client (they will be visible, but the client will get a "file not found" > error when trying to access it). > > If nobody objects, I'll commit this the next few days. > > Cheers, > Stefan > > -- > Stefan Bethke > Muehlendamm 12 Phone: +49-40-256848, +49-177-3504009 > D-22087 Hamburg > Hamburg, Germany > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message