Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to determine the date/time a file system was created. In particular, I am interested in ReiserFS and JFS. Initially, I considred using the ctime as an indicator, but it turned out not to be a reliable one. Then, I looked into the debugreiserfs and jfs_debugfs utilities, but they did not seem to be able to obtain that information.
Thank you for the link with information on ctime, mtime, and atime, which explains how it is not possible to tell when a file was created in Unix. However, I am trying to determine when a file system, not a file, was created.
I didn't see a date entry using "udevinfo -q all -n /dev/sda1" or using "sudo /usr/sbin/hwinfo --block". Perhaps some filesystems have a date stamp in the structure, but it would depend on the filesystem.
In ext3, I think the only date used is the last time checked.
I am trying to determine when a file system, not a file, was created.
ROTFL. Short read there, my apologies. ReiserFS and XFS I don't know about, but listing the superblock contents in ExtFS (debugfs, tune2fs) shows a "Filesystem created" entry. I doubt it's worth much though (as in "forensically irrefutable").
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.