From owner-freebsd-questions@FreeBSD.ORG Fri Feb 3 16:12:32 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 EA0EE16A420 for ; Fri, 3 Feb 2006 16:12:32 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EFB143D49 for ; Fri, 3 Feb 2006 16:12:32 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) by smtp1.utdallas.edu (Postfix) with ESMTP id 57A2B388EBD for ; Fri, 3 Feb 2006 10:12:32 -0600 (CST) Date: Fri, 03 Feb 2006 10:12:32 -0600 From: Paul Schmehl To: FreeBSD Questions Message-ID: <948A2FF16CD3AFDBE68FEC57@utd59514.utdallas.edu> In-Reply-To: <887b876a0602030707p3c79141ax7218f8e8dd5d5214@mail.gmail.com> References: <20030425075333.GA66256@sr.se> <887b876a0602030707p3c79141ax7218f8e8dd5d5214@mail.gmail.com> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: Best way to partition a small HD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2006 16:12:33 -0000 --On Friday, February 03, 2006 09:07:33 -0600 "Stephen D. Spencer" wrote: > I agree with the first reply that you should check out 6.0-R; however, > with a 500M drive, I would go with your initial instincts to cut off a > piece for swap and use the rest for a single filesystem. Unless you know > the precise list of ports, where they go and how much space they take up, > slicing up a drive that small will probably lead to out-of-space > head-aches in the not-so-distant future. I would also suggest that you > read the man page for newsyslog.conf. You'll probably want to decrease > the number of syslog archives that are kept. Also, skip the ports and > source install. Install your ports via the 'pkg_add -r' command line. > > Good luck! > Good luck indeed. WIth a hard drive that small, you're going to be very limited in what you can do. My ports alone are almost 3GB. / is 34MB /var is 138MB, so there's 40% of the drive right there /usr/X11R6 is 914MB, so I doubt you'll be able to run x-windows I would suggest creating three partitions: / 50MB swap 50MB /everything else 400MB At least that way, when you fill up the drive, you'll still be able to login and fix problems. I wouldn't reduce logging. That's your lifeline. My workstation's /var/log/ is only 2MB. (In contrast, I have a server with a 1GB /var/log.) But you're going to have to be very judicious about what else you install. I'd do a basic install with *no* ports or packages, and then pkg_add whatever you want/need very carefully. Be sure do install freebsd-update, because I seriously doubt you'll have the room to keep kernel source and compile it (my /usr/src is 400MB.) Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/