天天看點

linux檢視檔案建立時間

linux檢視檔案建立時間

===========================================================================

stat沒法看到檔案的建立時間

linux檢視檔案建立時間

看inode裡面對應的結構體, 沒有記錄 crtime!

linux檢視檔案建立時間

vfs的inode 一般來說 元素會比具體的fs 多很多 

linux檢視檔案建立時間

具體fs的 inode一般會是vfs inode的子集  當然 還有其他一些元素

linux檢視檔案建立時間

large_inode很棒...

linux檢視檔案建立時間

這兒有crtime...

linux檢視檔案建立時間

參考:

<a target="_blank" href="http://stackoverflow.com/questions/5929419/how-to-get-file-creation-date-in-linux">http://stackoverflow.com/questions/5929419/how-to-get-file-creation-date-in-linux</a>

<a target="_blank" href="http://unix.stackexchange.com/questions/24441/get-file-created-creation-time">http://unix.stackexchange.com/questions/24441/get-file-created-creation-time</a>

福利://源碼閱讀器

<a target="_blank" href="http://www.ibm.com/developerworks/cn/linux/l-tip-prompt/tip17/">http://www.ibm.com/developerworks/cn/linux/l-tip-prompt/tip17/</a>

繼續閱讀