From owner-freebsd-questions@FreeBSD.ORG Sun Feb 19 18:33:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 666451065674 for ; Sun, 19 Feb 2012 18:33:20 +0000 (UTC) (envelope-from parv@pair.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id 1F2158FC0C for ; Sun, 19 Feb 2012 18:33:19 +0000 (UTC) Received: from hrndva-omtalb.mail.rr.com ([10.128.143.53]) by hrndva-qmta03.mail.rr.com with ESMTP id <20120219163704639.WPT18006@hrndva-qmta03.mail.rr.com> for ; Sun, 19 Feb 2012 16:37:04 +0000 X-Authority-Analysis: v=2.0 cv=fNy7LOme c=1 sm=0 a=lLOF/jpPrR0dcgWXP1EvZg==:17 a=R5FhY6rjjCMA:10 a=kj9zAlcOel0A:10 a=ZaDg5-L3AAAA:8 a=zLGiIMFgNAwC-E4XiEUA:9 a=ZuI81QpqpJn80twEIcYA:7 a=CjuIK1q_8ugA:10 a=lLOF/jpPrR0dcgWXP1EvZg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 204.210.114.114 Received: from [204.210.114.114] ([204.210.114.114:28688] helo=localhost) by hrndva-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 53/21-11045-2F4214F4; Sun, 19 Feb 2012 16:36:03 +0000 Received: by localhost (Postfix, from userid 1000) id 658C35C4B; Sun, 19 Feb 2012 06:43:33 -1000 (HST) Date: Sun, 19 Feb 2012 06:43:33 -1000 From: parv To: freebsd-questions@freebsd.org Message-ID: <20120219164333.GA88489@holstein.holy.cow> Mail-Followup-To: freebsd-questions@freebsd.org References: <4F3ECF23.5000706@fisglobal.com> <20120217234623.cf7e169c.freebsd@edvax.de> <3D08D03C85ACFBB1ABCDC5DA@mac-pro.magehandbook.com> <4F3F1817.7030009@herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F3F1817.7030009@herveybayaustralia.com.au> Subject: Re: /usr/home vs /home 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: Sun, 19 Feb 2012 18:33:20 -0000 I vote for multiple partitions with user specified names (or at least be able to change /home mount point to something else) & allocated space. in message <4F3F1817.7030009@herveybayaustralia.com.au>, wrote Da Rock thusly... > > On 02/18/12 12:16, Daniel Staal wrote: > > --As of February 17, 2012 11:46:23 PM +0100, Polytropon is alleged to > > have said: > > > >> Well, to be honest, I never liked the "old style" default > >> with /home being part of /usr. As I mentioned before, _my_ > >> default style for separated partitions include: > >> > >> / > >> swap > >> /tmp > >> /var > >> /usr > >> /home I like having /var and/or /tmp to be separate from /, /usr, /home in case it fills up or gets damaged. For me, they are not as much as critical as the rest. > >> In special cases, add /opt or /scratch as separate partitions > >> with intendedly limited sizes. > >> > >> You can see that all user data is kept independently from > >> the rest of the system. It can easily be switched over to > >> a separate "home disk" if needed. > > > > --As for the rest, it is mine. > > > > I'm in agreement with you on that I like to have /home be a > > separate partition, and not under /usr. (Of course, my current > > zfs system has 40 partitions...) Partly though I recognize that > > I like it because that's what I'm used to, and how I learned to > > set it up originally. (My first unix experience was with > > OpenBSD, over 10 years ago now.) > > > > I've never seen anything listing the main reasons for having > > /home under /usr though. I figure there must be a decent reason > > why. Would anyone care to enlighten me? What are the perceived > > advantages? (Particularly if you then make a symlink to /home.) > > But seriously, for the pedantic yes, but for a desktop user (at > least) having home on /usr partition makes sense - balances space > and functionality; Give / + /usr a 1 or 2 GB for FreeBSD files; allot the rest to other partitions. > plus a lack of nodes on the disk for partitions? Limit was 8 I > think. But now with /usr/home if you want to install from ports it > can take a few gig, but that can be wasted because you're not > always installing from ports, so might as well share space with > the home directories and balance that way. Otherwise you'd need > 30G (about) for /usr/ports and all the stuff you want to install > and then that cannot be used at all for /home which could be > cleared quite easily to make room if necessary if it was on the > same partition. # df -h | egrep -v 'devfs|proc' ; echo ; swapinfo ; echo ; \ # ll -d /{var,home,tmp} /usr/{ports,local,src,obj} ; Filesystem Size Used Avail Capacity Mounted on /dev/ad4s4a 2.9G 1.5G 1.2G 56% / /dev/ad4s4d 989M 243M 667M 27% /var /dev/ad4s4e 275G 172G 80G 68% /misc Device 1K-blocks Used Avail Capacity /dev/ad4s2 1044288 0 1044288 0% lrwxr-xr-x 1 root wheel 10 Apr 2 2010 /home@ -> /misc/home lrwxr-xr-x 1 root wheel 13 Apr 2 2010 /tmp@ -> /var/tmp-root lrwxr-xr-x 1 root wheel 11 Apr 2 2010 /usr/local@ -> /misc/local lrwxr-xr-x 1 root wheel 9 Apr 2 2010 /usr/obj@ -> /misc/obj lrwxr-xr-x 1 root wheel 11 Apr 2 2010 /usr/ports@ -> /misc/ports lrwxr-xr-x 1 root wheel 9 Dec 6 20:35 /usr/src@ -> /misc/src drwxr-xr-x 27 root wheel 512 Feb 18 13:11 /var/ (There is another partition, /toybox of 8.5 GB, currently not mounted, to experiment with virtualbox.) - parv --