*BSD News Article 69212


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!qns3.qns.com!imci4!newsfeed.internetmci.com!swrinde!howland.reston.ans.net!torn!nott!bcarh189.bnr.ca!bcarh8ac.bnr.ca!bcarh8ab.bnr.ca!bcrkh13.bnr.ca!news
From: Colin Sumby <csum@bnr.co.uk>
Newsgroups: comp.infosystems.www.servers.unix,comp.unix.admin,comp.unix.bsd.misc,comp.unix.questions
Subject: Re: Limiting Directory Sizes?
Date: Thu, 23 May 1996 14:29:43 +0100
Organization: Bell Northern Research
Lines: 41
Message-ID: <31A46847.4241@bnr.co.uk>
References: <info-1905961139480001@news.total.net>
NNTP-Posting-Host: bnsgs225.bnr.ca
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)
Xref: euryale.cc.adfa.oz.au comp.infosystems.www.servers.unix:14258 comp.unix.admin:42365 comp.unix.bsd.misc:1097 comp.unix.questions:82110

Webmaster wrote:
> 
> Is there a way in UNIX to set a limit on a subdirectory so that no more
> than x amount of megs may be saved into it?
> 
> For example, if I rent out 2 megs of space to a client, is there a command
> in UNIX where I could make sure that no more than 2 megs can be saved in
> his directory?
> 
> I would really appreciate a suggestion on how to set the limit. I am
> running on BSDi on Apache.
> 
> Please reply via e-mail, I really need to find this out and don't want to
> miss your posting.
> 
> Thank you very much in advance.
> 
> Nathalie
> nat@dezines.com
> 
> --
> _____________________________________
> DeZines
> Web Hosting (Virtual and non-Virtual)
> http://www.dezines.com
> info@dezines.com
> _____________________________________

I'm not sure about your flavour of UNIX but it mat be possible to set up
hard (strictly enforced) or soft (admin is warned) quotas. Try man -k
quota.

-- 
####################################################################
# ~~   Just a regular chap      # Colin Sumby 
# @@ ? who's hobbies include;   # NorTel Limited,
# C    breathing and gentle     # Oakley Road, New Southgate,
#  ,   cardio-vascular activity.# London, England.
#                               # 0181 945 2822
######### The passage of my life is measured out in shirts #########
~