From owner-freebsd-questions@FreeBSD.ORG Tue Aug 17 12:35:49 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E6D416A4CE for ; Tue, 17 Aug 2004 12:35:49 +0000 (GMT) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5D5143D1F for ; Tue, 17 Aug 2004 12:35:48 +0000 (GMT) (envelope-from mi@aldan.algebra.com) Received: from aldan.algebra.com (mi@localhost [127.0.0.1]) by aldan.algebra.com (8.12.11/8.12.11) with ESMTP id i7HCZk3x059798 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 17 Aug 2004 08:35:47 -0400 (EDT) (envelope-from mi@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.12.11/8.12.11/Submit) id i7HCZjAs059797 for questions@FreeBSD.org; Tue, 17 Aug 2004 08:35:45 -0400 (EDT) (envelope-from mi) From: Mikhail Teterin To: questions@FreeBSD.org Date: Tue, 17 Aug 2004 08:35:45 -0400 User-Agent: KMail/1.6.2 X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Subject: web-serving does not update a file's atime? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 12:35:49 -0000 Hello! I tried to use stat(1) to see the last time a file was downloaded through Apache. To my surprise, all three dates displayed by stat are long ago, even though the web-server's log is showing downloads from a just a few hours back. The file-system used to be mounted noatime, but I turned that option off some time ago. If I read one of those files (with head(1) or file(1), for example), the atime is updated. But if Apache serves it out -- it is not... There is no caching in Apache either. Any ideas? Thanks! -mi