Date: Fri, 22 Jun 2007 11:25:50 +0200 From: "Julian H. Stacey" <jhs@berklix.org> To: freebsd-stable@freebsd.org, matrix@itlegion.ru Subject: Re: When inode change time changes? Message-ID: <200706220925.l5M9PovR093323@fire.js.berklix.net> In-Reply-To: <200706220752.l5M7qW8W034358@lurza.secnetix.de> References: <200706220752.l5M7qW8W034358@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706220925.l5M9PovR093323>