From owner-cvs-all@FreeBSD.ORG Fri Apr 13 08:49:48 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9DB9E16A405; Fri, 13 Apr 2007 08:49:48 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 3231113C484; Fri, 13 Apr 2007 08:49:48 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id CBE4548805; Fri, 13 Apr 2007 10:49:46 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 5077B487FD; Fri, 13 Apr 2007 10:49:42 +0200 (CEST) Date: Fri, 13 Apr 2007 10:49:30 +0200 From: Pawel Jakub Dawidek To: Mike Makonnen Message-ID: <20070413084930.GB3859@garage.freebsd.pl> References: <200704130642.l3D6gPuM051774@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7ZAtKRhVyVSsbBD2" Content-Disposition: inline In-Reply-To: <200704130642.l3D6gPuM051774@repoman.freebsd.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d mountd X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2007 08:49:48 -0000 --7ZAtKRhVyVSsbBD2 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 13, 2007 at 06:42:25AM +0000, Mike Makonnen wrote: > mtm 2007-04-13 06:42:25 UTC >=20 > FreeBSD src repository >=20 > Modified files: > etc/rc.d mountd=20 > Log: > o Look for a zfs(1) exports file only if it exists and is readable. If > we don't do this and the file doesn't exist mountd(8) will abort. Hmm, I thought I tested mountd(8) for a case when some of exports files were missing... Anyway, I need to change it somehow by install for example an empty /etc/zfs/exports (not really nice), because I want to handle situation where one boots his system with zfs_enable=3D"YES", but no /etc/zfs/exports and then start to export ZFS file systems over NFS. Currently it won't work without a reboot, because mountd(8) is skipping non-existing /etc/zfs/exports. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --7ZAtKRhVyVSsbBD2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGH0QaForvXbEpPzQRAv+kAKD2FCamHIkMiha/Cfd3s0Ye/cgPHgCgwf+e YTabRAmdDO3HnvZSgMbQN0w= =zKYW -----END PGP SIGNATURE----- --7ZAtKRhVyVSsbBD2--