Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 1997 22:55:48 -0600
From:      "Jeffrey J. Mountin" <sysop@mixcom.com>
To:        "Dott. Davide Tome'" <davide.tome@inet.it>
Cc:        <support@FreeBSD.ORG>
Subject:   Re: Control disk occuped from an user.
Message-ID:  <3.0.32.19970325225548.00d19f3c@mixcom.com>

next in thread | raw e-mail | index | archive | help
At 11:45 PM 3/25/97 +0100, Dott. Davide Tome' wrote:
>How can I control how many bytes of disk space use
>a particular user?

Turn on disk quotas.

Read the man pages for fstab and quota, which will lead you to related man
pages.  Pardon the RTFM.  ;-)

You can use a simple script to copy quotas for all users, so only the first
need be done manually.  Good idea to except your account(s), root, and
system related UIDs.

Depending on how your filesystems are set up, you may wish to use group
quotas.  This is especially true for filesystems that have both user files
and systems files, where filling the disk would be a bad idea for the
system.  As an example if you have mail or user directories on the same
filesystem that syslog writes to.

Always a good idea to spread disk IO around and better to have a playground
filesystem that only users affect users and not the overall system.


-------------------------------------------
Jeff Mountin - System/Network Administrator
jeff@mixcom.net

MIX Communications
Serving the Internet since 1990



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19970325225548.00d19f3c>