LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: Disabled
How to Find File Creation Time


Hello,
ls -i mb1-pearsond.co.in.db05.cfg
275040 mb1-pearsond.co.in.db05.cfg

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
BLOCKS:

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

Rep: Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261
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.
 
  


Reply


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 03:01 AM
command to find the folder creation time in linux forumbala88 Linux - Server 2 04-02-2013 08:56 AM
File Creation Time devUnix Linux - Server 5 03-12-2012 05:18 AM
[SOLVED] Find folder creation time kenneho Linux - Newbie 2 08-24-2009 07:56 AM
how to find time of file creation of a given file??? raklo Linux - General 4 08-13-2007 05:28 AM


All times are GMT -5. The time now is 08:02 AM.

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