Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2007 12:37:26 +0300
From:      Mike Makonnen <mtm@FreeBSD.Org>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc/rc.d mountd
Message-ID:  <20070413093726.GA2496@rogue.navcom.lan>
In-Reply-To: <20070413084930.GB3859@garage.freebsd.pl>
References:  <200704130642.l3D6gPuM051774@repoman.freebsd.org> <2007041308493 0.GB3859@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 13, 2007 at 10:49:30AM +0200, Pawel Jakub Dawidek wrote:
> 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="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.

One option is simply to issue: /etc/rc.d/mountd restart
after nfs sharing is enabled.

Cheers.
-- 
Mike Makonnen          | GPG-KEY: http://people.freebsd.org/~mtm/mtm.asc
mmakonnen @ gmail.com | AC7B 5672 2D11 F4D0 EBF8  5279 5359 2B82 7CD4 1F55
mtm @ FreeBSD.Org     | FreeBSD - http://www.freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070413093726.GA2496>