Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the functions of the file system in the operating system

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you what the functions of the file system in the operating system include, I believe most people do not know much about it, so share this article for your reference, I hope you will learn a lot after reading this article. Let's learn about it!

In the operating system, the main purpose of the file system is to "access files by name". The file system is the method and data structure used by the operating system to explicitly store the files on the device or partition; the file system implements "access by name", so that the file can be accessed as long as the file name is known, regardless of where the file is stored on disk.

In the operating system, the main purpose of the file system is to "access files by name".

A file system is a method and data structure used by the operating system to identify files on storage devices (usually disks, but also NAND Flash-based solid state drives) or partitions; that is, methods of organizing files on storage devices.

The software organization responsible for managing and storing file information in the operating system is called the file management system, referred to as the file system.

The file system specifies the rules for naming files. These rules include the maximum number of characters for a file name, which characters can be used, and how long the file name suffix can be on some systems. The file system also includes a format for finding the specified path to the file through the directory structure.

The file system consists of three parts: the interface of the file system, the set of software to manipulate and manage objects, objects and properties.

The file system is a part of the software system, and its existence makes it easy for applications to use abstract named data objects and variable size space.

From the system point of view, the file system is a system that organizes and allocates the space of file storage devices, is responsible for file storage and protects and retrieves stored files. Specifically, it is responsible for creating files for users, modifying files, accessing files, transferring files, deleting files that users do not need, and so on.

From the user's point of view, the file system implements "access by name". As long as you know the file name, you can access the file, regardless of where the file is stored on disk.

The features of the file system include:

Manage and schedule the storage space of the file, provide the logical structure, physical structure and storage method of the file, realize the mapping of the file from the identification to the actual address, realize the control operation and access operation of the file, realize the sharing of file information and provide reliable file secrecy and protection measures, and provide file security measures.

The logical structure of a document is to organize the file structure according to the logical relationship of the content of the document. The logical structure of files can be divided into streaming files and recording files.

Streaming file: the data in the file is a string of character streams and has no structure.

Record file: consists of several logical records, each of which consists of the same data item, the length of which can be fixed or uncertain.

Common file system types

FAT

Under Win 9X, the maximum partition supported by FAT16 is 2GB. We know that computers store information in an area on the hard disk called "clusters". The smaller the cluster you use, the more efficient it is to save information. In the case of FAT16, the larger the partition is, the larger the cluster is, and the lower the storage efficiency is, which is bound to cause a waste of storage space. And with the continuous improvement of computer hardware and applications, the FAT16 file system can not meet the requirements of the system. In this case, an enhanced file system FAT32 is introduced.

NTFS

NTFS file system is a security-based file system, which is a unique file system structure adopted by Windows NT. It is an advanced file system based on protecting files and directory data, while saving storage resources and reducing disk usage. Windows NT 4.0, which is widely used, uses the NTFS 4.0 file system. I believe that the powerful system security it brings must have left a deep impression on the majority of users. Win 2000 uses the updated version of NTFS file system NTFS 5.0.It not only enables users to operate and manage computers as conveniently and quickly as Win 9X, but also enjoys the system security brought by NTFS.

ExFAT

The full name Extended File Allocation Table File System, extended FAT, that is, extended file allocation table, is a file system suitable for flash memory introduced by Microsoft above Windows Embeded 5.0 (including Windows CE 5.0,6.0,6,6.1). It is introduced to solve the problem that FAT32 and other files do not support 4G and larger files.

RAW

RAW file system is a kind of file system produced by unprocessed or unformatted disk. Generally speaking, there are several kinds of file system that may cause normal file system to become RAW file system: no formatting, canceling operation in the middle of formatting, bad track on hard disk, unpredictable error on hard disk, poison.

The fastest way to solve the RAW file system is to format it immediately and use antivirus software to kill all viruses. Of course, if the file is very important, you can use Mini Rabbit data recovery software to save the data first, and then format and antivirus.

Ext

Ext2:Ext is a standard file system in GNU/Linux system, which is characterized by excellent performance of accessing files and showing advantages for small and medium-sized files, which is mainly beneficial to the excellent design of its cluster cache layer.

Ext3: is a journal file system, is an extension of the ext2 system, it is compatible with ext2. The advantage of the journal file system is that because the file system has a cache layer to participate in the operation, if it is not in use, the file system must be unloaded in order to write the data of the cache layer back to disk. Therefore, whenever the system is about to shut down, all its file systems must be shutdown before it can be shut down.

Ext4:Linux kernel has officially supported the new file system Ext4 since 2.6.28. Ext4 is an improved version of Ext3 that modifies some of the important data structures in Ext3, rather than just adding a logging function as Ext3 did to Ext2. Ext4 can provide better performance and reliability, as well as richer features.

HFS

Hierarchical File system (Hierarchical File System,HFS) is a file system developed by Apple computer and used on Mac OS. Originally designed for floppy and hard disks, it can also be seen on read-only media such as CD-ROM.

The above is all the contents of the article "what are the functions of the file system in the operating system". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report