Integrated File System Introduction
Path name
A path name (also called a pathname on some systems) tells the server how to locate an object. The path name is expressed as a sequence of directory names followed by the name of the object. Individual directories and the object name are separated by a slash (/) character; for example:
directory1/directory2/fileFor your convenience, the back slash (\) can be used instead of the slash in integrated file system commands.
There are two ways of indicating a path name:
- An absolute path name begins at the highest level, or "root" directory (which is identified by the / character). For example, consider the following path from the / directory to the file named Smith.
Figure 6. The components of a path name
The absolute path name to the Smith file is as follows:
/Dept2/Photo/SmithThe absolute path name is also known as the full path name.
- If the path name does not begin with the / character, the system assumes that the path begins at your current directory. This type of path name is called a relative path name. For example, if your current directory is Dept2 and it has a sub-directory named Photo containing the file Smith, the relative path name to the file is:
Photo/SmithNotice that the path name does not include the name of the current directory. The first item in the name is the directory or object at the next level below the current directory.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]