home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / protocol / nfs / 2212 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  2.5 KB

  1. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!wupost!waikato.ac.nz!slang
  2. From: slang@waikato.ac.nz
  3. Newsgroups: comp.protocols.nfs
  4. Subject: PC-NFS name mapping.
  5. Message-ID: <1992Sep3.123948.10558@waikato.ac.nz>
  6. Date: 3 Sep 92 12:39:47 +1200
  7. Organization: University of Waikato, Hamilton, New Zealand
  8. Lines: 55
  9.  
  10. Another little interesting problem.
  11.  
  12. When a PC-NFS 4.0a client tries to access a NFS server that has some of its
  13. files in Uppercase, then PC-NFS does it's filename truncating stuff. This is of
  14. course entirely valid as if a server has two different files with the same name,
  15. but one entirely in uppercase, and one entirely in lowercase, they are actually
  16. different files from most servers point of view. DOS would treat these files as
  17. exactly the same.
  18.  
  19. Now, when you have a OS/2 NFS server using an HPFS partition, HPFS preserves the
  20. case, but is not case sensitive. In these servers, the file would be the same
  21. from the servers point of view, however PC-NFS would still do the filename
  22. truncation if it contained any uppercase characters in the filename. In this
  23. case it doesn't really make sence to do the name mapping.
  24.  
  25. What is even worse is if you have a OS/2 NFS server serving out a FAT partition
  26. to PC-NFS FAT clients. FAT filesystems have no concept of case, and will only
  27. store files in UPPERCASE. This means that if you do mount a FAT filesystem on an
  28. OS/2 NFS server, every file will be mapped into a different name-space.
  29.  
  30. E.g..
  31.  
  32. PC-NFS        Unix Server        OS/2 Server
  33.                 HPFS Partition    FAT Partition
  34.  
  35. SLANG~3A                    SLANG
  36. SLANG~6A    SLang        SLang
  37. SLANG        slang        slang
  38.  
  39. The PC-NFS column is what PC-NFS reports back to DOS as the real filename. The
  40. other columns are what the actual filename is depending on what type of server/
  41. filesystem is being used.
  42.  
  43. In the case where you have a FAT partition on a server, and a DOS systems as a
  44. client, it seems stupid that you can't even access the files by their own name!
  45.  
  46. Is there a way around this at all? Am I missing something?
  47.  
  48. I'm not looking to turn off all Name mapping, but if we were given the option
  49. of specifying UPPERCASE filenames to be the default, and then lowercase would
  50. be mapped, then it would fix at least one _SIMPLE_ situation that we have here.
  51.  
  52. Cheers --
  53.  
  54.        Drink is the curse        Steve Lang
  55.     of the working class man    Systems Programmer Analyst
  56.     Work is the curse of the    University of Waikato
  57.        Drinking class man        Hamilton
  58.                     NEW ZEALAND
  59.                     <slang@waikato.ac.nz>
  60.                     Ph    +64-7-856 2889 Ext 8341
  61.                     Fax    +64-7-838 4066
  62.  
  63. I am not responsible for my employers opinion (thank heavens,) and neither are
  64. they for mine.
  65.