01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

INTRO (2) INTRO ( 2)<br />

ProcO is the scheduler. Procl is the initialization process (init).<br />

Procl is the ancestor of every other process in the system and is<br />

used to control the process structure.<br />

File Name.<br />

Names consisting of 1 to 14 characters may be used to name an<br />

ordinary file, special file or directory.<br />

These characters may be selected from the set of all character<br />

values excluding \0 (null) and the ASCII code for I (slash).<br />

Note that it is generally unwise to use *, ?, [, or ] as part of file<br />

names because of the special meaning attached to these characters<br />

by the shell. See sh( 1). Although permitted, it is advisable to<br />

avoid the use of unprintable characters in file names.<br />

Path Name and Path Prefix<br />

A path name is a null-terminated character string starting with an<br />

optional slash (/), followed by zero or more directory names<br />

separated by slashes, optionally followed by a file name.<br />

More precisely, a path name is a null-terminated character string<br />

constructed as follows:<br />

::=l II<br />

::=l / <br />

::= II I<br />

where is a string of 1 to 14 characters other than<br />

the ASCII slash and null, and is a string of 1 to 14<br />

characters (other than the ASCII slash and null) that names a<br />

directory.<br />

If a path name begins with a slash, the path search begins at the<br />

root directory. Otherwise, the search begins from the current<br />

working directory.<br />

A slash by itself names the root directory.<br />

Unless specifically stated otherwise, the null path name is treated<br />

as if it named a non-existent file.<br />

Directory .<br />

Directory entries are called links. By convention, a directory contains<br />

at least two links, • and .• , referred to as dot and dot-dot<br />

respectively. Dot refers to the directory itself and dot-dot refers<br />

to its parent directory.<br />

Root Directory and Current Working Directory .<br />

Each process has associated with it a concept of a root directory<br />

and a current working directory for the purpose of resolving path<br />

name searches. A process's root directory need not be the root<br />

directory of the root file system, and is determined by the userid<br />

entry in /etc/ passwd. The working directory for each process is<br />

determined either by cd( 1) or chdir(2).<br />

File Access Permissions.<br />

Read, write, and execute/search permissions on a file are granted<br />

to a process if one or more of the following are true:<br />

- 5-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!