Guardian Procedure Calls Reference Manual (G06.25+)

File Names and Process Identifiers
Guardian Procedure Calls Reference Manual522629-013
D-13
OSS Pathname Syntax
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 limitsh header file.
The syntax for an OSS pathname is:
/
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). The following directory names 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
[[/][directory/]...]filename