Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jun 1999 21:21:44 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        evan@falcon.sourcee.com
Cc:        hackers@freebsd.org
Subject:   Re: Partitioning a freebsd partition on the fly
Message-ID:  <199906060421.VAA14848@vashon.polstra.com>
In-Reply-To: <19990601131050.A27372@falcon.sourcee.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <19990601131050.A27372@falcon.sourcee.com>, Evan Tsoukalas
<evan@falcon.sourcee.com> wrote:

> My question is, can I shrink my /usr partition down without losing
> what is on it?  It is a 3.8 gig partition that only has 900 meg or
> so on it.  I would like to trim about a gigabyte off of it so that
> I can install Windoze.  Is this going to be possible, or should I
> start from scratch installing Winoze first?

The only way to shrink it is like this:

    * back up the filesystem to someplace using dump
    * shrink the partition
    * run newfs to create a filesystem on the resized partition
    * restore the data from your backup

John
-- 
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Self-interest is the aphrodisiac of belief."           -- James V. DeLong


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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