Linux2.4 the relationship between Vfsmount, installation point dentry, dentry of the device in the file system "turn"

Source: Internet
Author: User

This article was reprinted from: 7566575

1.vfsmount, the relationship between the dentry of the installation point and the dentry of the equipment

(1) One installation point can install multiple devices

(2) One device can be installed on multiple mounting points

The relationship between 2.vfsmount and Vfsmount

The relationship between the 3.vfsmount and the dentry of the mounting point

The picture is too difficult to draw, only write the relationship, see the Notebook

(1) Vfsmount->mnt_mountpoint pointing to the mounting point dentry

(2) The dentry->d_vfsmount of the mounting point points to the queue header of multiple installation structures of the same mounting point

(3) The queue header in the Vfsmount->mnt_clash point (2)

The relationship between 4.vfsmount and the dentry of equipment

(1) Vfsmount->root points to the root directory of the installed device Dentry

(2) Vfsmount->mnt_sb the Super_block of the super block pointing to the installed device

(3) Super_block->s_mounts point to the queue header of the vfsmount that installs the same device

5. The relationship between installation point dentry and device Dentry

(1) There is no direct relationship between them, connected via Vfsmount

(2) Vfsmount->mnt_mountpoint pointing to the mounting point dentry

(3) Vfsmount->mount_root pointing to the dentry of the installed equipment

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced. 7566575

Linux2.4 the relationship between Vfsmount, installation point dentry, dentry of the device in the file system "turn"

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.