[comp.protocols.nfs] Unix filename from DOS with PC-NFS

DAVISTD@MSU.BITNET (Tom Davis) (11/16/89)

Geoff, is there any (straightforward) way to do this?  I'm still real
interested.

My apologies if you've tried to E-mail...  I haven't seen anything.
-------
Tom Davis                 | The above statement shall be construed,
Network Software Services | interpreted, and governed by me alone.
Michigan State University | EMail: davistd@ibm.cl.msu.edu

GEustace@massey.ac.nz (Glen Eustace) (11/24/89)

If the Unix filename is known, it is possible to open it directly,
provided that the path conforms to DOS stds.

i.e.	fopen( "/dir1/dir2/dir3/aunixfilename", ... ) works
	fopen( "/dir1/dir2/aunixdirectory/myfile", ... ) does not.

The program that posted this NETNEWS/PC actually mounts /usr/spool and
reads all the articles directly, opening them is a problem when you have
names like /aus/computers/ibmpc/37, the way I handle this is to do the
following;
        chdir( "/news" );
	chdir( "aus" );
	chdir( "computers" );
	chdir( "ibmpc" );
	fopen( "37", "r" ); which works great.

The only problem I have struck is trying to open unix files with mixed
case i.e. 'MyFile' cannot be opened as PC-NFS downcases all the letters
before attempting the open.

With the above in mind, it would be nice to be able to find the Unix name
for ABCDE~AA via a reverse mapping.

-- 
-----------------------------------------------------------------------
  Glen Eustace, Software Manager, Computer Centre, Massey University,
   Palmerston North, New Zealand. Phone: +64 63 69099 x7440 GMT+12
             E-Mail via Internet: G.Eustace@massey.ac.nz
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>