Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933085AbXBLICP (ORCPT ); Mon, 12 Feb 2007 03:02:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933092AbXBLICP (ORCPT ); Mon, 12 Feb 2007 03:02:15 -0500 Received: from mx2.suse.de ([195.135.220.15]:51462 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933085AbXBLICO (ORCPT ); Mon, 12 Feb 2007 03:02:14 -0500 To: "Jeff Chua" Cc: lkml Subject: Re: [QUESTION] file access time in millisecond? References: From: Andi Kleen Date: 12 Feb 2007 10:02:28 +0100 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 584 Lines: 12 "Jeff Chua" writes: > Is it possible to get file access time in millisecond resolution? > > stat() returns time in seconds, Not correct (at least for glibc stat). It supports nanoseconds these days, although not all file systems (including ext3) do yet. Some of the old stat compat emulations do not. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/