From owner-freebsd-questions@FreeBSD.ORG Thu Feb 19 15:49:23 2015 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 28FA8404 for ; Thu, 19 Feb 2015 15:49:23 +0000 (UTC) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C24727C1 for ; Thu, 19 Feb 2015 15:49:22 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.9/8.14.9) with ESMTP id t1JFnC8J098348 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 19 Feb 2015 16:49:12 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.9/8.14.9/Submit) with ESMTP id t1JFnC2W098345; Thu, 19 Feb 2015 16:49:12 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Thu, 19 Feb 2015 16:49:12 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: krad Subject: Re: 10.1 ZFS - why canmount=off for /usr and /var by default? In-Reply-To: Message-ID: References: <54E01849.3020500@complete.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.fig.ol.no Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: John Goerzen , FreeBSD Questions 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: Thu, 19 Feb 2015 15:49:23 -0000 On Thu, 19 Feb 2015 12:06-0000, krad wrote: > It is a bit confusing, I have to ask why call it zroot/usr at all? I use > /os/ for stuff like ports etc and then set the mountpoint. If we must > use usr in the name why not set the mountpoint to legacy as well, as its > more clearly not used? Sorry for jumping in, but it's done simply to inherit the mountpoint. It has already been said, but here's a recap. Most of what you'll find in /usr belongs to the current BE. Datasets create below zroot/usr, e.g. zroot/usr/local, magically appears as /usr/foo, e.g. /usr/local. The same goes for zroot/var and /var. If you want to install FreeBSD with ZFS using some other train of thought, then feel free to do so. I have my own set of scripts at http://ximalas.info/~trond/create-zfs/canmount/, and they certainly have their flaws, and maybe I even change these scripts in the future as I move along and change my perspective on FreeBSD and ZFS. > On 15 February 2015 at 13:52, John Goerzen wrote: > > > Ben Woods gmail.com> writes: > > > > > > > > To quote Allan Jude when I posed this question to him: > > > > > > "The /usr dataset has 'canmount' set to off. It only exists so that other > > > datasets can be created under it. > > > > That makes sense. But it is misleading to have the mountpoint set to /usr > > and /var, isn't it? In a zfs list, it looks as if it's being used for /usr > > and /var, when really as you say it's a container. > > > > I wonder - would there be a place I could submit a bug report to suggest > > that the mountpoint property be inherited at the default rather than set > > for > > these two filesystems? > > > > > To use boot environments, you need to install the tool from the ports > > tree: > > > sysutils/beadm-devel > > > > Interesting. That looks quite nice. I need to read up a bit more on it, > > clearly, since it seems to be more than just a zfs clone and zpool set > > bootfs that I was expecting. > > > > Thanks, > > > > John -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@FreeBSD.ORG Thu Feb 19 15:59:30 2015 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 49D6E540 for ; Thu, 19 Feb 2015 15:59:30 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 010938BC for ; Thu, 19 Feb 2015 15:59:29 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YOTVX-0002o5-Ee for freebsd-questions@freebsd.org; Thu, 19 Feb 2015 16:59:19 +0100 Received: from vps.jonz.net ([216.17.42.59]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Feb 2015 16:59:19 +0100 Received: from SPAM_TRAP_gmane by vps.jonz.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Feb 2015 16:59:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Jonesy Subject: Re: What's in my hard drive? How can I get rid of it? Date: Thu, 19 Feb 2015 15:59:06 +0000 (UTC) Lines: 22 Message-ID: References: <54E39F83.70002@gmail.com> <54E3BEBA.1060801@gmail.com> <20150218183222.2d09d17f.freebsd@edvax.de> <20150218185708.47f7f805@archlinux> <20150218183815.GB26575@neutralgood.org> <20150218203703.5d260b53@archlinux> <20150219131527.ddda246b.freebsd@edvax.de> <20150219153732.331dd196@archlinux> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: vps.jonz.net User-Agent: slrn/1.0.2 (FreeBSD) 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: Thu, 19 Feb 2015 15:59:30 -0000 On Thu, 19 Feb 2015 15:37:32 +0100, Ralf Mardorf wrote: > On Thu, 19 Feb 2015 08:18:39 -0500, Jerry wrote: >>If you were not hiding something then why not disclose the facts. > > So all upright citizens who don't have something to hide even should be > willing to accept cameras and microphones in each room of their > residences? > > On Thu, 19 Feb 2015 13:15:27 +0100, Polytropon wrote: >>http://www.theregister.co.uk/2012/11/21/schoolgirl_expelled_rfid_chip/ >>http://www.wired.com/threatlevel/2013/12/citywide-rfid-master-house-key-already-broken/ > > Thank you, that are two interesting links :). > > "If you’re really worried about other people reading your RFID chip, it > can be rendered harmless simply by covering it in a sleeve that works > like a faraday cage." - > http://www.extremetech.com/electronics/141277-stop-worrying-and-embrace-rfid I would think that 30 seconds in a microwave oven should render it "complaint". Just remember to take off any metal clips, etc.