Understanding Operating Systems Chapter 8 File Management

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 35

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

36 Terms

1

File manager

Software responsible for creating, modifying, controlling access to files as well as managing the resources used by the files.

New cards
2

File Manager Tasks

1. Keep track of where each file is stored.
2. Use a policy that will determine where and how the files will be stored, making sure to efficiently use the available storage space and provide efficient access to the files.
3. Allocate each file when a user as been cleared for access to it, then record its use.
4. Deallocate the file when the file is to be returned to storage, and communicate its availability to others who may be waiting for it.

New cards
3

Field

a group of related bytes that can be identified by the user with a name, type, and size.

New cards
4

Record

A group of related fields.

New cards
5

File

A group of related records that contains information to be used by specific application programs to generate reports. Flat files have no connection to other files, no dimensionality.

New cards
6

Database

Groups of related files that are interconnected at various levels to give users flexibility of access to the data stored. Appear as a type of file to file manager.

New cards
7

Program File

Contains instructions

New cards
8

Data file

Contains data

New cards
9

Directories

Special files with listings of filenames and their attributes.

New cards
10

Volume

A storage unit, removable or not.

New cards
11

Master File Directory (MFD)

Stored immediately after the volume descriptor and lists the names and characteristics of every file contained in that volume.

New cards
12

Subdirectory

Created when a user opens an account to access the computer system. treated as a file, but its files are filenames pointing to files.

New cards
13

Relative Filename

The name of a file relative to the subdirectory that it is stored in, does not include path information.

New cards
14

Extension

Indicates the type of a file allowing the system to properly process it.

New cards
15

Absolute filename

The long name that includes all path information.

New cards
16

Path

Information that appears in directory listings and folders

New cards
17

Working Directory

A subdirectory second from the home directory. Files are presumed to be located in this current directory. As long as the user refers to files in this directory they can access them without entering the complete name which the file manager does automatically. AKA current directory

New cards
18

Fixed-length

The most common because its the easiest to access directly. If too large, wasted space occurs. If too small, characters are truncated.

New cards
19

Variable Length

Records are easily read directly and do not leave wasted space or truncate. Difficult to access records directly.

New cards
20

Sequential record organization

records are stored and retrieved serially, one after the other. The original order must be preserved every time a record is added or deleted.

New cards
21

Direct record organization

Any records can be accessed in any order without searching from the beginning.

New cards
22

Hashing algorithm

Transforms a key field into a number: the record's logical address.

New cards
23

Key Field

Uniquely identifies each record.
Determines the position of a record in a stored sequence.

New cards
24

Collision

When two records receive the same logical address from the hashing algorithm.

New cards
25

Indexed Sequential record Organization

Uses hashing algorithm to generate an index file which divides record into blocks of equal size. Each entry in the index file contains the highest record key and the physical location of the block.

New cards
26

Contiguous Storage

Records are stored one after another. Any record can be found once its starting address and size are known. Direct access. Cannot be expanded. Fragmentation can occur over time.

New cards
27

Non-contiguous storage

Allows files to use any storage space available.Sequential access. eliminates fragmentation.

New cards
28

extents

Physical storage space where sections of a file are kept apart from the primary storage area when space is limited.

New cards
29

Indexed Storage

extents are listed in an index block consisting of the addresses of each disk sector that make up the file. Extents are listed in the same order that they are linked

New cards
30

Current Byte Address (CBA)

A byte indicating the address of the last byte read and used to access the next sequential record. Must be updated every time a record is accessed.

New cards
31

Access Control Matrix

Each column identifies a user and each row identifies a file. The intersection contains the access rights for the user to the file. Can grow extremely large. Wastes space with null entries.

New cards
32

Control Access List

each file is entered in the list and contains the names of the users who are allowed to access it and the type of access each is permitted.

New cards
33

Capability List

Lists every user and the files to which each has access. In Linux/UNIX they control access to device as well as to files.

New cards
34

Data Compression

Algorithms consist of two type: lossless which retain all the data in the file throughout the compression/decompression process.; Lossy which remove data permanently. Space is gained but processing time is lost.

New cards
35

File descriptor

information kept in the directory to describe a file or file extent.

New cards
36

Relative address

In a direct organization environment, it indicates the position of a record relative to the beginning of the file.

New cards
robot