cvs commit: src/etc/rc.d mountd

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Apr 13 10:54:26 UTC 2007


On Fri, Apr 13, 2007 at 11:35:50AM +0100, Ceri Davies wrote:
> On Fri, Apr 13, 2007 at 10:29:25AM +0000, Pawel Jakub Dawidek wrote:
> > pjd         2007-04-13 10:29:25 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     etc/rc.d             mountd 
> >   Log:
> >   mountd(8) was changed to only abort when all given exports files cannot be
> >   open, so we not longer has to check if /etc/zfs/exports exists.
> 
> True, but it doesn't hurt to leave the check in.  That way, if I'm not
> exporting anything, I don't receive a spurious error every boot (as far
> as I'm aware, /etc/zfs/exports only gets created the first time you
> export something)..

Right, but with that check in-place you won't be able to start playing
with ZFS sharing, because although you have zfs_enable="YES" in your
/etc/rc.conf, mountd will ignore /etc/zfs/exports.

I'll add creating empty /etc/zfs/exports file from rc.d/zfs script when
zfs_enable="YES" is defined, so we won't get warnings from mountd.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20070413/ebdf5ef8/attachment.pgp


More information about the cvs-all mailing list