File Directories

A file directory (or folder) is a special-purpose file that records information about other files and possibly other directories. The directory consists of a set of entries, each containing the name of a file followed by other information necessary to access the file. Directories and folders are technically different, especially under Windows. Windows provides other information about folders,…

Files

Files present a way to store persistent data (that is data that doesn’t go away when a computer is either intentionally, or unintentionally, turned off). Older systems relied on tape, then magnetic disks, and now solid state media. A file system is used by the OS to manager and track the files on the media….

Page Replacement with Fixed # of Frames

A reference string is the sequence of page numbers referenced by an executing program during a given time interval. Reference strings are used to compare different page replacement algorithms by counting the number of page faults generated. Since page faults are time consuming, the optimal page replacement algorithm selects the page that will not be referenced for the longest…

Segmentation and Paging

With paging, all components of a program, including code, static data, the stack, and other data structures, are combined into one contiguous address space divided into fixed-size pages. Segmentation addresses the problem by providing multiple logical address spaces for each process, where each segment can have a different size. A segment is a variable-size block of a…