HP 9000 200 Series Manual page 114

Using the basic 5.0/5.1 system
Table of Contents

Advertisement

LIF directory entries are in the same order as the files in the data area. The third
directory entry, for example, must correspond to the third file in the data area.
Consequently, if you PURGE a LIF file and then create a smaller file, you may lose
disc space. The following examples illustrate this principle.
Executing the following statement:
PURGE "FileB"
creates a I-entry gap in the directory and a 4-sector gap in the data area.
DIRECTORY
DATA AREA
ENTRY
~~
-
FILE A
FILE A
~
-
~
-
~
-
2
~
-
FILE C
~
-
3
~
FILE C
-
f-
-
r-
-
4
5
r-
-
i-
-
r-
-
~
-
6
When you create a file on a LIF volume, the system looks for the first gap in the data
area with enough room to store the file. When it finds one, it puts the file into this gap.
To continue the above example, suppose you create a 2-sector file with this statement:
CREATE ASCII "FileD",2
The system will place this file in the data-area gap and place the directory entry in the
directory gap.
5-36
Using Directories and File"

Advertisement

Table of Contents
loading

This manual is also suitable for:

9000 300 series

Table of Contents