This is in the filesystem metadata. You can see it with 'tune2fs -l <device>' for those filesystems supported by tune2fs.
Maarten Broekman Example: # /sbin/tune2fs -l /dev/sda6 tune2fs 1.35 (28-Feb-2004) Filesystem volume name: / Last mounted on: <not available> Filesystem UUID: c0881a07-bd64-4e5d-a301-c5847e652cf6 Filesystem magic number: 0xEF53 Filesystem revision #: 1 (dynamic) Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super large_file Default mount options: (none) Filesystem state: clean Errors behavior: Continue Filesystem OS type: Linux Inode count: 393600 Block count: 787177 Reserved block count: 39358 Free blocks: 155915 Free inodes: 281041 First block: 0 Block size: 4096 Fragment size: 4096 Reserved GDT blocks: 192 Blocks per group: 32768 Fragments per group: 32768 Inodes per group: 15744 Inode blocks per group: 492 Filesystem created: Wed May 21 12:51:54 2008 Last mount time: Thu Apr 23 11:01:48 2009 Last write time: Thu Apr 23 11:01:48 2009 Mount count: 11 Maximum mount count: -1 Last checked: Wed May 21 12:51:54 2008 Check interval: 0 (<none>) Reserved blocks uid: 0 (user root) Reserved blocks gid: 0 (group root) First inode: 11 Inode size: 128 Journal inode: 8 First orphan inode: 95951 Default directory hash: tea Directory Hash Seed: 383cc8a7-1074-4d72-baae-7c38cfa243e8 Journal backup: inode blocks > -----Original Message----- > From: [email protected] [mailto:rhelv5-list- > [email protected]] On Behalf Of Phusion > Sent: Thursday, October 01, 2009 10:59 AM > To: [email protected] > Subject: [rhelv5-list] Determine number of days since filesystem was > checked? > > How does RHEL5 determine the number of days since filesystems were > last checked? I'm asking because sometimes some of our servers get > this when we reboot them. Is there a file somewhere that keeps track > of this. Let me know. Thanks. > > Phusion > > _______________________________________________ > rhelv5-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/rhelv5-list _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
