Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How can I find out when a UFS filesystem was created on a Solaris 8 machine?

share|improve this question
add comment

2 Answers

You could perhaps look at when the block devices were created by running "ls -lrt /dev/dsk". You can also check the parameters used to create a ufs file system by running mkfs -m against the raw device, for example "mkfs -m /dev/rdsk/c0t0d0s4"

hth.

share|improve this answer
add comment

You can't tell the date of a filesystem, but you can try to search for the oldest files on it... typically /lost+found

ls -lat /lost+found

share|improve this answer
    
Not a bad idea for a "not later than" bound on creation date, but it's guaranteed to be wrong in terms of actual creation date. No file system is created with files in /lost+found, as that would partially defeat the purpose of the directory. If there are any files in it, they'll date no earlier than the first time the file systems was made dirty, fscked, and detached inodes were found. –  MadHatter Sep 9 '11 at 7:47
2  
I was not refering to files in lost+found but the lost+found folder itself, as it's a file it has a date. –  Gopoi Dec 26 '11 at 9:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.