Module 8 - File Systems

0.0(0)
studied byStudied by 0 people
0.0(0)
linked notesView linked note
full-widthCall with Kai
GameKnowt Play
New
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/57

flashcard set

Earn XP

Description and Tags

Flashcards generated from lecture notes on Operating Systems, focusing on file systems and storage management.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

58 Terms

1
New cards

Mass Storage

Disk drives are the major secondary-storage I/O devices on most computers.

2
New cards

Disk Scheduling Algorithms

Disk scheduling algorithms can improve the effective bandwidth, the average response time, and the variance in response time.

3
New cards

RAID Algorithms

Disks are frequently made redundant via RAID algorithms for the amount of storage required on large systems.

4
New cards

Tertiary Storage

Tertiary storage is built from disk and tape drives that use removable media.

5
New cards

File System

Layer of OS that transforms blocks of disks into Files and Directories.

6
New cards

Disk Management

Collecting disk blocks into files.

7
New cards

Naming

Interface to find files by name, not by blocks.

8
New cards

Protection

Layers to keep data secure.

9
New cards

Reliability/Durability

Keeping of files durable despite crashes, media failures, attacks, etc.

10
New cards

User’s view of a File

Durable Data Structures.

11
New cards

System’s view (system call interface) of a File

Collection of Bytes.

12
New cards

System’s view (inside OS) of a File

Collection of blocks (a block is a logical transfer unit, while a sector is the physical transfer unit).

13
New cards

File Attribute: Name

Only information kept in human-readable form.

14
New cards

File Attribute: Type

Needed for systems that support different types of files.

15
New cards

File Attribute: Location

Pointer to file location on device.

16
New cards

File Attribute: Size

Current file size.

17
New cards

File Attribute: Protection

Controls who can do reading, writing, executing.

18
New cards

File Attribute: Time, date, and user identification

Data for protection, security, and usage monitoring.

19
New cards

Sequential Access

Bytes read in order.

20
New cards

Random Access (Direct)

Read/write element out of middle of array.

21
New cards

Content-Based Access

Find me 100 bytes starting with KUBI.

22
New cards

Directory Structure

A collection of nodes containing information about all files.

23
New cards

Entries in a device directory or volume table of contents

Record name, location, size, and type.

24
New cards

Efficiency in Directory Organization

Locating a file quickly.

25
New cards

Naming in Directory Organization

Convenient to users.

26
New cards

Grouping in Directory Organization

Logical grouping of files by properties.

27
New cards

Single-Level Directory

A single directory for all users.

28
New cards

Two-Level Directory

Separate directory for each user.

29
New cards

Tree-Structured Directories

Efficient searching and grouping capability.

30
New cards

Acyclic-Graph Directories

Have shared subdirectories and files.

31
New cards

Garbage collection in General Graph Directory

Determine when the last reference has been deleted and the disk space can be reallocated.

32
New cards

File System Mounting

Attach the file system at the specified mount point, which is typically an empty directory.

33
New cards

File Sharing

Sharing of files through protection schemes like owner and group.

34
New cards

Solution for Safe from physical damage (reliability)

Duplicate copies of files.

35
New cards

Solution for Improper access (protection)

Ability to access files, controlled by the file owner/creator.

36
New cards

Types of Access

Read, Write, Execute, Append, Delete, List.

37
New cards

File-System Structure

File structure, logical storage unit, collection of related information residing on secondary storage.

38
New cards

File control block

Storage structure consisting of information about a file.

39
New cards

Boot control block

Contains information needed by the system to book an operating from that partition.

40
New cards

Partition control block

Contain partition details, such as the number of blocks, size of the blocks, free-block/FCB count, and pointers.

41
New cards

In-Memory File System Structures

An in-memory partition table, directory structure, system-wide open-file table, and per-process open-file table.

42
New cards

Virtual File Systems (VFS)

Provides an object-oriented way of implementing file systems, allowing the same system call interface for different types of file systems.

43
New cards

Linear list of file names

Simple to program but time-consuming to execute.

44
New cards

Hash Table

Decreases directory search time, but with considerations for collisions and fixed size.

45
New cards

Allocation Methods

Contiguous, linked, and indexed allocation.

46
New cards

Contiguous Allocation

Each file occupies a set of contiguous blocks on the disk.

47
New cards

Linked Allocation

Each file is a linked list of disk blocks scattered anywhere on the disk.

48
New cards

File Allocation Table (FAT)

Directory entry contains the block number of the first block of the file.

49
New cards

Indexed Allocation

All pointers are brought together into the index block to solve fragmentation and size-declaration problems.

50
New cards

Indexed Allocation - Mapping

Mapping ensures access to files exceeding index table size using linked scheme or multilevel index.

51
New cards

Combined scheme

First 13 pointers kept within the file's inode (header) - direct, single indirect, double indirect, triple indirect

52
New cards

Counting

Keeping a pointer to the first free block and the number n of free contiguous blocks that follow the first block.

53
New cards

Free-behind and read-ahead

Techniques to optimize sequential access.

54
New cards

Disk cache

Section of main memory for frequently used blocks.

55
New cards

Page Cache

caches pages rather than file-system-oriented blocks using virtual memory techniques

56
New cards

Unified Buffer Cache

Uses the same page cache to cache both memory-mapped pages and ordinary file system I/O.

57
New cards

Consistency checking

Compares data in directory structure with data blocks on disk, and tries to fix inconsistencies.

58
New cards

Log Structured File Systems

Records each update to the file system as a transaction, written to a log.