Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-05-2015, 07:45 AM   #1
Registered: Sep 2012
Location: Bangalore
Posts: 80

Rep: Reputation: Disabled
How to Find File Creation Time

ls -i

debugfs -R 'stat <275037>' /dev/mapper/VGdata-LVdata

debugfs 1.41.12 (17-May-2010)
Inode: 275037 Type: bad type Mode: 0000 Flags: 0x0
Generation: 0 Version: 0x00000000
User: 0 Group: 0 Size: 0
File ACL: 0 Directory ACL: 0
Links: 0 Blockcount: 0
Fragment: Address: 0 Number: 0 Size: 0
ctime: 0x00000000 -- Thu Jan 1 05:30:00 1970
atime: 0x00000000 -- Thu Jan 1 05:30:00 1970
mtime: 0x00000000 -- Thu Jan 1 05:30:00 1970
Size of extra inode fields: 0

I am not able get the file created time, its not showing.
Old 03-05-2015, 07:58 AM   #2
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,714

Rep: Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280
Depends on the filesystem...It only exists under ext4, Btrfs and JFS.

Is this a deleted file?

BTW, you show in the ls inode #275040 but attempt to examine #275037.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to find the file creation time is more than ten minutes murali2489 Linux - Newbie 4 03-05-2015 04:01 AM
command to find the folder creation time in linux forumbala88 Linux - Server 2 04-02-2013 09:56 AM
File Creation Time devUnix Linux - Server 5 03-12-2012 06:18 AM
[SOLVED] Find folder creation time kenneho Linux - Newbie 2 08-24-2009 08:56 AM
how to find time of file creation of a given file??? raklo Linux - General 4 08-13-2007 06:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration