Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Feb 1996 22:20:01 -0800 (PST)
From:      Donald Burr <d_burr@ix.netcom.com>
To:        Basket Case <jon@technix.org>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Decreasing the percentage (10%) of a filesystem owned by root
Message-ID:  <Pine.BSF.3.91.960205221843.537C-100000@starfleet.gov>
In-Reply-To: <199602051805.NAA17668@technix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Feb 1996, Basket Case wrote:

> Hi --
> 
> I notice that 10% of a HD is generally allocated for root to make sure root
> has some extra room for files and stuff.  How can i decrease this percentage
> as 10% on a 9gb drive takes a big toll and I'd like to reduce that.  Would
> I also have to reformat?
> 
> Thanks.
> Jon

Unmount the filesystem first.  If you want to play with the root 
filesystem, you will have to boot single-user.

Then, run the command:

tunefs -m <pct> /dev/rsd0a (or /dev/rwd0a, or whatever the special device is)

Replace <pct> with the percentage of total disk space to save for root.  
The man page warns that anything below 10% seriously degrades filesystem 
performance, though. :(

Donald Burr [d_burr@ix.netcom.com], PO Box 91212, Santa Barbara CA 93190-1212
TEL (805)564-1871 / FAX 564-2315 / WWW http://www.geopages.com/WallStreet/2072
PGP Public Key available by request (send e-mail) or on Public Key Servers.
** Uphold your right to privacy - Use PGP. **



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960205221843.537C-100000>