You are on page 1of 14

filesystem

iNTrOduCTiON filE sysTEm


 A file system is a method of organizing and storing files on a
computer's storage devices, such as hard drives, solid-state
drives, and flash drives.

 A file system is made up of two main components: the file


manager and the file allocation table (FAT).
cont..

 A file system is made up of two main components: the file


manager and the file allocation table (FAT).
The file manager is responsible for creating, deleting, and
organizing files and directories, while the FAT is responsible for
keeping track of where files are stored on the storage device
iNTrOduCTiON filE sysTEm
 There are many different file systems in use today, including
FAT32, NTFS, ext4, and HFS+. Each file system has its own
strengths and weaknesses, and is optimized for specific use
cases.
For example, the NTFS file system is commonly used on
Windows computers, while the ext4 file system is commonly
used on Linux computers.
fuNdamENTal CONCEpTs
 DataData refers to a collection of facts, figures, or other
information that can be stored, processed, and analyzed by a
computer or other digital device. Data can take many different
forms, such as text, numbers, images, audio, or video.
• Metadata is data that provides information about other data. It
describes the characteristics of the data, such as the format,
structure, source, ownership, and usage. Metadata is important
for managing and organizing large amounts of data, as it
enables users to search, sort, and filter the data based on
specific criteria.
cont...

• Operation refers to the actions that a computer or other digital


device performs on data or other resources. Examples of
operations include inputting data, processing data, storing data,
retrieving data, and outputting data.
• Organization refers to the arrangement and structure of data or
other resources within a computer system or other digital
environment. Organizing data is important for efficient and
effective data management, as it enables users to locate, access,
and use the data more easily
cont...

• Buffering refers to the temporary storage of data in a


designated area of memory or storage space. It is used to
smooth out variations in data flow or to hold data until it can
be processed or transmitted. Buffering is used in many
different types of applications, including streaming media,
network communication, and data processing.
• Sequential vs. Non-sequential file
Sequential files are files in which records are stored in a
specific order, usually based on their physical location on a
storage device.
Non-sequential files, on the other hand, allow for records to be
accessed in any order, based on a key or other indexing system.
cont...

• Sequential files are often used in applications that involve large


volumes of data, such as financial or inventory systems, while
non-sequential files are used in applications that require fast
and flexible access to data, such as search engines or database
management systems.
CONTENT aNd sTruCTurE Of dirECTOriEs

• The content of a directory is determined by the files and


directories it contains.
• The files can be of different types, such as text files, image
files, video files, etc.
• The directories can also contain sub directories , which in
turn can contain more files and directories.
cont...

• The structure of directories in a file system is typically


represented as a tree, with the root directory at the top and the
sub directories branching off from it.
Each directory in the tree is identified by its name and its
location in the file system. The names of directories and files
must be unique within a given directory, but can be reused in
different directories.

You might also like