Linux Kernel Architecture
Chapter 8: The Virtual Filesystem nameholds the filesystem name as a string (and therefore contains values such asreiserfs,ext3, ...
Chapter 8: The Virtual Filesystem The illustration shows three different filesystems. The global root directory/uses the Ext2 fi ...
Chapter 8: The Virtual Filesystem atomic_t mnt_count; int mnt_expiry_mark; /* true if marked for expiry */ }; mnt_mntpointis the ...
Chapter 8: The Virtual Filesystem A usage counter is implemented withmnt_count. Whenever avfsmountinstance is not required anymo ...
Chapter 8: The Virtual Filesystem struct block_device *s_bdev; struct list_head s_instances; char s_id[32]; /* Informational nam ...
Chapter 8: The Virtual Filesystem Two list heads group together inodes and files associated with the superblock. ❑ s_dirtyis a l ...
Chapter 8: The Virtual Filesystem The operations in the structure do not change the contents of inodes but control the way in wh ...
Chapter 8: The Virtual Filesystem is started. It is invoked only when a filesystem is forced to unmount; in other words, it is o ...
Chapter 8: The Virtual Filesystem It’s worth taking a closer look atdo_new_mountbecause it is used so frequently. Its code flow ...
Chapter 8: The Virtual Filesystem the filesystem in which the directory waspreviouslylocated, that is, before the new mount was ...
Chapter 8: The Virtual Filesystem ❑ Unbindable Mounts— Cannot be cloned through a bind operation. ❑ Private Mounts— essentially ...
Chapter 8: The Virtual Filesystem Another issue arises when all container users are supposed to see devices mounted on/media,for ...
Chapter 8: The Virtual Filesystem If a slave — or a private or unbindable mount — has to be established, the kernel has to rearr ...
Chapter 8: The Virtual Filesystem If the destination mount point is a shared mount, then the new mount and all its submounts nee ...
Chapter 8: The Virtual Filesystem The actual work is delegated todo_umount. ❑ If a superblock-specificumount_beginfunctionisdefi ...
Chapter 8: The Virtual Filesystem This does not seem overly useful at a first glance. What is a filesystem good for if it does n ...
Chapter 8: The Virtual Filesystem 8.4.2 File Operations Operations with complete filesystems are an important aspect of the VFS ...
Chapter 8: The Virtual Filesystem link_path_walkis a front end for the__link_path_walkfunction, which works its way through the ...
Chapter 8: The Virtual Filesystem If the inode defines a specificpermissionmethod, thenexec_permission_lighttells this to the ca ...
Chapter 8: The Virtual Filesystem Implementation ofdo_lookup do_lookupstarts from a path component and thenameidatainstance with ...
«
25
26
27
28
29
30
31
32
33
34
»
Free download pdf