{"id":428,"date":"2020-08-18T19:23:47","date_gmt":"2020-08-18T20:23:47","guid":{"rendered":"http:\/\/www.linux-tutorial.info\/?page_id=77"},"modified":"2020-08-22T19:26:40","modified_gmt":"2020-08-22T20:26:40","slug":"this-is-the-page-title-toplevel-261","status":"publish","type":"page","link":"http:\/\/www.linux-tutorial.info\/?page_id=428","title":{"rendered":"The VFS Inode"},"content":{"rendered":"\n<title>The VFS Inode<\/title>\n<p>\nLike the EXT2 file system, every file, directory and so on in the VFS is represented\nby one and only one VFS inode.\n<p>\nThe information in each VFS inode is built from information in the underlying file system\nby file system specific routines.\nVFS inodes exist only in the kernel&#8217;s memory and are kept in the VFS inode cache\nas long as they are useful to the system.\nAmongst other information, VFS inodes contain the following fields:\n<dl compact>\n<p>\n\t<dt><b>device<\/b><\/dt><dd> This is the device identifer of the device holding the file or whatever\n\t\tthat this VFS inode represents,\n\t<dt><b>inode number<\/b><\/dt><dd> This is the number of the inode and is unique within this file system.\n\t\tThe combination of <tt>device<\/tt> and <tt>inode number<\/tt> is unique within the Virtual\n\t\tFile System,\n\t<dt><b>mode<\/b><\/dt><dd> Like EXT2 this field describes what this VFS inode represents as well\n\t\tas access rights to it,\n\t<dt><b>user ids<\/b><\/dt><dd> The owner identifiers,\n\t<dt><b>times<\/b><\/dt><dd> The creation, modification and write times,\n\t<dt><b>block size<\/b><\/dt><dd> The size of a block for this file in bytes, for example 1024 bytes,\n\t<dt><b>inode operations<\/b><\/dt><dd> A pointer to a block of routine addresses.  These routines\n\t\tare specific to the file system and they perform operations for this inode, for\n\t\texample, truncate the file that is represented by this inode.\n\t<dt><b>count<\/b><\/dt><dd> The number of system components currently using this VFS inode.  A count of zero means that the inode is free to be discarded or reused,\n\t<dt><b>lock<\/b><\/dt><dd> This field is used to lock the VFS inode, for example, when it is being  read from the file system,\n\t<dt><b>dirty<\/b><\/dt><dd> Indicates whether this VFS inode has been written to, if so the\n\t\tunderlying file system will need modifying,\n\t<dt><b>file system specific information<\/b><\/dt><dd>\n<\/dl>\n<p>\n","protected":false},"excerpt":{"rendered":"<p>The VFS Inode Like the EXT2 file system, every file, directory and so on in the VFS is represented by one and only one VFS inode. The information in each VFS inode is built from information in the underlying file &hellip; <a href=\"http:\/\/www.linux-tutorial.info\/?page_id=428\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-428","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=\/wp\/v2\/pages\/428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=428"}],"version-history":[{"count":1,"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=\/wp\/v2\/pages\/428\/revisions"}],"predecessor-version":[{"id":759,"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=\/wp\/v2\/pages\/428\/revisions\/759"}],"wp:attachment":[{"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}