From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 19:42:23 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 38B8EECF; Sun, 9 Nov 2014 19:42:23 +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 EE7B0E83; Sun, 9 Nov 2014 19:42:22 +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 AB2AE3CDEC; Sun, 9 Nov 2014 20:42:13 +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 sA9JgCm2001905; Sun, 9 Nov 2014 20:42:12 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 9 Nov 2014 20:42:12 +0100 From: Polytropon To: Matthew Seaman Subject: Re: Where do user files go these days? Message-Id: <20141109204212.6bdebf69.freebsd@edvax.de> In-Reply-To: <545F5AD6.6000404@FreeBSD.org> References: <545ED36B.8040207@gmail.com> <20141109035011.a3fea3b3.freebsd@edvax.de> <545EF01A.8020804@gmail.com> <20141109064453.2451a5ab.freebsd@edvax.de> <545F5AD6.6000404@FreeBSD.org> 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:42:23 -0000 On Sun, 09 Nov 2014 12:15:18 +0000, Matthew Seaman wrote: > I do wonder about the layout generated for home directories by the > installer nowadays. It is the case that everything expects user home > directories to be in /home/username -- except for the layout in the > installer. In the _most best optimum_ case, it should not matter, when $HOME points to the correct location, whereever that might be. Making a change _afterwards_ isn't just about setting $HOME to the new location. In my experience, having actually been trying it, many files in a user's home directory contain references to that directory, i. e., you can find the string "/home/bob" in files (!) even after Bob has been moded to /export/home/bob. This can cause trouble for application programs run by the user. > In fact, having a zroot/usr/home makes managing boot environments more > complex than it needs to be -- you'ld want /usr/bin and /usr/lib and > almost certainly /usr/local to be part of a BE, but not /usr/home. > Having a zroot/home mounted as /home makes so much more sense. Yes, in regards of ZFS this approach looks less comfortable, especially because the "separation of program and user files" has been removed - user files are part of the ZFS structure that holds the OS and program files. And as you described, the "functional separation" isn't as easy as just thinking about /usr or /var, especially in the context of BEs. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...