File - File System (filesystem)

Undraw File Manager Re Ms29

About

A file system (often also written as filesystem) is an application that stores and organizes files and their data (content).

Essentially, it organizes these files for storage, organization, manipulation, and retrieval.

The file system can be:

  • local provided by the computer's operating system (or third additional party)
  • or remote.

The way a computer or an application:

  • organizes,
  • names,
  • stores,
  • secures,
  • searches
  • and manipulates files

depends and is implemented through what we refer as a file system.

File systems vary greatly.

  • In some cases the file system is a single hierarchy of files with one top-level root directory (Linux)
  • In other cases it may have several distinct file hierarchies, each with its own top-level root directory. (Windows C: or D:)

A file system is typically composed of one or more underlying file-stores (partition) that provide the storage for the files. (Local, NFS,…) Theses file stores can also vary in the features they support, and the file attributes or meta-data that they associate with files.

Structure

Logical

A file system is essentially a container with organized, homogenous elements referred to as file system objects.

A file system provides access to file system objects.

A file system manages the following object:

that are stored in:

Physical (Storage device)

See file store,

Most Operating System file systems make use of an underlying data storage device that offers access to an array of fixed-size physical sectors, generally a power of 2 in size (512 bytes or 1, 2, or 4 KiB are most common).

The file system is responsible for organizing these sectors into files and directories, and keeping track of which sectors belong to which file and which are not being used.

Most file systems address data in fixed-sized units called “clusters” or “blocks” which contain a certain number of disk sectors (usually 1-64). This is the smallest amount of disk space that can be allocated to hold a file.

Type

Operation Name

This section lists the name of file system operations (They may have other names but they are the most common ones).

function name direction should exist description
resolve leaf no resolve returns a descendant path (the actual path is seen as a directory)
resolveSibling current no resolveSibling returns a sibling path (ie a path in the same directory)
closest root yes closest returns a path if the file name exists in its ascendant
toAbsolutePath - - to transform a relative path to an absolute path
toRelativePath - - to transform an absolute path to a relative path

1)

Attributes

A file system has two important attributes:

In a URI:

scheme:authority/path?queryString

Standard

The file system hierarchy standard is a standard for OS file system.

Documentation / Reference

1)
See the API for Java file operations: javase/9/docs/api/nio/file/Files.html and path operations: javase/9/docs/api/nio/file/Path.html





Discover More
A web resource is the data of the web

This articles shows what a web resource is, how to access it and how it's defined. Web resources is also known as web content. The most known web resource is an html page with its CSS and Javascript but...
Card Puncher Data Processing
Aws - Dynamo Storage system

dynamo is a key-value storage system (file system ?) that has inspired the dynamo db database See Dynamo_(storage_system) Amazon...
Card Puncher Data Processing
Aws - S3 (Amazon Simple Storage Service)

S3 (ie Simple Storage Service) is a edge storage file system in Aws based on Hadoop File System Amazon S3 uses dense storage drives that are optimized for storing larger objects inexpensively. Amazon...
Card Puncher Data Processing
Azure - File System

Azure knows two types of file system: Blob (default) Data Lake (Enterprise, Performance) Portal Azure cli Azure Powershell Storage...
Browser / Javascript - File System ( API )

API File System in the browser via the Web Api See: File download test - Selenium ...
Data System Architecture
Data - (Transaction|Action) Atomicity

An atomic action is one that effectively happens all at once. An atomic action cannot stop in the middle: it either happens completely, or it doesn't happen at all. No side effects of an atomic action...
Harddisk
Disk - Sector (Physical block)

A sector is the block (minimal persistent unit) on a disk at the physical level. It is not possible to modify any part of the disk smaller than a sector. To change a part of the disk smaller than a sector,...
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 - Persistent Storage Operations

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...
Undraw File Manager Re Ms29
File - Server (Remote File System)

A file server is a server process that respond to file system operations (file read, delete, ...) It's also known as a remote file system. See



Share this page:
Follow us:
Task Runner