From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 17:54:08 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8FFA0A1A for ; Sun, 9 Nov 2014 17:54:08 +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 3105B31A for ; Sun, 9 Nov 2014 17:54:07 +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 sA9HrwXu040126 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 9 Nov 2014 17:53:58 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk sA9HrwXu040126 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1415555639; bh=DaMbJsitOJjc38UudSmxfN0+pBcHLydT1H0n9hw1ZRI=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Sun,=2009=20Nov=202014=2017:53:48=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20Where=20do=20user=20files=20go=20 these=20days?|References:=20<545ED36B.8040207@gmail.com>=20<545F5A D6.6000404@FreeBSD.org>=20<545F7B85.1050900@qeng-ho.org>=20<327247 1.UYQ3DxhorQ@curlew.lan>|In-Reply-To:=20<3272471.UYQ3DxhorQ@curlew .lan>; b=VE/DFt+lWupdILOwEPF3DQtFc+cqXAS1k0qgHoNQ77YIiF0QL4x84RlKR/G1ak+t+ NHudnuwvzq6XtQvx+qIDbdlM0kBafxAF56wkavdvzYCfryw8qrKqCt0W5zkT+bz0hu wNvJTaHljEhEwnHevF16mVSNK7wRcaVdJtVQkIl4= Message-ID: <545FAA2C.2090806@infracaninophile.co.uk> Date: Sun, 09 Nov 2014 17:53:48 +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> <545F5AD6.6000404@FreeBSD.org> <545F7B85.1050900@qeng-ho.org> <3272471.UYQ3DxhorQ@curlew.lan> In-Reply-To: <3272471.UYQ3DxhorQ@curlew.lan> OpenPGP: id=E1ECF9BB Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ooAQ105fewQfOuiRu4Kxo8JFnC82IVHUP" X-Virus-Scanned: clamav-milter 0.98.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 17:54:08 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ooAQ105fewQfOuiRu4Kxo8JFnC82IVHUP Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09/11/2014 15:30, Mike Clarke wrote: > I also have /var/cache/pkg outside the BE. I don't now if this could=20 > lead to problems but my reasoning is that it's convenient to have the=20 > latest cache available if I switch to an earlier BE and need to=20 > upgrade any packages. I think that should be OK providing both BE's=20 > use the same major level of the OS but I wonder if I'll have problems=20 > if I switch from 10.x into a 9.x BE? Keeping /var/cache/pkg outside the B.E. is an idea worth considering, but probably doesn't really save enough download time or disk space usage to really make the extra effort worth while in most cases. It is only useful while you're doing minor version upgrades -- as soon as you get to a major upgrade, then you need to wipe the cache and repopulate with new packages for the new major version. (Well, you don't actually need to wipe the cache, as pkg(8) is smart enough not to get confused by the presence of packages for a different OS version. But you will need to download all new packages.) It also can be pretty useful to keep older versions of package tarballs around in the cache -- sometimes a package update can go horribly wrong, and a useful way to fix things is to forcibly revert to an older version by 'pkg add'ing the tarball of the older version from the cache. (Although recent versions of pkg(8) are much more resistant to this sort of problem, and needing this sort of fallback should become unnecessary ultimately.) Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --ooAQ105fewQfOuiRu4Kxo8JFnC82IVHUP 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) iQJ8BAEBCgBmBQJUX6o1XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATPSEP/1UVDg1z4E0v4CuD5zoUhiZH pUxK+ieawYcT9Vft5Q3++Ve5xczTNqqDX2LaB0X4+H/aZVVPVwKlzE5HWv79MBZ9 lnlBIpnpFo/1C1Jb52w7V99uRSvs69NlDHYvHbmdi1pQq6jYHI2aIOKvhI6l8wkJ r5PThyXPqmjrLjOYKozd3D2WKuGqwkpHxplzipKKiIC+oWW+RwvGxYuNG/T1siDe AQ4vR3YzKqutUwvHuCq+EDMohyApWR4yruRKPR30MmR1lXB2VWTxQ3d2VL4CdP0/ Vp4JzXy7RbkjBkRoctsgdWw8ysRMjSrfxQ7d3qjs0J9tizwqnaA8kSVH9btdOEK8 jRXoLtYnlblOzXiMr+OvYl4gpjNe9qPVFbGN8g9cLr2SW//wVxGDGJEVu3h+fuyo DD239Y3ymUVZnbpR5QA2Q1QWrYQkkpi8YSVhQdq3oELHT/vTjief4cZxuz/lQ+4m 6PTHohc7KM4HsmccnZMPX6cdaEXa9IGE1i3YqXDX7geWVokKery9KHP2ln+deJS3 4rPNyty+ulkgQQzBE3TdyNxAVHGuC+ScGO4MFkeCaN1D3J2zxHy9a6Zge/MNsh7+ kD9bH/mJe+8yKhE6oD2ukVhRklDDZeX78th443g7JFi39vxtEvXlccgXtbNOlujo nOs5QXd+eWrhzVRPP9E6 =2gFW -----END PGP SIGNATURE----- --ooAQ105fewQfOuiRu4Kxo8JFnC82IVHUP--