From owner-freebsd-questions@FreeBSD.ORG Mon May 17 04:21:56 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D891816A4CE for ; Mon, 17 May 2004 04:21:56 -0700 (PDT) Received: from smtp.web.de (smtp06.web.de [217.72.192.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCA5743D5A for ; Mon, 17 May 2004 04:21:55 -0700 (PDT) (envelope-from platanthera@web.de) Received: from [217.225.248.166] (helo=liza.hacienda.herti) by smtp.web.de with asmtp (TLSv1:RC4-MD5:128) (WEB.DE 4.101 #91) id 1BPgBt-0003KB-00; Mon, 17 May 2004 13:21:54 +0200 From: platanthera To: freebsd-questions@freebsd.org Date: Mon, 17 May 2004 13:21:44 +0200 User-Agent: KMail/1.6.2 References: <49232.207.6.29.101.1084767451.squirrel@webmail.freeshell.org> In-Reply-To: <49232.207.6.29.101.1084767451.squirrel@webmail.freeshell.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405171321.44527.platanthera@web.de> Sender: platanthera@web.de cc: philthom@freeshell.org Subject: Re: Help with editing partition tables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2004 11:21:57 -0000 On Monday 17 May 2004 06:17, Phil Thomson wrote: > Hi all, > > I am a relative newbie to UNIX, going from being an ex-Windows user > to being an X Windows user! ;-) I recently got FreeBSD installed on > an older PC with a 3 GB drive and a 5 GB drive (which has not yet > been mounted). The system is installed on the 3 GB drive, but my > current partition table is inadequate to my needs. Here is the output > of df -H: > > /dev/ad0s1a 260M 254M -15.3M 106% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/ad0s1f 3.4G 1.6G 1.6G 51% /usr > /dev/ad0s1e 260M 14M 225M 6% /var hi Phil, you could (and definitely should) have a separate slice for /tmp and eventually another one for /home too. If you decide to reinstall (which is the easiest approach if there's 'not much too lose yet' on your system) just hit 'a' in the disklabel editor of sysinstall(8). This will create separate slices for /, swap, /var, /tmp and /usr, and will result in a reasonable disk layout for a desktop system. If you do not want to reinstall and have free space left on your other hard disk, you can create a bsd partition there and one or more slices inside this partition (250M should be enough for /tmp under 'normal' circumstances). Then you can mount the new file systems under arbitrary mount points, move the content of /tmp (and eventually /usr/home) over and adjust /etc/fstab. Feel free to check back with the list if you want to go this way and need more detailed advice. have fun!