File management in operating system pdf

O Software, File System, Linux. The operating system is a vital component of the system software in a computer system. This tutorial will take you through step by step approach while learning Operating System concepts. This tutorial has been prepared for the computer science graduates to help them understand the basic to file management in operating system pdf concepts related to Operating System.

Before you start proceeding with this tutorial, we are making an assumption that you are already aware of basic computer concepts like what is keyboard, mouse, monitor, input, output, primary memory and secondary memory etc. If you are not well aware of these concepts, then we will suggest to go through our short tutorial on Computer Fundamentals. This article is about the way computers organise data stored on media such as disk. By separating the data into pieces and giving each piece a name, the information is easily isolated and identified. The structure and logic rules used to manage the groups of information and their names is called a “file system”. There are many different kinds of file systems. Each one has different structure and logic, properties of speed, flexibility, security, size and more.

Some file systems have been designed to be used for specific applications. By 1961 the term was being applied to computerized filing alongside the original meaning. By 1964 it was in general use. A file system consists of two or three layers. Sometimes the layers are explicitly separated, and sometimes the functions are combined. The logical file system “manage open file table entries and per-process file descriptors. This interface allows support for multiple concurrent instances of physical file systems, each of which is called a file system implementation.

Note: this only applies to file systems used in storage devices. File systems allocate space in a granular manner, usually multiple physical units on the device. For a 512-byte allocation, the average unused space is 256 bytes. For 64 KB clusters, the average unused space is 32 KB. The size of the allocation unit is chosen when the file system is created. Choosing the allocation size based on the average size of the files expected to be in the file system can minimize the amount of unusable space. Frequently the default allocation may provide reasonable usage.

Choosing an allocation size that is too small results in excessive overhead if the file system will contain mostly very large files. As a file system is used, files are created, modified and deleted. When a file is created the file system allocates space for the data. Some file systems permit or require specifying an initial space allocation and subsequent incremental allocations as the file grows. As files are deleted the space they were allocated eventually is considered available for use by other files.

This creates alternating used and unused areas of various sizes. This is free space fragmentation. When a file is created and there is not an area of contiguous space available for its initial allocation the space must be assigned in fragments. When a file is modified such that it becomes larger it may exceed the space initially allocated to it, another allocation must be assigned elsewhere and the file becomes fragmented. Most file systems have restrictions on the length of filenames. Other bookkeeping information is typically associated with each file within a file system.

A file system stores all the metadata associated with the file—including the file name, the length of the contents of a file, and the location of the file in the folder hierarchy—separate from the contents of the file. Most file systems store the names of all the files in one directory in one place—the directory table for that directory—which is often stored like any other file. Most file systems also store metadata not associated with any one particular file. Some file systems provide for user defined attributes such as the author of the document, the character encoding of a document or the size of an image. Some file systems allow for different data collections to be associated with one file name. Apple has long used a forked file system on the Macintosh, and Microsoft supports streams in NTFS. File systems include utilities to initialize, alter parameters of and remove an instance of the file system.

Some include the ability to extend or truncate the space allocated to the file system. File utilities create, list, copy, move and delete files, and alter metadata. They may be able to truncate data, truncate or extend space allocation, append to, move, and modify files in-place. Depending on the underlying structure of the file system, they may provide a mechanism to prepend to, or truncate from, the beginning of a file, insert entries into the middle of a file or delete entries from a file. Utilities to free space for deleted files, if the file system provides an undelete function, also belong to this category. Some file systems defer operations such as reorganization of free space, secure erasing of free space, and rebuilding of hierarchical structures by providing utilities to perform these functions at times of minimal activity.

Some of the most important features of file system utilities involve supervisory activities which may involve bypassing ownership or direct access to the underlying device. These include high-performance backup and recovery, data replication and reorganization of various data structures and allocation tables within the file system. There are several mechanisms used by file systems to control access to data. Usually the intent is to prevent reading or modifying files by a user or group of users.

Related Articles

The death of king arthur pdf

This is a featured article. Click here for more information. 5th and early 6th centuries AD. Arthurian literature thrived during

Fe electrical and computer practice exam 1 pdf

Free download lesson plan, resume sample and terms paper in PDF. Download or read online on sierrasafarizoo. The Greatness Of

Ethics and social responsibility pdf

With some models, a firm’s implementation of CSR goes beyond compliance and statutory requirements, which ethics and social responsibility pdf