Open System Services NFS SCF Reference Manual

Introduction
Open System Services NFS SCF Reference Manual522582-001
1-6
Object-Name Templates
Object-Name Templates
Object-name templates allow you to specify multiple objects by entering either a single
wild-card character, or text and one or more wild-card characters. With an object-name
template, you can use one object name to specify multiple objects of a given object type.
Wild-Card Characters
You can use wild-card characters to specify object-name templates for all OSS NFS
object names except the PROCESS name. You can use the following wild-card
characters in object-name templates:
* Use an asterisk to represent a character string of undefined length. You can use an
asterisk to represent the following:
A whole, separated name; for example, SERVER $ZNFS.* selects all servers
subordinate to the manager process $ZNFS.
A trailing string; for example, SERVER $ZNFS.NA* selects all servers
subordinate to $ZNFS that have names that start with NA.
An undefined number of characters; for example, SERVER $ZNFS.R*5 selects
all servers subordinate to $ZNFS that start with R and end with 5.
Use a double asterisk ( ** ) as a wildcard in EXPORT object names.
? Use a question mark to represent a single unknown character in a specific position;
for example, SERVER $ZNFS.S?1 selects all servers subordinate to $ZNFS that
begin with S, end with 1, and contain only one character between the S and the 1.
If you have set a default PROCESS name by using the ASSUME command, you can
omit the PROCESS name and use the asterisk (*) to specify all objects of the specified
object type under the assumed process. For example, the next two commands set the
default process to $ZNFS and display information about all servers:
-> ASSUME PROCESS $ZNFS
-> INFO SERVER *
You cannot use wild-card characters in system names or the manager process name.
Escape Characters
In NFS export names, user names, group names, or netgroup names, you must precede
the following characters with the escape character, which is a backslash (\), if you want
the character to be interpreted as part of the name:
asterisk ( * )
question mark ( ? )
left and right square brackets ( [ ] )
backslash ( \ )