On Sat, 22 Aug 1998, just me. wrote:
Has anyone found better documentation on 'exports' syntax than the crappy 'administrators' guide once-over? I am specifically interested in using a 'files' based netgroups map to clean up permissions, however the administrators guide suggests that usage is somewhat non-intuitave (as does my experimental results) yet stops short of providing useful information.
Hmm. Well, that's what we do here. For instance on the main server I have in the exports file
/home -access=all,root=one.admin.host:another.admin.host
where /net/mainserver/etc/netgroup contains
boxen1 (boxen1,,) boxen2 (boxen2,,) boxen3 (boxen3,,) peecee1 (peecee1,,) ... peeceeN+1 (peeceeN+1,,) all boxen1 boxen2 boxen3 peecee1 ... peeceeN+1
Basically you just define each machine as a netgroup, then cat, err, catenate, all those little netgroups into one big one.
Obviously you could have 'allboxen' or 'allpeecee' or other subsets netgrouped too.
That's pretty much the Sun-standard netgroup usage since, oh, 198-mumble. Hal Stern's NFS/NIS book talks about netgroups in detail, but you don't need anything fancy for this.
I don't think you can use 'root=netgroup' which is kind of inconvenient, but then you probably don't want N+1 peecees to have root access anyway.
It does however reference one of the mysterious man pages, which I have never been able to get Netapp to give me. In fact they deny their existance.
C'mon, you've got to be trolling now.