home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / protocol / tcpip / ibmpc / 6157 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  3.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!ucbvax!WAIKATO.AC.NZ!SLANG
  2. From: SLANG@WAIKATO.AC.NZ (Steve Lang)
  3. Newsgroups: comp.protocols.tcp-ip.ibmpc
  4. Subject: RE: PC-NFS 4.0 and IBM TCP/IP 1.2.1 for OS/2 problems
  5. Message-ID: <9211081939.aa03753@louie.udel.edu>
  6. Date: 9 Nov 92 00:38:00 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 74
  11.  
  12. >I am trying to access an OS/2 2.0 NFS server (IBM TCP/IP 1.2.1 for OS/2)
  13. >from a DOS 5.0 PC running Sun PC-NFS 4.0. I can mount drives from the
  14. >OS/2 server, but when I do a dir I get names that look like...
  15.  
  16. >    WINWO~7A     <DIR>     04-14-92   9:06a
  17.  
  18. >when they should look like...
  19.  
  20. >    WINWORD  DSK <DIR>     04-14-92   2:06a 
  21.  
  22. >(notice the time stamp is wrong also)
  23.  
  24. >In fact the only file or directory that has a extenstion is a WINA20.386 
  25. >but even it is displayed as WINA2~HA.386.
  26.  
  27. >You can cd to a directory if you know the name (not the dir displayed
  28. >mangled version).
  29.  
  30. >You cannot execute .exe files but you can type autoexec.bat, for example.
  31. >You can copy files from DOS to NFS server, but you cannot copy from the
  32. >NFS server to DOS (says file not found).
  33.  
  34. >Can anyone shed some light on this problem. When I called Sun, all I got
  35. >was a "we didn't test with that software" answer.
  36.  
  37. What you are seeing is the PC-NFS name translation thingy. Most filenames on 
  38. Unix/NFS servers are in lowercase. These translate o.k. to DOS. Not a problem 
  39. here.
  40.  
  41. Where you have a mixture of case or all uppercase, PC-NFS translates the 
  42. filename. This is because on a Unix server the files 'Autoexec.bat' and 
  43. 'autoexec.bat' are different, but on DOS they are the same. So, the PC-NFS 
  44. client is preserving the fact that they are different files, by changing the 
  45. filename of one.
  46.  
  47. If a server has all of it's files in UPPERCASE, PC-NFS will quite happily 
  48. translate all of the filenames to something pretty much unrecognisable. This is 
  49. the case where you have a FAT partition under OS/2. All of the filenames are 
  50. uppercase in FAT partitions. So, serving a FAT partition to a FAT client creates 
  51. a problem!
  52.  
  53. NB::    FAT filesystems are NOT case sensitive or case preserving.
  54.     HPFS filesystems are NOT case sensitive, but ARE case preserving.
  55.     Most Unix filesytems ARE case sensitive and case preserving.
  56. (Please, no flames.)
  57.  
  58. Solutions:
  59.  
  60. 1) Wait for a 'future' release of PC-NFS that will have an option to disable 
  61. name translations on a mount by mount basis. (Don't ask me when.)
  62.  
  63. 2) Change all of the filenames to lowercase. This is only valid if your OS/2 
  64. disk is an HPFS disk.
  65.  
  66. 3) Convince the OS/2 NFS server to convert FAT Filenames to lowercase.
  67.  
  68.  
  69. Number 2 will work now, number 3 may or may not be possible, number 1 will have 
  70. to wait untill the code gets written, and that's up to SUN.
  71.  
  72. Hope this helps -
  73.  
  74.        Drink is the curse        Steve Lang
  75.     of the working class man    Systems Programmer Analyst
  76.     Work is the curse of the    University of Waikato
  77.        Drinking class man        Hamilton
  78.                     NEW ZEALAND
  79.                     <slang@waikato.ac.nz>
  80.                     Ph    +64-7-856 2889 Ext 8341
  81.                     Fax    +64-7-838 4066
  82.  
  83. I am not responsible for my employers opinion (thank heavens,) and neither are
  84. they for mine.
  85.  
  86.