From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 12:15:42 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 DE41BD83 for ; Sun, 9 Nov 2014 12:15:42 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 814D31E7 for ; Sun, 9 Nov 2014 12:15:42 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.9/8.14.9) with ESMTP id sA9CFTxv033190 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 9 Nov 2014 12:15:30 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk sA9CFTxv033190 Authentication-Results: smtp.infracaninophile.co.uk/sA9CFTxv033190; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral Message-ID: <545F5AD6.6000404@FreeBSD.org> Date: Sun, 09 Nov 2014 12:15:18 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Where do user files go these days? References: <545ED36B.8040207@gmail.com> <20141109035011.a3fea3b3.freebsd@edvax.de> <545EF01A.8020804@gmail.com> <20141109064453.2451a5ab.freebsd@edvax.de> In-Reply-To: <20141109064453.2451a5ab.freebsd@edvax.de> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MQ7kAlIwOFRsASMI0h1QumkKlXktEAk2G" X-Virus-Scanned: clamav-milter 0.98.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk 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 12:15:43 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --MQ7kAlIwOFRsASMI0h1QumkKlXktEAk2G Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09/11/2014 05:44, Polytropon wrote: >> Thanks. In every system I can remember, /home was a separate file=20 >> > system (when it existed at all), and I didn't see /usr/home in hier(= 7),=20 >> > so I wondered.=20 > Correct; "man hier" doesn't mention it because it's > a "user thing" mostly, as the OS and system services > do not use it (or require it to function properly). > Sharing /usr with home as one partition is (in most > cases) less critical than putting all "functional > subtrees" into one and the same partition, so some > disk-filling "runaway process" could stop /tmp, /var > and even / from working properly... 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. Now, moving /home into /usr/home and making a compatibility symlink might make sense for some partitioning schemes with UFS, but it certainly doesn't when installing with ZFS or with an all-in-one style UFS partition. It's not like we're constrained in the number of partitions we can put on one drive in anything like the same way in these days of GPT either. 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. Don't get me started though -- there are worse problems with managing what should be in a B.E. and what should not, and trying to reconcile all that with hier(7). Much of /var should be part of a B.E., but not /var/mail or /var/log or /var/db/mysql. Similarly /usr/local/pgsql should be outside a B.E. This leads to all sorts of arcane trickery like creating a zroot/var ZFS with canmount=3Doff,mountpoint=3D/var to overlay zroot/ROOT/BENAME/var with canmount=3Don,mountpoint=3D/var all so= you can mount zroot/var/mail from outside the boot environment. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --MQ7kAlIwOFRsASMI0h1QumkKlXktEAk2G Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iQJ8BAEBCgBmBQJUX1rhXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATnRkP+gK4Kod68XY9d1HsI5Cc5g7A saZe0132SVSLaahFVMIg190S3PCLXUxAGsUkX3eevo8fWYTlZrfFQKRmF6euMz6i AGrIcey4MY4CwwaS+AwNgvHTCBTd2hrWt35zsMwkRZdCQiZZ+ZV3hM9b8kfITrTs kqpPTbzneZary5mzrPC5Qc2goV/qX4hWk6H+S7BHAgn0iij3BUIZxeYc+rbib+Jb s3MIZ7YPv9Nt6RlogOjHgbL129x5RphdDuOA8v1nf9eJdAHuEyJ8J/NzW0PIiYWL xhQGUTql6F/rgk9Oll+SytoXh8sHjDu9HLtewGbpmi6B6nfha4O6bd+D/4zp534+ 8pTctd8LygaIXU4CvbIygn92lR6KeyjAIDKT9bgnNZSZzM0ZSX+UEwGKilar98BZ sxlZuK4gJeJyCKL3+saVIQV1pf6fBynI/vZcsxjArPtdj8mVbv0jF4sV9QB6p7qu wWKA6A6MbSlaxi4UD0SKIojUGqjesQqOBYnspheS1bKI1Oy5DstfRDWE7nFiRgTl q/lyYrRkFUXhDAO1CyIsowF+ex3tmw/MbEVnPVpdRfdY2SSUQBcZ9OpMZR1oNZ7g Y5vkk/F2X6xdfvF/NLnaKGZC4jBw0RjV8wSQquRe4IaBF2DLqpqWbWymvJJVujKb vLAA0MPMDJoDXtCBhUfo =iSAc -----END PGP SIGNATURE----- --MQ7kAlIwOFRsASMI0h1QumkKlXktEAk2G--