GNU Info

Info Node: (am-utils.info)netgrp Selector Function

(am-utils.info)netgrp Selector Function


Next: netgrpd Selector Function Prev: false Selector Function Up: Selectors
Enter node , (file) or (file)node

netgrp Selector Function
........................

   If the current host as determined by the value of `${host}' (e.g.,
short host name) is a member of the netgroup ARG, this selector
evaluates to true.  Otherwise it evaluates to false.

   For example, suppose you have a netgroup `ppp-hosts', and for
reasons of performance, these have a local `/home' partition, while all
other clients on the faster network can access a shared home directory.
A common map to use for both might look like the following:

     home/*  netgrp(ppp-hosts);type:=link;fs:=/local/${key} \
             !netgrp(ppp-hosts);type:=nfs;rhost:=serv1;rfs:=/remote/${key}


automatically generated by info2www version 1.2.2.9