Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!cs.utexas.edu!sun-barr!newstop!eastapps!hinode!geoff From: geoff@hinode.East.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top) Newsgroups: comp.protocols.nfs Subject: Re: PC-NFS & DOS Interrupts Message-ID: <3961@eastapps.East.Sun.COM> Date: 18 Jan 91 14:30:32 GMT References: <91017.213153TOMIII@MTUS5.BITNET> 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: 30 Quoth TOMIII@MTUS5.BITNET (Thomas Dwyer III) (in <91017.213153TOMIII@MTUS5.BITNET>): #I tried out some of the DOS network interrupts on PC-NFS. Some seem to #work, while others fail miserably. Function 0x5E00 (Get Machine Name) #works correctly, assuming your hostname is less than 16 characters. # #Function 0x5F02 (Get Redirection List Entry) also works - let's you #write a faster NET USE function. # #Function 0x5E02 returns AX=0x32, "Network Request Not Supported" # #My question is this - why does function 0x5F04 (Cancel Redirection) #return AX=5, "Access Denied", as does function 0x5F03, "Redirect #Device"? Am I calling the function correctly, or doesn't PC-NFS #support this call? If the call is not supported, why return "Access #Denied" instead of "Network Request Not Supported"? The PC-NFS redirector supports 0x5E00 and 0x5F02 only. The other functions are not supported. This is because we do not include "mount" and "unmount" logic in the PCNFS.SYS kernel: we feel that it would use too much memory for a relatively limited payback. We had to implement 0x5E00 and 0x5F02 in order to support certain (IMHO brain-dead) software which wanted to treat remote and local files differently (e.g. only locking remote files). Instead of using 0x4409 (is device local or remote) or 0x440A (is handle local or remote) they chose to invoke 0x5F02 to build a list of remote drives. >sigh< -- Geoff Arnold, PC-NFS architect, Sun Microsystems. (geoff@East.Sun.COM) -- ------------------------------------------------------------------------------ --"Patriotism is the willingness to kill and be killed for trivial reasons."-- ----------------------------(Bertrand Russell)--------------------------------