{"id":1009,"date":"2020-08-24T20:18:32","date_gmt":"2020-08-24T21:18:32","guid":{"rendered":"http:\/\/www.linux-tutorial.info\/?page_id=1009"},"modified":"2020-08-24T20:18:32","modified_gmt":"2020-08-24T21:18:32","slug":"ext2-directories","status":"publish","type":"page","link":"http:\/\/www.linux-tutorial.info\/?page_id=1009","title":{"rendered":"EXT2 Directories"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"ext2_dir.gif\" alt=\"\"\/><\/figure>\n\n\n\n<p>Figure: EXT2 Directory<br>In the EXT2 file system, directories are special files that are used to create and hold<br>access paths to the files in the file system.<br>Figure\u00a0<a href=\"#ext2fs-dir-figure\"> 9.3<\/a><br>shows the layout of a directory entry in memory.<\/p>\n\n\n\n<p>A directory file is a list of directory entries, each one containing the following<br>information:<strong>inode<\/strong> The inode for this directory entry. This is an index into the array of inodes held in the Inode Table of the Block Group. In figure\u00a0<a href=\"#ext2fs-dir-figure\"> 9.3<\/a>, the directory entry for the file called file has a reference to inode number i1, <strong>name length<\/strong> The length of this directory entry in bytes, <strong>name<\/strong> The name of this directory entry.<\/p>\n\n\n\n<p>The first two entries for every directory are always<br>the standard . and .. entries meaning &#8220;this directory&#8221; and &#8220;the parent<br>directory&#8221; respectively.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Figure: EXT2 DirectoryIn the EXT2 file system, directories are special files that are used to create and holdaccess paths to the files in the file system.Figure\u00a0 9.3shows the layout of a directory entry in memory. A directory file is a &hellip; <a href=\"http:\/\/www.linux-tutorial.info\/?page_id=1009\">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-1009","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=\/wp\/v2\/pages\/1009","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=1009"}],"version-history":[{"count":1,"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=\/wp\/v2\/pages\/1009\/revisions"}],"predecessor-version":[{"id":1010,"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=\/wp\/v2\/pages\/1009\/revisions\/1010"}],"wp:attachment":[{"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}