roland wrote: > in linux, there is an option for this. :) > > could you be more specific what code it would break or what would be so ugly > with this? > > iirc, when taking a look at the linux nfsd code, it was just a matter of > checking each subdir if it`s a mountpoint or not and then either creating > another share or just skip over. > So in both cases you end up with a share for each filesystem in the tree? I'm not sure how that's any different.
Except that in ZFS the 'option' is set on parent filesystem and not in nsfd. Is the nsfd option a run time option that applies to the whole machine? Or is it an export option per filesystem? If the former, then it's a little different, but the ZFS way is more flexible. If the latter, then it seems even closer. Of course with the ZFS inheiritance, you have the option of disabling the sharing of some lower-level branch of the tree if you ever need to. -Kyle > so, would it really be so difficult or ugly to make this possible with > solaris nfsd, too? >