Linked allocation of files has the advantage of efficient disk space utilization, as it can easily grow and shrink without needing contiguous storage. It simplifies file management by allowing dynamic allocation of blocks. However, a significant disadvantage is that it can lead to slower access times due to the need to follow pointers from one block to another, which can result in increased seek times. Additionally, if a pointer is lost or corrupted, it can lead to data loss or accessibility issues.
Contiguous Allocation Linked Allocation Indexed Allocation
Continuous File Allocation - uses continuous range of blocks in logical block space Chained File Allocation - each block pointer to the next on disk
another name for a file allocation unit is a cluster.
Advantage is because most applications allows you to import rtf file or to open it in that application, disadvantage is file size it is much bigger then Word format (docx).
File allocation table
file allocation table
FAT is a file system used by MS-DOS and other Windows-based operating systems to organize and manage files. The file allocation table (FAT) is a data structure that Windows creates when you format a volume by using the FAT or FAT32 file systems. Windows stores information about each file in the FAT so that it can retrieve the file later.
The advantage is that while accessing a block that is stored at the middle of a file, its location can be determined by chasing the pointers stored in the FAT as opposed to accessing all of the individual blocks of the file in a sequential manner to find the pointer to the target block. Typically, most of the FAT can be cached in memory and therefore the pointers can be determined with just memory accesses instead of having to access the disk blocks.
int main (void) { puts ("File allocation methods"); return 0; }
lost cluster
An advantage of special-purpose file systems is their optimization for specific tasks, such as managing databases or handling large volumes of multimedia files, which enhances performance and efficiency. However, a disadvantage is their lack of flexibility, as they may not support all types of data or applications, limiting their use in more general scenarios. Additionally, implementing and maintaining these specialized systems can be more complex and resource-intensive compared to general-purpose file systems.
FAT (File Allocation Table)