home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / vms / 20289 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  2.1 KB

  1. Path: sparky!uunet!spool.mu.edu!agate!ucbvax!galaxy.dnet!gleeve
  2. From: gleeve@galaxy.dnet
  3. Newsgroups: comp.os.vms
  4. Subject: Re: movefile query
  5. Message-ID: <9301041506.AA12651@relay1.UU.NET>
  6. Date: 4 Jan 93 14:26:21 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 31
  11.  
  12. There are a couple longs for additional operation status codes in
  13. a FIB. The Movefile primitive uses one of these (see the i/o support
  14. manual chapter on ACP interface for detail) to report what the
  15. movefile actually did.
  16.  
  17. Incidentally, I have implemented a softlink facility for VMS, embedded
  18. in the filesystem, using some of the techniques described in the last
  19. magic session at DECUS. (<evil grin for those who wanted humor and
  20. didn't listen...you'll have to wait for the next symp. where I can
  21. give a regular session...>). Unfortunately, not being DEC, it doesn't
  22. er, I didn't use the normal directory file hooks...can't easily break
  23. into the relevant parts of RMS. (Pardon the garble...someday I'll compose
  24. using an editor :-) ).
  25.    Forcing an open of another file is simple. The tricky stuff is handing
  26. the markings in some kind of sensible way and getting the user channel
  27. back where he expects it when close occurs. Fail to do that and all sorts
  28. of odd, but generally harmless, things happen.
  29.    There are conceptual issues too. On a VMS system, you can reasonably want
  30. a link not to a device, but to a volume on that device. It's interesting to
  31. check for these, but has to be a user option; imagine the pathological
  32. case in which your hard disk farm has a bunch of softlinks to files on
  33. different floppies, and only one floppy drive. Lots of deadlock possibilities
  34. exist where applications try to open different combinations of files on
  35. different volumes; fielding things correctly would require intercepting
  36. read/write virtual and ensuring the correct volume was there before allowing
  37. things to proceed. While this can be done, it's questionable whether anyone
  38. would actually want to do it. ("seek time" takes on a whole new meaning when
  39. it means rummaging thru a pile of floppies :-) for such a case...)
  40. Glenn
  41. Everhart@raxco.com
  42.  
  43.