* Changing disc quotas from the command line
@ 1996-12-04 5:00 Bob Vickers
1996-12-04 5:00 ` Tim Mooney
1996-12-06 5:00 ` Bob Vickers
0 siblings, 2 replies; 3+ messages in thread
From: Bob Vickers @ 1996-12-04 5:00 UTC (permalink / raw)
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.
Our operating system is OSF1 V3.2.
Thanks,
Bob
--
========================================================================
Bob Vickers R.Vickers@rhbnc.ac.uk
Department of Computer Science, Royal Holloway College, University of
London
WWW: http://www.dcs.rhbnc.ac.uk/%7Ebobv/
Phone: +44 1784 443691
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Changing disc quotas from the command line
1996-12-04 5:00 Changing disc quotas from the command line Bob Vickers
@ 1996-12-04 5:00 ` Tim Mooney
1996-12-06 5:00 ` Bob Vickers
1 sibling, 0 replies; 3+ messages in thread
From: Tim Mooney @ 1996-12-04 5:00 UTC (permalink / raw)
[posted & cc'ed]
In article <32A551A4.41C6@dcs.rhbnc.ac.uk>,
Bob Vickers <bobv@dcs.rhbnc.ac.uk> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Changing disc quotas from the command line
1996-12-04 5:00 Changing disc quotas from the command line Bob Vickers
1996-12-04 5:00 ` Tim Mooney
@ 1996-12-06 5:00 ` Bob Vickers
1 sibling, 0 replies; 3+ messages in thread
From: Bob Vickers @ 1996-12-06 5:00 UTC (permalink / raw)
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
Richard Jackson kindly sent me his fixvquota.c program which is almost
exactly what I want. It uses an undocumented feature of quotactl (i.e
you can use it on ADVFS file systems).
He also said something very important I didn't know, namely vrestore
doesn't restore quota information.
Bob
--
==============================================================================
Bob Vickers R.Vickers@rhbnc.ac.uk
Department of Computer Science, Royal Holloway College, University of
London
WWW: http://www.dcs.rhbnc.ac.uk/%7Ebobv/
Phone: +44 1784 443691
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-12-06 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-04 5:00 Changing disc quotas from the command line Bob Vickers
1996-12-04 5:00 ` Tim Mooney
1996-12-06 5:00 ` Bob Vickers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox