From owner-freebsd-fs Tue Sep 15 12:59:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA19409 for freebsd-fs-outgoing; Tue, 15 Sep 1998 12:59:52 -0700 (PDT) (envelope-from owner-freebsd-fs@FreeBSD.ORG) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA19401 for ; Tue, 15 Sep 1998 12:59:42 -0700 (PDT) (envelope-from tlambert@usr09.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id MAA23727; Tue, 15 Sep 1998 12:59:22 -0700 (MST) Received: from usr09.primenet.com(206.165.6.209) via SMTP by smtp01.primenet.com, id smtpd023687; Tue Sep 15 12:59:19 1998 Received: (from tlambert@localhost) by usr09.primenet.com (8.8.5/8.8.5) id MAA22309; Tue, 15 Sep 1998 12:59:16 -0700 (MST) From: Terry Lambert Message-Id: <199809151959.MAA22309@usr09.primenet.com> Subject: Re: longfile to short file name conversion algo for msdosfs To: hiren@tagore.wipinfo.soft.net (Hiren Mehta) Date: Tue, 15 Sep 1998 19:59:15 +0000 (GMT) Cc: freebsd-fs@FreeBSD.ORG In-Reply-To: from "Hiren Mehta" at Sep 14, 98 06:57:32 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Is there any algorithm which converts UNIX longfilenames to > MS-DOS short filenames (8+3 chars) instead of truncating the filename ? Yes. See the WIN95IFS.DOC file that came with the MSDN Level II DDK; it enumerates the full algorithm used by Microsoft's IFS code in Windows95 for VFAT/VFAT32. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message