cvs commit: src/etc/rc.d mountd

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Apr 13 08:49:48 UTC 2007


On Fri, Apr 13, 2007 at 06:42:25AM +0000, Mike Makonnen wrote:
> mtm         2007-04-13 06:42:25 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     etc/rc.d             mountd 
>   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="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.

-- 
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-src/attachments/20070413/3e6bff46/attachment.pgp


More information about the cvs-src mailing list