Topic 5: Concepts of File Management
Unit: Operating System – Level 5 (CDACC Curriculum)
1. Definition of File System Management
File system management is a core function of an operating system that deals with the
creation, organization, storage, retrieval, naming, sharing, and protection of files on storage
media such as hard drives, SSDs, and flash disks. It provides a logical structure for how data
is stored and accessed, ensuring efficiency, security, and reliability.
2. File System Concepts
a) Naming
Each file is given a unique name to identify it within a directory or folder. The name usually
has two parts: File name and Extension. Example: [Link], [Link]. File naming rules
depend on the operating system.
b) Structure
File structure defines how data is logically organized within files and how files are arranged
within the storage system. Structure levels include Field, Record, File, and Database.
Directory structures include Single-level, Two-level, and Tree-structured directories.
c) Types
Files can be categorized by content (text, executable, image, audio/video, system), access
method (sequential, direct, indexed sequential), or file system type (FAT32, NTFS, ext4,
APFS).
d) Attributes
File attributes describe file properties such as name, type, size, location, date/time, owner,
permissions, and visibility.
e) Operations
File operations are actions performed by the OS to manage data. These include file creation,
reading, writing, deleting, opening, closing, copying, renaming, and truncating.
3. File Access Methods
Access methods define how data is read or written. Methods include Sequential Access,
Direct (Random) Access, and Indexed Sequential Access.
4. Directory Implementation
Directories organize and manage files in the file system. Structures include Single-level,
Two-level, Tree-structured, Acyclic Graph, and General Graph directories.
5. File Allocation Techniques
File allocation defines how and where files are stored on a storage medium. Common
techniques include Contiguous, Linked, and Indexed allocation.
6. File Protection and Security
a) Importance
File protection ensures data integrity, confidentiality, and system stability. It prevents
unauthorized access and data loss.
b) Access Control
Access control specifies who can access a file and what actions they can perform.
Techniques include Access Control Lists, User Authentication, Encryption, and Role-Based
Access Control.
c) Audit Trail
An audit trail records all file activities for accountability and security. It tracks who accessed
or modified files and when.
Summary
File system management handles file organization, access, storage, and protection within an
operating system. Through naming, structure, attributes, operations, access methods,
allocation, and security, the OS ensures files are managed efficiently and safely.
References
• CDACC ICT Level 5 Curriculum – Operating System Module
• Silberschatz, A., Galvin, P., & Gagne, G. (2020). Operating System Concepts.
• Stallings, W. (2018). Operating Systems: Internals and Design Principles.
• Tanenbaum, A. (2015). Modern Operating Systems.