Latest Posts

FILE SYSTEM IMPLEMENTATION
34 views
FILE SYSTEM IMPLEMENTATION

Now it is time to turn from the user's view of the file system to the implementor's view. Users are concerned with how files are named, what operations are allowed on them, what the directory tree looks like, and similar interface issues. Implementors are interested in how files and

DIRECTORIES
42 views
DIRECTORIES

To keep track of files, file systems generally have directories or folders, which in many systems are themselves files. Now we will discuss directories, their organization, their properties, and the operations that can be performed on them.

An Example Program Using File System Calls
59 views
An Example Program Using File System Calls

In this section we will consider a simple UNIX program that copies one file from its source file to a destination file. It is listed in Figure 1. The program has minimal functionality and even worse error reporting, but it gives a reasonable idea of how some of the system calls related to

File Attributes
57 views
File Attributes

Every file has a name and its data. Moreover, all operating systems associate other information with each file, for instance, the date and time the file was last modified and the file's size. We will call these extra items the file's attributes. Some people call them metadata. The list of

File Types
54 views
File Types

Many operating systems support many types of files. UNIX and Windows, for instance, have regular files and directories. UNIX also has character and block special files. Regular files are the ones that contain user information. All the files of FILES Figure 2,

FILES
96 views
FILES

Files are an abstraction mechanism. They provide a way to store information on the disk and read it back later. This must be done in such a way as to shield the user from the details of how and where the information is stored, and how the disks really work.

file-systems
257 views
file-systems

All computer applications need to store and get back information. While a process is running, it can store a limited amount of information within its own address space. On the other hand, the storage capacity is restricted to the size of the virtual address space. For some

Segmentation with Paging: The Intel Pentium
365 views
Segmentation with Paging: The Intel Pentium

In many ways, the virtual memory on the Pentium resembles that of MULTICS, including the presence of both segmentation and paging. Whereas MULTICS has 256K independent segments, each up to 64K 36-bit words, the Pentium has 16K independent segments, each holding

Segmentation with Paging: MULTICS
284 views
Segmentation with Paging: MULTICS

If the segments are large, it may be inconvenient, or even impossible, to keep them in main memory in their entirety. This leads to the idea of paging them, so that only those pages that are really required have to be around. Many significant systems have supported paged

SEGMENTATION
223 views
SEGMENTATION

The virtual memory discussed so far is one-dimensional because the virtual addresses go from 0 to some maximum address, one address after another. For various problems, having two or more separate virtual address spaces may be much better than having only one. For