Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!lll-winken!sun-barr!newstop!eastapps!bodleian!geoff From: geoff@bodleian.East.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top) Newsgroups: comp.protocols.nfs Subject: Re: filename remapping problem Message-ID: <5788@eastapps.East.Sun.COM> Date: 26 Apr 91 21:08:05 GMT References: <1343.28155889@sleepy.bmd.trw.com> Sender: news@East.Sun.COM Reply-To: geoff@east.sun.com (Geoff Arnold @ Sun BOS - R.H. coast near the top) Organization: Sun Microsystems PC-NFS Engineering Lines: 27 Quoth bstrong@oz.bmd.trw.com (in <1343.28155889@sleepy.bmd.trw.com>): # #This question has probably been asked several times before, but I am having #a file naming problem and want to know if NFS is the one doing it. When #I save files from a MAC to a file server (thru a Cayman GatorBox and a #Sun 3/150 as my Yellow Pages server) and look at the files from a PC, the #names are altered (remapped?) to include a tilde even though they are only #3-6 characters long (yet the MAC still sees the correct filename). #Furthermore, sometimes when the PCs save files to other file servers #this remapping is again done (again, filenames are less than eight characters). Length is not the only criterion for mapping: character set is also an issue. Since DOS filenames are case-insensitive (though uppercased internally) it's necessary to distinguish between the legal Unix file names "Abc", "abc", "ABC", "aBC", etc. Since Unix filenames are usually lower case (don't be picky!) the decision was made to case flip names, and map any that didn'rt wind up looking like DOS (uppercase). Thus the Unix "abc" becomes the DOS "ABC", and the others get mapped. Macs are also case insensitive, but are case preserving, which involves all sorts of crazy games..... -- Geoff Arnold, PC-NFS architect, Sun Microsystems. (geoff@East.Sun.COM) -- ------------------------------------------------------------------------------ -- Sun Microsystems PC Distributed Systems ... -- -- ... soon to be a part of SunTech (stay tuned for details) --