www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/11/09/23:31:16

Date: Wed, 10 Nov 93 12:36:53 JST
From: Stephen Turnbull <turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Conversion of Unix to DOS file names

For what it's worth, I believe there is a standard: the so-called Rock
Ridge extensions for ISO-9660 (for CD-ROMs).  I don't particularly like
the Rock Ridge format, but it seems to be a format that any system can
handle.  It does require that you reserve the file `00_trans.tbl' (or
something like that) for the translation table (which reconverts the
DOS-readable filenames to original illegal Un*x versions).
    One could hack the C library functions to use the 00_trans.tbl if
one exists.  This would not solve all file-naming compatibility
problems, though, since one would have to decide what to do in the
case where the user decides to enter an illegal filename: create
00_trans.tbl or signal an error.  Also, native utilities (such as
`dir') wouldn't use the 00_trans.tbl.  This would be at least an
inconvenience.
    --Steve

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019