Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 1998 07:53:49 -0700 (PDT)
From:      David Wolfskill <dhw@whistle.com>
To:        freebsd-fs@FreeBSD.ORG, hiren@tagore.wipinfo.soft.net
Subject:   Re: longfile to short file name conversion algo for msdosfs
Message-ID:  <199809151453.HAA04876@pau-amma.whistle.com>
In-Reply-To: <Pine.SV4.3.93.980914185414.24238B-100000@tagore>

next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Mon, 14 Sep 1998 18:57:32 +0530 (IST)
>From: Hiren Mehta <hiren@tagore.wipinfo.soft.net>

>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809151453.HAA04876>