From owner-freebsd-stable@FreeBSD.ORG Fri Jun 22 09:57:40 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4966316A46D for ; Fri, 22 Jun 2007 09:57:40 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from thin.berklix.org (thin.berklix.org [194.246.123.68]) by mx1.freebsd.org (Postfix) with ESMTP id CB95713C45E for ; Fri, 22 Jun 2007 09:57:39 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from js.berklix.net (p549A56A3.dip.t-dialin.net [84.154.86.163]) (authenticated bits=128) by thin.berklix.org (8.12.11/8.12.11) with ESMTP id l5M9Q2C2027427; Fri, 22 Jun 2007 11:26:11 +0200 (CEST) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by js.berklix.net (8.13.6/8.13.6) with ESMTP id l5M9PoM6011013; Fri, 22 Jun 2007 11:25:51 +0200 (CEST) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (localhost.js.berklix.net [127.0.0.1]) by fire.js.berklix.net (8.13.8/8.13.8) with ESMTP id l5M9PovR093323; Fri, 22 Jun 2007 11:25:50 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <200706220925.l5M9PovR093323@fire.js.berklix.net> To: freebsd-stable@freebsd.org, matrix@itlegion.ru In-reply-to: <200706220752.l5M7qW8W034358@lurza.secnetix.de> References: <200706220752.l5M7qW8W034358@lurza.secnetix.de> Comments: In-reply-to Oliver Fromme message dated "Fri, 22 Jun 2007 09:52:32 +0200." Date: Fri, 22 Jun 2007 11:25:50 +0200 From: "Julian H. Stacey" Cc: Subject: Re: When inode change time changes? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2007 09:57:40 -0000 Oliver Fromme wrote: > Artem Kuchin wrote: > > Also, i use inode time because i only need files > > which really have been changed. For example, > > i you restore a file from a month ago it will have > > a date which is a month ago. Then that backup > > is destroyed but this file would not be backed up > > because the date is too much in the past. So, we > > loose the file. If i used inode change time the file > > will be backup in any case. However, some > > "stupid" programs like mysql or qmail seem to > > touch files so, > > Pretty much _any_ operation on a file (except reading it) > will update the ctime of the inode. So I'm not surprised > that the ctime of database files and mail files gets > updated often. I was uncertain what & when changed st_ctime st_atime st_mtime when I had to use SCO (ugh!) in 1990, as well as BSD. Not enough source then & there, & manuals were insufficient, so to observe, I wrote http://berklix.com/~jhs/src/bsd/jhs/bin/public/statv/ More tools since, but might still be handy. -- Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com HTML mail unseen. Ihr Rauch=mein allergischer Kopfschmerz. Dump cigs 4 snuff.