From owner-freebsd-hackers Sat Jun 5 21:21:53 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 6126F14D0A for ; Sat, 5 Jun 1999 21:21:51 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.1) with ESMTP id VAA19523; Sat, 5 Jun 1999 21:21:45 -0700 (PDT) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id VAA14848; Sat, 5 Jun 1999 21:21:44 -0700 (PDT) (envelope-from jdp@polstra.com) Date: Sat, 5 Jun 1999 21:21:44 -0700 (PDT) Message-Id: <199906060421.VAA14848@vashon.polstra.com> To: evan@falcon.sourcee.com Subject: Re: Partitioning a freebsd partition on the fly In-Reply-To: <19990601131050.A27372@falcon.sourcee.com> Organization: Polstra & Co., Seattle, WA Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <19990601131050.A27372@falcon.sourcee.com>, Evan Tsoukalas 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