LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: "Jeff Chua" <jeff.chua.linux@gmail.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [QUESTION] file access time in millisecond?
Date: Mon, 12 Feb 2007 10:56:03 +0100	[thread overview]
Message-ID: <200702121056.03467.ak@suse.de> (raw)
In-Reply-To: <b6a2187b0702120152s1279b931x813413a4234d8dec@mail.gmail.com>

On Monday 12 February 2007 10:52, Jeff Chua wrote:
> On 12 Feb 2007 10:02:28 +0100, Andi Kleen <ak@suse.de> wrote:
> 
> > > 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.
> 
> I'm using gcc-3.4.5, and glibc-2.3.6. Don't think 2.3.6 stat() support
> that ... 

It should be always available in padding, even on older glibc. Given a sufficiently
new kernel. The bigger problem is getting a file system that supports it.

> at least the man page doesn't indicate so. 

Manpages are often outdated.

-Andi

  reply	other threads:[~2007-02-12  9:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-12  7:27 Jeff Chua
2007-02-12  8:01 ` Arjan van de Ven
2007-02-12  9:24   ` Jeff Chua
2007-02-12  9:02 ` Andi Kleen
2007-02-12  9:52   ` Jeff Chua
2007-02-12  9:56     ` Andi Kleen [this message]
2007-02-12 18:55       ` Jeff Chua
2007-02-12 10:01     ` Miquel van Smoorenburg
2007-02-12 18:58       ` Jeff Chua

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200702121056.03467.ak@suse.de \
    --to=ak@suse.de \
    --cc=jeff.chua.linux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: [QUESTION] file access time in millisecond?' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).