GNU Info

Info Node: (am-utils.info)Selectors

(am-utils.info)Selectors


Next: Map Options Prev: Variable Expansion Up: Location Format
Enter node , (file) or (file)node

Selectors
---------

   Selectors are used to control the use of a location.  It is possible
to share a mount map between many machines in such a way that filesystem
location, architecture and operating system differences are hidden from
the users.  A selector of the form `arch==sun3;os==sunos4' would only
apply on Sun-3s running SunOS 4.x.

   Selectors can be negated by using `!=' instead of `=='.  For example
to select a location on all non-Vax machines the selector `arch!=vax'
would be used.

   Selectors are evaluated left to right.  If a selector fails then that
location is ignored.  Thus the selectors form a conjunction and the
locations form a disjunction.  If all the locations are ignored or
otherwise fail then Amd uses the "error" filesystem (Note: Error
Filesystem).  This is equivalent to having a location `type:=error'
at the end of each mount-map entry.

   The default value of many of the selectors listed here can be
overridden by an Amd command line switch or in an Amd configuration
file.  Note: Amd Configuration File.

   The following selectors are currently implemented.

arch Selector Variable
autodir Selector Variable
byte Selector Variable
cluster Selector Variable
domain Selector Variable
dollar Selector Variable
host Selector Variable
hostd Selector Variable
karch Selector Variable
os Selector Variable
osver Selector Variable
full_os Selector Variable
vendor Selector Variable
key Selector Variable
map Selector Variable
netnumber Selector Variable
network Selector Variable
path Selector Variable
wire Selector Variable
uid Selector Variable
gid Selector Variable
exists Selector Function
false Selector Function
netgrp Selector Function
netgrpd Selector Function
in_network Selector Function
true Selector Function

automatically generated by info2www version 1.2.2.9