From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bad4d304968bea52 X-Google-Attributes: gidfee84,public From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Subject: Re: Changing disc quotas from the command line Date: 1996/12/04 Message-ID: <584sae$93v@dogbert.cc.ndsu.NoDak.edu>#1/1 X-Deja-AN: 202379869 references: <32A551A4.41C6@dcs.rhbnc.ac.uk> content-type: text/plain; charset=US-ASCII organization: North Dakota Higher Education Computing Network (NDHECN) mime-version: 1.0 newsgroups: comp.unix.osf.osf1 [posted & cc'ed] In article <32A551A4.41C6@dcs.rhbnc.ac.uk>, Bob Vickers wrote: > Hi, > > Has anyone written a command-line interface for maintaining user disc > quotas? vedquota is great if you only want to change one or two users, > or if you want to copy an entire set of defaults from a prototype user, > but is hopeless for making bulk changes to one or two fields. Something > like > vchquota [-F limit] [-f limit] [-B limit] [-b limit] [-s setname] user.. > > is needed. > > I can't even see how to write such a utility, because the quotactl(2) > man page says that only UFS file Systems are supported, and there > is no vquotactl(2) man page. I initially thought it hopeless too, but it turns out the man page lies. A very nice gentleman named Richard Jackson posted some very useful information about quotas and AdvFS to the alpha-osf-managers mailing list. His post included some shell scripts and a C source file named `fixvquota.c', which does what you're looking for. Search the alpha-osf-managers mailing list archive to find it. Tim -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J1, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164