From owner-freebsd-fs@FreeBSD.ORG Mon Feb 23 12:31:21 2015 Return-Path: Delivered-To: freebsd-fs@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 BB4EF8E8 for ; Mon, 23 Feb 2015 12:31:21 +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 7393FD0C for ; Mon, 23 Feb 2015 12:31:20 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YPsAH-0004Sk-5x for freebsd-fs@freebsd.org; Mon, 23 Feb 2015 13:31:09 +0100 Received: from p4fdddda4.dip0.t-ipconnect.de ([79.221.221.164]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Feb 2015 13:31:09 +0100 Received: from christian.baer by p4fdddda4.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Feb 2015 13:31:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Christian Baer Subject: Re: The magic of ZFS and NFS (2nd try) Date: Mon, 23 Feb 2015 13:30:56 +0100 Lines: 31 Message-ID: <13471232.xpn8XerdpW@falbala.rz1.convenimus.net> References: <4257601.p3oiXZFr4n@falbala.rz1.convenimus.net> <12103095.viZFqgegqA@falbala.rz1.convenimus.net> 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: p4fdddda4.dip0.t-ipconnect.de User-Agent: KNode/4.14.2 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 12:31:21 -0000 Rainer Duffner wrote: > These lines get written into /etc/zfs/exports > > I like it that way because if a filesystem is destroyed, I don’t have to > remember removing it from /etc/exports. > > I also admit I’m heavily influenced by Solaris on this particular setting… I didn't come from Solaris and I wasn't a big fan of it during my time at university. It wasn't the really a problem with the OS itself but with the userland which really sucked rocks at the time. We are talking SunOS 5.8 here. I am guessing that in the future, ZFS will be far more important and UFS will become more and more exotic. Then it would be fine to config everything the ZFS-way. But currently, it seems pretty dumb to have to go through a case list like: case fs == ZFS then /etc/zfs/exports fs == $EXOTIC_OTHER_FS then goto whereever else goto /etc/exports Couldn't help myself with the gotos there. :-D On the other hand, if you can configure the same thing in a number of files, chaos is predestined. That is one machine I would not want to take care of. Regards, Christian