File System
File System
ABSTRACT
The file system provides the mechanism for online storage and access to file contents, including
data and programs. This paper covers the high-level details of file systems, as well as related
topics such as the disk cache, the file system interface to the kernel, and the user-level APIs that
use the features of the file system. It will give you a thorough understanding of how a file system
works in general. The main component of the operating system is the file system. It is used to
create, manipulate, store, and retrieve data. At the highest level, a file system is a way to manage
information on a secondary storage medium. There are so many layers under and above the file
system. All the layers are to be fully described here. This paper will give the explanatory
knowledge of the file system designers and the researchers in the area. The complete path from
the user process to secondary storage device is to be mentioned. File system is the area where
the researchers are doing lot of job and there is always a need to do more work. The work is
going on for the efficient, secure, energy saving techniques for the file systems. As we know that
the hardware is going to be fast in performance and low-priced day by day. The software is not
built to comeback with the hardware technology. So there is a need to do research in this area to
bridge the technology gap.
KeyWords: File System, OS Component, Disk Controller, Buffer Cache, Hard Disk, Device Drivers.
INTRODUCTION
because file system bugs may corrupt all the data on the secondary storage device. It is a difficult and time consuming
job to develop a file system. A file system may be a general purpose, caching, cryptographic, compressing, or a
replicated one which provides consistency control among the copies spread across the file systems.
sections.
A file system is that part of an operating system that controls the storage and manipulation of files on media, such as disks. At
first thought, that may seem like a rather straightforward task. However, to carry out this function, a file system supporting a
multiuser operating system must perform a variety of difficult jobs.
processes concurrently,
Provide a standard set of interface routines to upper layers of the operating system and user programs
When we talk about file systems then there are many terms
up a file system. We list the terms from the ground up, each
minimum unit that the disk can read or write. The block
size of most modern hard disks is 512 bytes.
same size as or larger (in integer multiples) than the disk
block size.
Volume: The name we give to a collection of blocks
on some storage medium (i.e., a disk). That is, a volume
Superblock: The area of a volume where a file
with the name. The value may have a defined type (string,
DEVICE DRIVER
interface (API) that defines the services the driver is expected to support.
Space.
user’s data buffer could get swapped out to disk. And when
BUFFER CACHE
the locked queue, the clean queue, the dirty queue and the
block number is an offset into the file, i. e. zero for the first
block and one for the second etc.) and the physical disk
cache.
1 it is already in memory.
HARD DISKS
disks have higher speeds and older disks may have lower
speeds. The heads move along the radius of the platters; this movement combined with the rotation of the platters
allows the head to access all parts of the surfaces.
sector replacement.
the motor that rotates the platters and moves the heads,
sector 9''. Usually the number of sectors is the same for all
hold 512 bytes of data. The disk itself can't handle smaller
the same way. This means that when the head for one
not always possible to place files like this; files that are
up or driver initialization.
DISK CONTROLLER
computer.
disk drive. For example, disks called "SCSI disks" have built-in SCSI controllers. In the past, before most SCSI controller
functionality was implemented in a single chip, separate SCSI controllers interfaced disks to the SCSI bus.
Attached SCSI.
As can be seen in the above Figure 6.1, the bottom of the drive has a circuit board, which contains the hard disk controller
of the laptop hard drive.
Figure 3: The disk controller circuit board on the bottom part of the hard drive.
CONCLUSION
computer system. All the upper layers and the lower layer
tells about the view of file systems that may be the user file
are intermediate between the VFS and the user space file
systems.
REFERENCES
pp. 269-286.
ISBN: 0-471-16483-6.
55860-497-9.
Available: http://www.hdat2.com/
[10.] B. Kahanwal, T. P. Singh, and R. K. Tuteja (2011), “Performance Evaluation of Java File Security System (JFSS)”, Pelagia
Research Library—Advances in Applied Science Research (ISSN: 0976-9610), Vol. 2,
No. 6, pp. 254-260.
“Towards the Framework of the File Systems Performance Evaluation Techniques and the