Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!caip!nike!ucbcad!ucbvax!CERNVM.BITNET!JCV From: JCV@CERNVM.BITNET (Jan C. Vorbrueggen) Newsgroups: mod.computers.vax Subject: Re: quota.sys file Message-ID: <8609071218.AA17348@ucbvax.Berkeley.EDU> Date: Sun, 7-Sep-86 08:19:03 EDT Article-I.D.: ucbvax.8609071218.AA17348 Posted: Sun Sep 7 08:19:03 1986 Date-Received: Sun, 7-Sep-86 20:12:43 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 15 Approved: info-vax@sri-kl.arpa Mark, instead of trying to read the quota file yourself (whose format might change, who knows), why don't you use the appropriate ACP QIO calls? They are docu- mented in the I/O user manual, part I. If you want, I can send you a MACRO (yes, I know I can do anything with FORTRAN, but it's still easier in MACRO...) routine, together with a FORTRAN programm that uses it (asks you for disk name and UIC, prints all three quotas); you could modify it to look up a UIC in RIGHTSLIST.DAT when you supply a username or general identifier. About the second question, 'which disk is least used', what precisely do you mean by that? Do you want to know which disk has most free blocks? Or which disk does the least I/O operations? Or...? --- Jan