home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / vms / 12971 < prev    next >
Encoding:
Text File  |  1992-07-30  |  1.4 KB  |  31 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!rpi!batcomputer!cheme.tn.cornell.edu!OLIN
  3. From: olin@cheme.tn.cornell.edu (Steve Thompson)
  4. Subject: Re: Can I change quota entries from DCL or a program?
  5. Message-ID: <1992Jul30.205149.15127@tc.cornell.edu>
  6. Sender: news@tc.cornell.edu
  7. Nntp-Posting-Host: vger.cheme.cornell.edu
  8. Reply-To: olin@cheme.tn.cornell.edu
  9. Organization: Cornell University School of Chemical Engineering
  10. References: <9207291933.AA06009@genrad.com>
  11. Date: Thu, 30 Jul 1992 20:51:49 GMT
  12. Lines: 17
  13.  
  14. In article <9207291933.AA06009@genrad.com>, dongray@cdclu1.genrad.com (Derek Dongray) writes:
  15. >Following my sig is a pascal program to list all disk quotas on the current
  16. >disk. Obviously, the requires read access to QUOTA.SYS.
  17.  
  18. This will not work quite right. You must read quotas using IO$_ACPCONTROL
  19. functions, or you will very often get incorrect results. Quotas are cached in
  20. memory, and the numbers in the QUOTA.SYS file are only accurate when the cache
  21. is flushed.
  22.  
  23. Steve
  24.  
  25. ---------------------------------------------------------------------------
  26. Steve Thompson, System Mangler   Internet: thompson@cheme.tn.cornell.edu
  27. School of Chemical Engineering   Bitnet:   thompson@crnlchme
  28. Olin Hall, Cornell University    Phone:    (607) 255 5573
  29. Ithaca NY 14853
  30. ---------------------------------------------------------------------------
  31.