<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.ivanovic.nz/index.php?action=history&amp;feed=atom&amp;title=Linux%2FAgnostic</id>
		<title>Linux/Agnostic - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.ivanovic.nz/index.php?action=history&amp;feed=atom&amp;title=Linux%2FAgnostic"/>
		<link rel="alternate" type="text/html" href="https://wiki.ivanovic.nz/index.php?title=Linux/Agnostic&amp;action=history"/>
		<updated>2026-04-17T14:06:26Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>https://wiki.ivanovic.nz/index.php?title=Linux/Agnostic&amp;diff=60&amp;oldid=prev</id>
		<title>Milosivanovic: Created page with &quot;== Finding out file creation time == Only available on &lt;strong&gt;ext4&lt;/strong&gt;.&lt;br /&gt; Use the &lt;code&gt;stat&lt;/code&gt; command - the file creation time will be denoted as the &lt;code&gt;Bir...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ivanovic.nz/index.php?title=Linux/Agnostic&amp;diff=60&amp;oldid=prev"/>
				<updated>2015-01-16T03:01:33Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Finding out file creation time == Only available on &amp;lt;strong&amp;gt;ext4&amp;lt;/strong&amp;gt;.&amp;lt;br /&amp;gt; Use the &amp;lt;code&amp;gt;stat&amp;lt;/code&amp;gt; command - the file creation time will be denoted as the &amp;lt;code&amp;gt;Bir...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Finding out file creation time ==&lt;br /&gt;
Only available on &amp;lt;strong&amp;gt;ext4&amp;lt;/strong&amp;gt;.&amp;lt;br /&amp;gt;&lt;br /&gt;
Use the &amp;lt;code&amp;gt;stat&amp;lt;/code&amp;gt; command - the file creation time will be denoted as the &amp;lt;code&amp;gt;Birth&amp;lt;/code&amp;gt; time.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@milos-debian:~# stat .bashrc&lt;br /&gt;
  File: `.bashrc&amp;#039;&lt;br /&gt;
  Size: 570             Blocks: 8          IO Block: 4096   regular file&lt;br /&gt;
Device: fe01h/65025d    Inode: 391924      Links: 1&lt;br /&gt;
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)&lt;br /&gt;
Access: 2015-01-16 01:05:05.172328004 +1300&lt;br /&gt;
Modify: 2010-02-01 00:52:26.000000000 +1300&lt;br /&gt;
Change: 2014-10-27 16:41:41.178458115 +1300&lt;br /&gt;
 Birth: -&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it shows up as &amp;lt;code&amp;gt;&amp;amp;mdash;&amp;lt;/code&amp;gt; (as above), then the &amp;lt;code&amp;gt;stat&amp;lt;/code&amp;gt; command does not yet support getting this information from the kernel. Thankfully, you can still get the birth time using &amp;lt;code&amp;gt;debugfs&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;debugfs -R &amp;#039;stat &amp;lt;inode_number&amp;gt;&amp;#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;The angle quotes, &amp;lt; and &amp;gt;, are required!&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Find the file&amp;#039;s inode number (&amp;lt;code&amp;gt;ls -li &amp;lt;file&amp;gt;&amp;lt;/code&amp;gt;):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@milos-debian:~# ls -li .bashrc&lt;br /&gt;
391924 -rw-r--r-- 1 root root 570 Feb  1  2010 .bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And then use it:&lt;br /&gt;
&amp;lt;pre&amp;gt;root@milos-debian:~# debugfs -R &amp;#039;stat &amp;lt;391924&amp;gt;&amp;#039; /dev/vda1&lt;br /&gt;
Inode: 391924   Type: regular    Mode:  0644   Flags: 0x80000&lt;br /&gt;
Generation: 2468252752    Version: 0x00000000:00000001&lt;br /&gt;
User:     0   Group:     0   Size: 570&lt;br /&gt;
File ACL: 0    Directory ACL: 0&lt;br /&gt;
Links: 1   Blockcount: 8&lt;br /&gt;
Fragment:  Address: 0    Number: 0    Size: 0&lt;br /&gt;
 ctime: 0x544dbef5:2a8c380c -- Mon Oct 27 16:41:41 2014&lt;br /&gt;
 atime: 0x54b7acf1:29161110 -- Fri Jan 16 01:05:05 2015&lt;br /&gt;
 mtime: 0x4b656efa:00000000 -- Mon Feb  1 00:52:26 2010&lt;br /&gt;
crtime: 0x544dbef5:2a8c380c -- Mon Oct 27 16:41:41 2014&lt;br /&gt;
Size of extra inode fields: 28&lt;br /&gt;
EXTENTS:&lt;br /&gt;
(0):1606693&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Milosivanovic</name></author>	</entry>

	</feed>