From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Irene A. Shilikhina" Newsgroups: gmane.os.tru64.managers Subject: Can fsck change ctime of an inode? Date: Mon, 10 Feb 2003 17:48:14 +0600 (NSK) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1044877617 1188 80.91.224.249 (10 Feb 2003 11:46:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 10 Feb 2003 11:46:57 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18iCOk-0000Iu-00 for ; Mon, 10 Feb 2003 12:46:54 +0100 Original-Received: (qmail 22156 invoked by uid 5); 10 Feb 2003 11:48:52 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 22147 invoked by uid 49493); 10 Feb 2003 11:48:51 -0000 Original-Received: from irene@alpha.iae.nsk.su by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.2/5.0):. Processed in 0.380325 secs); 10 Feb 2003 11:48:51 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 10 Feb 2003 11:48:51 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HA300DOWCTEIK@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 10 Feb 2003 06:48:50 -0500 (EST) Original-Received: from alpha.iae.nsk.su (alpha.iae.nsk.su [193.124.169.61]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HA30073PCSG13@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 10 Feb 2003 06:48:44 -0500 (EST) Original-Received: (from irene@localhost) by alpha.iae.nsk.su (8.9.3/8.9.3) id RAA08039; Mon, 10 Feb 2003 17:48:15 +0600 (NSK) Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:3271 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3271 I suddenly discovered that old directories (older than 5 days) in /var/adm/syslog.dated remained where they were. I made sure that the crontab was submitted and it contained an appropriate line: 40 4 * * * find /var/adm/syslog.dated -depth -type d -ctime +5 -exec rm -rf {} \; Then I ran 'find /var/adm/syslog.dated -type d -ctime +5' by hand and, much to my surprise, the output was empty. But 'mtime' instead of 'ctime' gave what I expected. At this point it occured to me that this server had experienced crash (with panic 'kernel memory fault'). It happened 9 days ago. I removed them anyhow, and 'find' with -ctime +1, +2, +3 , +4 gives the right result. Is it possible that fsck after the crash 'cured' these directories so that ctime in their inodes changed? At boot time my eye had not enough time to catch all the messages on the screen. Thanks, Irene ************************************************************************* * * * Irene A. Shilikhina e-mail: irene@alpha.iae.nsk.su * * System administrator, * * Institute of Automation & Electrometry, * * Siberian Branch of Russian Academy of Sciences, * * Novosibirsk, Russia * * http://www.iae.nsk.su/~irene * ************************************************************************* * * * The road to hell is paved with good intentions. * * * *************************************************************************