Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-council
Navigation:
Lists: gentoo-council: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Ciaran McCreesh <ciaran.mccreesh@...>
From: Zac Medico <zmedico@g.o>
Subject: Re: Re: mtime preservation
Date: Wed, 04 Nov 2009 21:54:43 -0800
Ciaran McCreesh wrote:
> On Wed, 04 Nov 2009 13:12:37 -0800
> Zac Medico <zmedico@g.o> wrote:
>>> So far as I can see, if they're fully supported on both filesystems,
>>> Portage sometimes preserves nanosecond-resolution timestamps and
>>> sometimes doesn't. So, requiring nanosecond-resolution timestamp
>>> preservation where possible will need Portage changes.
>> I think it always preserves them, as long as you have at least
>> python-2.5 since that is required for floating-point mtime support.
> 
> Mm, I can't see the code for that. So far as I can see, for the
> non-fast case you're using stat.st_mtime and os.utime, which assuming
> they correspond to the POSIX things of the same name, are
> second-resolution. What am I missing?

Ah, I guess you're right. The documentation led me to believe that
os.utime would provide nanosecond-resolution on platforms that
support it, but a simple test case seems to indicate that it does not.
-- 
Thanks,
Zac
Attachment:
utime_test.py (Text Data)
Replies:
Re: Re: mtime preservation
-- Ulrich Mueller
References:
Agenda (draft) for November meeting 2009-11-09
-- Ulrich Mueller
Re: Agenda (draft) for November meeting 2009-11-09
-- Ciaran McCreesh
mtime preservation (was: Agenda (draft) for November meeting 2009-11-09)
-- Ulrich Mueller
Re: mtime preservation (was: Agenda (draft) for November meeting 2009-11-09)
-- Ciaran McCreesh
Re: Re: mtime preservation
-- Zac Medico
Re: Re: mtime preservation
-- Ciaran McCreesh
Navigation:
Lists: gentoo-council: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: mtime preservation
Next by thread:
Re: Re: mtime preservation
Previous by date:
Re: Re: mtime preservation
Next by date:
Re: Re: mtime preservation


Updated Nov 13, 2011

Summary: Archive of the gentoo-council mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.