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