Please add a script to mount all ZFS volumes. Reproducible: Always
Created attachment 311163 [details, diff] patch for freebsd-cddl-9.0.ebuild
Created attachment 311165 [details] files/zfs.initd sample script /etc/init.d/zfs FYI, http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/zfs
> if [ ! -d /etc/zfs ]; then > mkdir -p /etc/zfs > fi > if [ ! -r /etc/zfs/exports ]; then > touch /etc/zfs/exports > fi Would it be possible to move this code to ebuild and pump from init script?
(In reply to comment #3) > > if [ ! -d /etc/zfs ]; then > > mkdir -p /etc/zfs > > fi > > if [ ! -r /etc/zfs/exports ]; then > > touch /etc/zfs/exports > > fi > > Would it be possible to move this code to ebuild and pump from init script? Yes, it's possible. I liked your idea.
Added. Thanks.