home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / vms / 14761 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.3 KB  |  27 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!sun-barr!decwrl!deccrl!news.crl.dec.com!pa.dec.com!engage.pko.dec.com!ramblr.enet.dec.com!moroney
  3. From: moroney@ramblr.enet.dec.com
  4. Subject: Re: page file name not available
  5. Message-ID: <1992Sep8.215104.2739@engage.pko.dec.com>
  6. Sender: newsdaemon@engage.pko.dec.com (USENET News Daemon)
  7. Organization: Digital Equipment Corporation
  8. Date: Tue, 8 Sep 1992 22:43:00 GMT
  9. Lines: 16
  10.  
  11. In article <FB257E096E7FC126B1@sb.hhs.dk>, ARNE@ko.hhs.dk (Arne Vajhxj) writes...
  12. >A little experimentation has convinced my that SHOW MEM will always show
  13. >filename for primary pagefile and swapfile but only show filename for
  14. >secondary pagefiles, if you have read access to the file !?!?
  15.  
  16. $ SHOW MEM 'knows' if a swap/pagefile is the primary swap/pagefile or
  17. not.  If it is the primary file it can come up with a valid name for it since
  18. it knows where VMS will look for it.  If it's not, it only has a FID.
  19. It will try to translate this into a filename but if the running process
  20. does not have read access to the pagefile (it shouldn't for unprivileged
  21. users, else you have a security hole) it can't translate this into a name
  22. so you get the 'file name not available' message.  Same as $ show dev/fi <disk>
  23. will show error messages instead of filenames if you don't have read access to
  24. those files.
  25.  
  26. -Mike
  27.