From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 19:47:51 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3AEB6B7 for ; Sun, 9 Nov 2014 19:47:51 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F1AFDEC3 for ; Sun, 9 Nov 2014 19:47:50 +0000 (UTC) Received: from r56.edvax.de (port-92-195-37-193.dynamic.qsc.de [92.195.37.193]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 29B423CD9F; Sun, 9 Nov 2014 20:47:49 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id sA9JlmJE001924; Sun, 9 Nov 2014 20:47:48 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 9 Nov 2014 20:47:48 +0100 From: Polytropon To: Mike Clarke Subject: Re: Where do user files go these days? Message-Id: <20141109204748.db54a1cc.freebsd@edvax.de> In-Reply-To: <3272471.UYQ3DxhorQ@curlew.lan> References: <545ED36B.8040207@gmail.com> <545F5AD6.6000404@FreeBSD.org> <545F7B85.1050900@qeng-ho.org> <3272471.UYQ3DxhorQ@curlew.lan> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2014 19:47:51 -0000 On Sun, 09 Nov 2014 15:30:10 +0000, Mike Clarke wrote: > I've never understood the logic of putting /home under /usr. If you > ever needed to do a fresh install from scratch it would be all too > easy to wipe out all of home when you delete the original contents of > /usr. Exactly, that is a problem to expect. I think this idea comes from the "fixed partition size at initialization" paradigm where you had to choose how big each partition should be, and you could not create more than a - h partitions (in the MBR manner). So you thought: / is that big, then add swap, /var should be limited to so and so, and the rest - well, that will be for installed applications and user files, because we don't know how big they might get. If we make /usr too small, we'll run out of space, and if /home is full, well, users can't store any more data... With GPT and "numerical partitions", this problem does not apply anymore. ZFS can also deal perfectly fine with varying numbers of partitions of varying size. And hard disks are also big and cheap. :-) > It goes against the FreeBSD approach of /usr containing material > for the base system and /usr/local for the rest. It might have been > more appropriate to have /usr/local/home but still far safer to have a > top level /home directory. By "deduction" (applied from "man hier"), /usr/local is for installed applications which are managed by the system's package maintaining means (ports collection, pkg, portmaster, whatever you want). But user files are _not_ subject to that maintaining, so they should not be in there. (That is _one_ possible way of interpretation.) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...