OS - 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 / 31

encourage image

There's no tags or description

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

32 Terms

1

File Manager

- also called the File Management System

New cards
2

File Manager

- responsible for creating, deleting, modifying, controlling access to files

New cards
3

File Manager

- provides support for libraries of programs to online users, for spooling operation, and for interactive computing.

New cards
4

Files

- the building blocks of any operation system.

- represent program and data.

New cards
5

executable file

- output of program

New cards
6

File access mechanism

- refers to the manner in which the records of a file may be accessed.

New cards
7

• Sequential File Access

• Direct File Access

• Indexed File Access

- FILE ACCESS METHODS (3) -

New cards
8

Sequential File Access

- a method of accessing data sequentially/one record at a time by starting from the beginning of the file to its end.

- most primitive and straightforward method of accessing files

New cards
9

Direct File Access

- Also known as Random file access.

- Allows users to access data directly from any location within the file without the need to read/write all the records that come before it.

New cards
10

Indexed File Access

- method that incorporates the benefits of both sequential and direct file access.

- creating an index file that maps logical keys or data elements to their corresponding physical addresses within the file.

- Index is searched sequentially and its pointer is used to access the file directly.

New cards
11

File types

refers to the ability of the operating system to distinguish different types of file such as text files, source files, and binary files etc.

New cards
12

• Ordinary files

• Directory files

• Special files

- FILE TYPES (3) -

New cards
13

Ordinary Files

- files that contains user information

- may have text, databases or executable program

- user can apply various operations on such files like - add, modify, delete or even remove the entire file.

New cards
14

Directory files

- contains list of file and other related information to those files.

- Also known as "FOLDERS" in other operating systems.

- Folders that holds and organize multiple files

New cards
15

Special files

- these files are also known as device files.

- represents physical devices

New cards
16

• Character special files

• Block special files

- TYPES OF SPECIAL FILES (2) -

New cards
17

Character special files

− data is handled character by character as in case of terminals or printers.

New cards
18

Block special files

− data is handled in blocks as in the case of disks and tapes

New cards
19

• Create - file created with no data

• Delete - no longer needed, free up

• Open - open before using

• Close - free up internal table space

• Read - read stored data in file

• Write - write the to file, again

• Append - only add at the end

• Seek - where to take data

• Rename - changing name

- FILE OPERATIONS (9) -

New cards
20

Directory

- is a list of FILES that stores all the related information about the file it holds with the contents.

New cards
21

1. Single-level directory structure

2. Two-level directory structure

3. Tree-structured directory structure

- TYPES OF DIRECTORY STRUCTURE (3) - *

New cards
22

Single-level directory structure

- all the files are placed in one directory

New cards
23

Two-level directory structure

- the system maintains a master block that has one entry for each user

New cards
24

Tree-structured directory structure

- the directory themselves are files.

- this files to the possibility of having sub-directories that can contain files and sub-subdirectories

New cards
25

• Application Program Layer

• Logical File System Layer

• File Organization Module Layer

• Basic File System Layer

• I/O Control Interface Layer

• Physical Hardware Device Layer

- FILE MANAGEMENT SYSTEM STRUCTURE (6) -

New cards
26

Application Program Layer

- user creates application program

New cards
27

Logical File System Layer

- manages the meta data information

New cards
28

File Organization Module Layer

- maintain information about file

New cards
29

Basic File System Layer

- generate command for device driver

- also manage buffer memory and cache

New cards
30

I/O Control Interface Layer

- it consists of device driver & interrupt handler

- transfer data: between main memory to disk system.

New cards
31

Physical Hardware Device Layer

- contain actual hardware device

New cards
32

Data Compression

- reduction in the amount of bits required to represent data is known as

- save storage capacity, speed up file transfer and decrease costs for storage hardware and network bandwidth.

New cards
robot