OS - File Management

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/31

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

32 Terms

1
New cards

File Manager

- also called the File Management System

2
New cards

File Manager

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

3
New cards

File Manager

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

4
New cards

Files

- the building blocks of any operation system.

- represent program and data.

5
New cards

executable file

- output of program

6
New cards

File access mechanism

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

7
New cards

• Sequential File Access

• Direct File Access

• Indexed File Access

- FILE ACCESS METHODS (3) -

8
New cards

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

9
New cards

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.

10
New cards

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.

11
New cards

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.

12
New cards

• Ordinary files

• Directory files

• Special files

- FILE TYPES (3) -

13
New cards

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.

14
New cards

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

15
New cards

Special files

- these files are also known as device files.

- represents physical devices

16
New cards

• Character special files

• Block special files

- TYPES OF SPECIAL FILES (2) -

17
New cards

Character special files

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

18
New cards

Block special files

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

19
New cards

• 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) -

20
New cards

Directory

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

21
New cards

1. Single-level directory structure

2. Two-level directory structure

3. Tree-structured directory structure

- TYPES OF DIRECTORY STRUCTURE (3) - *

22
New cards

Single-level directory structure

- all the files are placed in one directory

23
New cards

Two-level directory structure

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

24
New cards

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

25
New cards

• 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) -

26
New cards

Application Program Layer

- user creates application program

27
New cards

Logical File System Layer

- manages the meta data information

28
New cards

File Organization Module Layer

- maintain information about file

29
New cards

Basic File System Layer

- generate command for device driver

- also manage buffer memory and cache

30
New cards

I/O Control Interface Layer

- it consists of device driver & interrupt handler

- transfer data: between main memory to disk system.

31
New cards

Physical Hardware Device Layer

- contain actual hardware device

32
New cards

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.