Home » Operating Systems

File Management Functions of Operating System

Learn: In this article we learn the different function of file management of operating system. We learn the concept of file management function of operating system.
We understand the working of file management of operating system. We understand features of File attributes, different File operations, permissions given to files or File access permissions and File System.
Submitted by Amit Shukla, on August 20, 2017

Prerequisite:

  1. Introduction to Operating System and their Types.
  2. File Management in operating System.

The file management function of operating system is based on following concepts:

  1. File attributes
  2. File operations
  3. File access permissions
  4. File system

1) File Attributes

File attributes are the properties associated with a file that specifies the different information related to the file or data of the file. It specifies the characteristics of a file, such as a type and location that completely describe a file.

The following are some of the key file attributes

  1. Name
    It specifies the name or title of the file which is specified by the user at the time of saving of it. The name is used to specify the title detail of the file.
  2. File type
    It specifies the type of the file such as a word document or an excel document or any other type. Type of the file is important in recognizing the requirement and function of a file.
  3. Location
    It specifies the location of the file where it is stored in memory.
  4. Size
    It specifies the size of the files in bytes. It specifies the memory taken by any data file in the disk.
  5. Date and Time
    It specifies the date and time when the file was created, last accessed and last modified also.
  6. Read Only
    It specifies that the file can be open only for reading purpose.
  7. Hidden
    If this attribute of the file is selected, then the file is hidden from the user.
  8. Archive
    If this attribute of a file is selected then the backup of the file is created.

2) File Operations

File operations are the various tasks that are performed on files. A user can perform these operations by using the commands provided by the operating system. The following are some of the typical file operations:

  1. Creating
    It helps in creating a new file at the specified location in a computer system. The new file could be a word document, an image file or an excel worksheet.
  2. Saving
    It helps in saving the content written in a file at some specified location. The file can be saved by giving it a name of our choice.
  3. Opening
    It helps in viewing the contents of an existing file.
  4. Modifying
    It helps in changing the existing content or adding new to an existing file.
  5. Closing
    It helps in closing an already open file.
  6. Renaming
    It helps in changing the name of an existing file.
  7. Deleting
    It helps in removing a file from the memory of the computer system.

3) File Access Permissions

File access permission help specify the manner in which a user can access a file. These are the access rights that allow us to read, write or execute a file. The following are some of the typical file access permissions:

  1. Read
    It allows the user to only read the content of existing.
  2. Write
    It allows the user to only modify the content of an existing file.
  3. Execute
    It allows the user to run an existing file stored in the computer system.

4) File System

File systems are used by an operating system to store and organize the various files and their information on a hard disk. The following are the two different file system that is used to organize files in a computer system:

  1. File Allocation table
    It is a method used to organizing files and folder in the form of a table, which is known as FAT. This type of system is used for disks that are smaller in size and contain simple folder. The different types of FAT systems are FAT12, FAT16 and FAT32.
  2. New Technology File System (NTFS)
    This file system is specially designed for large hard disks for performing basic file operations, such as reading, writing, modifying, saving, etc. NTFS overcome drawbacks of the FAT system.




Comments and Discussions

Ad: Are you a blogger? Join our Blogging forum.



Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing » Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates

© https://www.includehelp.com some rights reserved.