*BSD News Article 96778


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.webspan.net!news1.exit109.com!not-for-mail
From: Jeremy <jeremy@exit109.com>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: installing disk quotas
Date: 3 Jun 1997 05:04:35 GMT
Organization: Still working on it...
Lines: 23
Message-ID: <5n08l3$rl5$1@news1.exit109.com>
References: <33936B79.13F2@cyborganic.com>
NNTP-Posting-Host: ns.exit109.com
X-Newsreader: trn 4.0-test58 (13 May 97)
Originator: jeremy@exit109.com (Jeremy)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:6951

steev  <steev@cyborganic.com> wrote:

>I'm trying to install disk quotas under version 2.1, and the man pages
>for the relevant commands seem fairly clear, except for one thing: the
>format of the entries entered into 'edquota'.

When I do an edquota, I get a "template" in my editor, and just
change the numbers. It comes up like this:

/: blocks in use: 0, limits (soft = 2000, hard = 20000)
        inodes in use: 1, limits (soft = 100, hard = 1000)
/u: blocks in use: 102919, limits (soft = 200000, hard = 300000)
        inodes in use: 4019, limits (soft = 0, hard = 0)

...etc.

If the user has no quotas at all, there will be no "template". Use
edquota -p <username> to set the quota to the same as username's
quota, and then edit from there.

-- 
Jeremy  |  jeremy@exit109.com
"Do you think a princess, and a guy like me..."  --Han Solo