From owner-freebsd-fs Tue Sep 15 07:54:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA23050 for freebsd-fs-outgoing; Tue, 15 Sep 1998 07:54:34 -0700 (PDT) (envelope-from owner-freebsd-fs@FreeBSD.ORG) Received: from pau-amma.whistle.com (s205m64.whistle.com [207.76.205.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA23026 for ; Tue, 15 Sep 1998 07:54:16 -0700 (PDT) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.8.8/8.8.7) id HAA04876; Tue, 15 Sep 1998 07:53:49 -0700 (PDT) (envelope-from dhw) Date: Tue, 15 Sep 1998 07:53:49 -0700 (PDT) From: David Wolfskill Message-Id: <199809151453.HAA04876@pau-amma.whistle.com> To: freebsd-fs@FreeBSD.ORG, hiren@tagore.wipinfo.soft.net Subject: Re: longfile to short file name conversion algo for msdosfs In-Reply-To: Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Date: Mon, 14 Sep 1998 18:57:32 +0530 (IST) >From: Hiren Mehta >Is there any algorithm which converts UNIX longfilenames to >MS-DOS short filenames (8+3 chars) instead of truncating the filename ? Several algorithms exist, but because of the nature of the transform, you're going to lose information. Thus, where you didn't have name collisions in UNIX, you could have them in the 8.3 world. So you need to decide how you want to handle collisions. And "truncating the filename" is a valid algorithm, as well. david -- David Wolfskill UNIX System Administrator dhw@whistle.com voice: (650) 577-7158 pager: (650) 371-4621 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message