Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!wuarchive!mit-eddie!rutgers!cbmvax!jesup From: jesup@cbmvax.commodore.com (Randell Jesup) Newsgroups: comp.sys.amiga.programmer Subject: Re: MSH on A3000 Message-ID: <21735@cbmvax.commodore.com> Date: 20 May 91 06:05:34 GMT References: <47934@ut-emx.uucp> <21537@cbmvax.commodore.com> <896@macuni.mqcc.mq.oz> Reply-To: jesup@cbmvax.commodore.com (Randell Jesup) Organization: Commodore, West Chester, PA Lines: 30 In article peter@cutmcvax.cs.curtin.edu.au (Peter Wemm) writes: >Yes, I agree. But I wish that somebody would tell us what has changed at >the packet level between 1.3 and 2.0 to make MSH not work. Note that MSH >is based on the same code that Matt Dillon's DNET NFS: is based on, and >both have the same problem. If one types "cd MSH:" or "cd NFS:" >one is greeted with "object not found". The actual cd worked though, because >a dir at this point gives a MS-DOS or UNIX directory respectively. Actually, what CD is doing is walking up the directory tree to get the full pathname of the destination - I suspect this is where the problem comes, since I'm told it actually does change directories even though the error is reported. The actions involved would be: COPY_DIR (duplock), PARENT, EXAMINE, and FREE_OBJECT (unlock). It also requires the fl_Volume pointer to be set up correctly, and that Parent(root_lock) return 0 with dp_Res2 of 0 (i.e. IoErr() of 0) - I suspect this is the problem. Note: Parent has always had to return those values, though less things depended on them in the past. The code for NameFromLock() is taken from code I wrote for myself a couple of years before coming to Commodore 3 years ago - i.e. a year after the Amiga came out. -- Randell Jesup, Keeper of AmigaDos, Commodore Engineering. {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.commodore.com BIX: rjesup Disclaimer: Nothing I say is anything other than my personal opinion. Thus spake the Master Ninjei: "To program a million-line operating system is easy, to change a man's temperament is more difficult." (From "The Zen of Programming") ;-)