Guardian Procedure Calls Reference Manual

OSS Pathname Syntax
OSS pathnames can be up to PATH_MAX characters long, including a null termination character.
PATH_MAX is a symbolic constant defined in the limits.h header file.
The syntax for an OSS pathname is:
[[/][directory/]...]filename
/
specifies the root directory when it appears at the beginning of a pathname. Otherwise, it
separates directory names and filenames.
directory
specifies the name of a directory. All characters are valid except slash (/) and the ASCII NULL
character. A hyphen (-) cannot be the first character of a directory name. The maximum length
is NAME_MAX characters, as defined in the limitsh header file (this value is 248). This directory
names and components have special meaning:
.
is the OSS current working directory
. .
is the parent directory of the OSS current working directory
G
always appears under the root directory and identifies files in the Guardian file system.
E
always appears under the root directory and identifies files visible through Expand.
nodename
specifies the name of the node without a backslash ( \ ) and it always resides after the E
directory.
vol
specifies the name of the volume without a $ and it always resides after the G directory.
subvol
specifies the name of the subvolume and always resides after volume name.
filename
specifies the name of the file. All characters are valid except slash (/) and the ASCII NULL
character. A hyphen (-) cannot be the first character of a filename. The maximum length is
NAME_MAX characters, as defined in the limitsh header file (this value is 248).
Examples
OSS pathnames can be absolute or relative. Absolute pathnames begin with a slash (/), which
indicates the root directory. This is an example of an absolute OSS pathname:
/usr/ccomp/prog1.c
Relative pathnames (which do not begin with a slash) are relative to the OSS current working
directory. Examples of relative OSS pathnames follow:
Refers to a file (ch1) in a subdirectory (refman) of the current working directory.
refman/ch1
Refers to the same file as the previous example.
./refman/ch1
Refers to a file (oldmail) in a subdirectory (yourfiles) of the parent directory
of the current working directory.
../yourfiles/oldmail
1544 File Names and Process Identifiers