The origin of the initiation file Is a pair of hexadecimal data stored on the disk, how to split the data into different files, that is, how to determine the start and end positions of a file? Package relevant data together to form a file, such as where to start and where to end, a picture, a text, a video, and configure an FCB for each package file, similar to PCB FCB stored on disk. Record file name, file the starting position, the end position of the information By file name matches the FCB of files, through the name as retrieval, query the file information, such as file storage location The origin of the directory Each file has FCB counterpart of a collection of FCB repackaged into a file, Form a directory file (other file cover), other documents is called a normal file, such as pictures, video, document operating system boot, the directory file read into memory, can users see the file structure file management logic diagram file system consists of two parts of files and directories File: logical structure data organization? How to pack? Directories: How do you store data that is physically organized? FCB Packaging To Form a directory Physical structure: How to store organized data? Chatty file systems There are many types of operating systems, file systems, and storage. Generally speaking, Win and Linux have the methods and principles of that file system. Operating systems: Unix, Linux, Windows, Android, ios, MacOS File system: Ext, NTFS(WIN), APFS(MAC), FAT, YFFS, and JFFS Memory: Hard disk, CD, tape, and Flash (SOLID state disk, USB disk, and cloud disk) file system basic composition = file + directory; Make disk data storage, management, search more convenient and user-friendly ———————————————— The original link: blog.csdn.net/CHYabc12345…