Mount the FAT file system in Linux-Linux Enterprise Application-Linux server application information. For more information, see. The Linux File System looks like a "Inverted tree", and the top layer is "/". The following branches are subdirectories and files. in this case, we have an assumption that if there are two partition, we need to use mount to mount the file in partition2 in partition1 and mount partition2 to a directory in partition1, we know that, whether partition2 is an EXT2, FAT, or iso9660 file system, Linux can access the files in it. Let's think, FAT itself has no I node mechanism, why can anyone access the files in it?
Linux File systems are divided into three parts: Virtual File System Switch (VFS), cache, and underlying File systems (such as EXT2 ). VFS is an external interface of Linux. cache and underlying file systems belong to the internal category of file systems. take the above example of partition2 as a FAT file system. The FAT file system itself does not have the I node mechanism. How does Linux operate it? Assume that VFS goes to file a in open and read FAT, then according to the vfs I node mechanism, VFS must have configured an I node in advance for file, in addition, the read operation information (from where to read, how many bytes to read) and the I node are passed to the FAT node. The FAT node completes the read operation, fills in the I node information, and finally returns the result, even when the FAT file system is attached, the I-node mechanism of VFS can be ensured.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service