<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://hackepedia.org/index.php?action=history&amp;feed=atom&amp;title=Inode</id>
	<title>Inode - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://hackepedia.org/index.php?action=history&amp;feed=atom&amp;title=Inode"/>
	<link rel="alternate" type="text/html" href="https://hackepedia.org/index.php?title=Inode&amp;action=history"/>
	<updated>2026-05-08T18:39:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://hackepedia.org/index.php?title=Inode&amp;diff=4159&amp;oldid=prev</id>
		<title>Pbug: metadata</title>
		<link rel="alternate" type="text/html" href="https://hackepedia.org/index.php?title=Inode&amp;diff=4159&amp;oldid=prev"/>
		<updated>2008-06-01T13:34:16Z</updated>

		<summary type="html">&lt;p&gt;metadata&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 06:34, 1 June 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The inode is the node of the index of files on a [[filesystem]].  In UFS1 the inode size is 128 bytes, and in UFS2 it is 256 bytes.  The inode contains the following fields (from &#039;&#039;/usr/include/ufs/ufs/dinode.h&#039;&#039;):&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The inode is the node of the index of files on a [[filesystem]].  In UFS1 the inode size is 128 bytes, and in UFS2 it is 256 bytes.  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The inode is what&#039;s considered to be filesystem metadata, it points to real data of a file.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The inode contains the following fields (from &#039;&#039;/usr/include/ufs/ufs/dinode.h&#039;&#039;):&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  struct  ufs1_dinode {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  struct  ufs1_dinode {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pbug</name></author>
	</entry>
	<entry>
		<id>https://hackepedia.org/index.php?title=Inode&amp;diff=1908&amp;oldid=prev</id>
		<title>Pbug at 10:31, 28 October 2005</title>
		<link rel="alternate" type="text/html" href="https://hackepedia.org/index.php?title=Inode&amp;diff=1908&amp;oldid=prev"/>
		<updated>2005-10-28T10:31:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:31, 28 October 2005&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The inode is the node of the index of files on a filesystem.  In UFS1 the inode size is 128 bytes, and in UFS2 it is 256 bytes.  The inode contains the following fields (from &#039;&#039;/usr/include/ufs/ufs/dinode.h&#039;&#039;:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The inode is the node of the index of files on a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;filesystem&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/ins&gt;.  In UFS1 the inode size is 128 bytes, and in UFS2 it is 256 bytes.  The inode contains the following fields (from &#039;&#039;/usr/include/ufs/ufs/dinode.h&#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  struct  ufs1_dinode {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  struct  ufs1_dinode {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pbug</name></author>
	</entry>
	<entry>
		<id>https://hackepedia.org/index.php?title=Inode&amp;diff=464&amp;oldid=prev</id>
		<title>Pbug at 10:30, 28 October 2005</title>
		<link rel="alternate" type="text/html" href="https://hackepedia.org/index.php?title=Inode&amp;diff=464&amp;oldid=prev"/>
		<updated>2005-10-28T10:30:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The inode is the node of the index of files on a filesystem.  In UFS1 the inode size is 128 bytes, and in UFS2 it is 256 bytes.  The inode contains the following fields (from &amp;#039;&amp;#039;/usr/include/ufs/ufs/dinode.h&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
 struct  ufs1_dinode {&lt;br /&gt;
        u_int16_t       di_mode;        /*   0: IFMT, permissions; see below. */&lt;br /&gt;
        int16_t         di_nlink;       /*   2: File link count. */&lt;br /&gt;
        union {&lt;br /&gt;
                u_int16_t oldids[2];    /*   4: Ffs: old user and group ids. */&lt;br /&gt;
                u_int32_t inumber;      /*   4: Lfs: inode number. */&lt;br /&gt;
        } di_u;&lt;br /&gt;
        u_int64_t       di_size;        /*   8: File byte count. */&lt;br /&gt;
        int32_t         di_atime;       /*  16: Last access time. */&lt;br /&gt;
        int32_t         di_atimensec;   /*  20: Last access time. */&lt;br /&gt;
        int32_t         di_mtime;       /*  24: Last modified time. */&lt;br /&gt;
        int32_t         di_mtimensec;   /*  28: Last modified time. */&lt;br /&gt;
        int32_t         di_ctime;       /*  32: Last inode change time. */&lt;br /&gt;
        int32_t         di_ctimensec;   /*  36: Last inode change time. */&lt;br /&gt;
        ufs1_daddr_t    di_db[NDADDR];  /*  40: Direct disk blocks. */&lt;br /&gt;
        ufs1_daddr_t    di_ib[NIADDR];  /*  88: Indirect disk blocks. */&lt;br /&gt;
        u_int32_t       di_flags;       /* 100: Status flags (chflags). */&lt;br /&gt;
        int32_t         di_blocks;      /* 104: Blocks actually held. */&lt;br /&gt;
        int32_t         di_gen;         /* 108: Generation number. */&lt;br /&gt;
        u_int32_t       di_uid;         /* 112: File owner. */&lt;br /&gt;
        u_int32_t       di_gid;         /* 116: File group. */&lt;br /&gt;
        int32_t         di_spare[2];    /* 120: Reserved; currently unused */&lt;br /&gt;
 };&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For further reading see [[permissions]], [[atime]], [[mtime]], [[ctime]].&lt;/div&gt;</summary>
		<author><name>Pbug</name></author>
	</entry>
</feed>