r0041313
BEFCRE YOU GET STARTED
• Segmentation of programs, allowing the separation of code and
data. This facilitates the creation of pure code for shared or
recursive procedures.
• A ring protection system which provides hardware protection for
the operating s:ystemam user subsystems.
Except for segmentation of large programs, users have little immediate
concern with these features. They are largely invisible, designed to
let users concentrate on their own goals without worrying about the
hardware.
USING THE FILE SYSTEM
File and Directory Structures
A PRIMOS file is an organized collection of information identified by a
filename. The file contents may represent a source program, an object
program, a run-time memory image, a set of data, a program listing,
text of an on-line docunent, or anything the user can define and
express in the available symbols.
Files are normally stored on the disks attached to the computer system.
No detailed knowledge of the physical location of a file is required
because the user, through PRIMm commands, refers to files by name.
en
some s:ystems, files may also be stored on magnetic tape for backup or
for archiving.
PRIMOS maintains a separate User File Directory (UFD) for each user to
avoid conflicts that might arise in assignment of filenames. A Master
File Directory (MFD) is maintained by PRIMOS for each logical disk
connected to the system. (A logical disk, sometimes called a volume,
may occupy either a complete disk pack or a partition of a multi-head
disk pack. In either case, it serves as PRIMOS's basic unit of
storage.) The MFD contains information about the location of each UFD
on the disk. In turn, each UFD contains information about the location
and content of each file or sub-UFO in that directory.
The types of files most often encountered
a description of the PRIMa; file system
ordering of information within files,
Reference Guide.
are shown in Table 2-1. For
and a description of the
refer to the Subroutines
Pathnames
The PRIMa; file directory system is arranged as a tree. At the root
are the disk volumes (also called partitions, or logical disks). Each
disk volume has an MFD containing the names of several UFI::s.Each UFD
may contain not only files, but subdirectories (sub-UFDs), and they may
contain subdirectories as well. Directories may have subdirectories to
any reasonable level.
2
3
January 1980