From owner-freebsd-stable@FreeBSD.ORG Sat Jan 10 15:24:40 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BA7510656CC for ; Sat, 10 Jan 2009 15:24:40 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 0DFB98FC35 for ; Sat, 10 Jan 2009 15:24:40 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LLfhO-0007rK-Vh; Sat, 10 Jan 2009 15:24:30 +0000 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LLfhO-000LfO-UH; Sat, 10 Jan 2009 15:24:30 +0000 To: avg@icyb.net.ua, freebsd-stable@freebsd.org In-Reply-To: <4968AE90.5010004@icyb.net.ua> Message-Id: From: Pete French Date: Sat, 10 Jan 2009 15:24:30 +0000 Cc: Subject: Re: rc.d/mountd: confusing message (and behavior?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2009 15:24:43 -0000 > Alsp, should it actually fail like this? I have ZFS and I plan to do > all NFS exports from ZFS, so /etc/exports would never be used. ZFS writes its own exports file to '/etc/zfs/exports' - as far as I can tell this is pretty much all that happens when you mark a filesystem as NFS shared under ZFS. Then mountd is started from rc like this: /usr/sbin/mountd -r -n /etc/exports /etc/zfs/exports (thats taken from 'ps' on one of my running systems) So you still need an empty /etc/exports to be there. ZFS will take care of managing it's own exports file, but thats all it seems to do - there is no magic ZFS seperate implementation of NFS as far as I know. -pete.