5.2 File & Folder Management
This lesson explores how operating systems organize, store, and secure files and directories within secondary storage. It covers physical and logical views of files, file systems like FAT and NTFS, file storage allocation methods, and system maintenance processes such as disk formatting and defragmentation.
ප්රධාන සංකල්ප
- File
- A named collection of related information, typically seen as a sequence of bits or bytes, which has a logical view (how users see it) and a physical view (how it is stored in secondary storage).
- Directory
- A specific location or folder in a storage system used for organizing and storing computer files.
- File Attributes
- Metadata associated with a file, including its name, type, owner, size, physical location, access privileges, and timestamps.
- File System
- The overall structure and rules used by an operating system to name, store, organize, and access files on a storage device.
- File Allocation Table (FAT)
- A file system originally developed for MS-DOS that uses an allocation table stored at a fixed location to keep track of a file's clusters, using a duplicate table copy for data safety.
- New Technology File System (NTFS)
- A proprietary Microsoft file system that improves on FAT by offering automatic error recovery, Unicode support, large hard drive support, encryption, and permission-based security.
- Contiguous Allocation
- A storage allocation scheme where a file is allocated disk space in consecutive, sequential blocks, which is simple and fast but prone to external fragmentation.
- Linked Allocation
- An allocation scheme where a file is stored as a linked list of non-contiguous blocks, with each block containing a pointer to the next, eliminating external fragmentation.
- Indexed Allocation
- An allocation scheme where each file has its own index block containing a table of pointers to all its individual data blocks, supporting direct access without external fragmentation.
- Disk Fragmentation
- A state where file segments become scattered non-contiguously across a disk rather than being stored in consecutive blocks.
- Defragmentation
- The process of reorganizing scattered file fragments on a disk to store them in contiguous blocks, optimizing system access performance.
- Disk Formatting
- The process of preparing a storage medium for usage, where high-level formatting deletes file system links but leaves actual data blocks intact until overwritten.
MCQ කට්ටල
MCQ 12විභාගයේදී
- Differentiating between Contiguous, Linked, and Indexed allocation schemes through diagrams or theoretical descriptions.
- Explaining the difference between FAT and NTFS file systems.
- Explaining the cause of disk fragmentation and the role of defragmentation.
- Analyzing what happens to data during high-level disk formatting and subsequent data recovery.
