cvs commit: src/etc/rc.d mountd

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Apr 13 10:27:31 UTC 2007


On Fri, Apr 13, 2007 at 12:37:26PM +0300, Mike Makonnen wrote:
> 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.

I fixed it to log a warning when file cannot be open and about only when
none of the given files were open properly.

-- 
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/21800731/attachment.pgp


More information about the cvs-all mailing list