File - Persistent Storage Operations

Undraw File Manager Re Ms29


In a file system, the basic persistent storage operations that permits to manage the file content are called:

  • create - Creates a new file and open it
  • write - Opens the file for write access (append - Appends the new data to the end of the file)
  • read - Opens the file for read access
  • delete - Delete the file

They are part made through file system request.


File System

The local/os file system performs all requests against the hard drive at the cluster size and holds them in memory in a cache.


An application using the OS API can thereafter read file content from the File System Cache:

This operation is known as the scatter-gather scheme 1)


When the file system reads and writes file, file lock may be asked or taken in order to prevent data corruption.

Discover More
Undraw File Manager Re Ms29
File (System, Transfer, Storage)

This section is based on the File data structure. A file is: a logical grouping of related data (at the cluster size) identified through a path managed through a file system transferred through...
Undraw File Manager Re Ms29
File - Read Operation

read is a file system io operations that opens the file for read access OS In the OS file system, it's equivalent to get a file descriptor. Linux API : read(2) Generally before reading a file,...
Sector Cluster
File - Write

This page is the write operation performed by the OS file system. A write file io operation permits to write data in a file by block of data called cluster (as opposed to a sector for a disk) Before...
Undraw File Manager Re Ms29
File System Delete

delete is a file system operation that will delete a file. Because the unit of persistent on a file system is the file, you can't delete byte. If you want to delete byte of your files physically with...
Sector Cluster
File System - Cluster (File | Sector Cluster)

A cluster is a group of hard drive sectors that is addressed as one logical persistent unit by the operating system file system to read and write a file. In computer file systems, a cluster is the unit...
Sector Cluster
File System - Defragmentation (Contiguous Cluster)

cluster are the logical unit of file storage for the OS file system. When writing and deleting, the creation of the clusters are not always: used as its full capacity and contiguous on the disk...
Undraw File Manager Re Ms29
File System - Request

A file request is a file operation that is send to the underlying file system. The operation file system makes requests to the disk by cluster and load the result in memory, allowing the underlying...
Card Puncher Data Processing
IO - Create Operation

create is a IO operation that will add/insert/create data in a data store. The following command are create operation: SQL: INSERT HTTP: PUT / POST File: Write
File System
What is a local file system ?

This article is giving a clear answer in one sentence on what a local file system is. No bullshit.

Share this page:
Follow us:
Task Runner