I have now checked into the findutils repository CVS code changes
supporting file birth time. The increased functionality should be
available on systems supporting st_birthtime, including BSD and
Cygwin. Attempting to use the new features generates either an error
message when the OS doesn't su
On 3/26/07, Eric Blake <[EMAIL PROTECTED]> wrote:
Corinna only replied to the cygwin list. It looks like Windows will
populate st_birthtime with st_ctime when reading filesystems that don't
support birthtime. This is a bit yucky, as it adds to the problem wrongly
being perpetuated by Microsoft
Eric Blake [EMAIL PROTECTED]
- Original Message
Subject: Re: Support for st_birthtime
Date: Mon, 26 Mar 2007 11:00:53 +0200
From: Corinna Vinschen
On Mar 25 21:28, James Youngman wrote:
> On 3/25/07, Eric Blake <[EMAIL PROTECTED]> wrote:
> >And part of
On 3/25/07, Eric Blake <[EMAIL PROTECTED]> wrote:
And part of the joy of it being a CVS development snapshot is that I can
give some feedback back to the cygwin developers - what would you rather
have stat do when btime is not available for a given file?
Set tv_sec to 0, and tv_nsec to UTIME_OM
James Youngman wrote:
> this is a change which I cannot test since I
> have no Woe32 system. I will push the change into findutils (instead
> of using it indirectly in gnulib) and test it there for a bit.
On the contrary, pushing the change into gnulib will make testing easier:
If you provide a u
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to James Youngman on 3/25/2007 4:13 AM:
> On 3/25/07, James Youngman <[EMAIL PROTECTED]> wrote:
>> > st_birthtime (for seconds), or st_birthtim (for struct timespec)
>> > http://cygwin.com/ml/cygwin-cvs/2007-q1/msg00122.html
>
> I forgot to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to James Youngman on 3/25/2007 4:12 AM:
>
> +#ifdef __CYGWIN_USE_BIG_TYPES__
> + timestruc_t st_birthtim;
> +#else
> long st_spare4[2];
> +#endif
>
> Why not give st_spare4 a name more reminiscent of its actual purpose?
Becau
On 3/25/07, Bruno Haible <[EMAIL PROTECTED]> wrote:
This is Paul's domain; nevertheless I'd like to mention that native Woe32
platforms (mingw, msvc, but not Cygwin) implementation of stat() and
fstat() store the "file creation time" in st_ctime. This is even documented
on msdn.microsoft.com. The
On 3/25/07, James Youngman <[EMAIL PROTECTED]> wrote:
> st_birthtime (for seconds), or st_birthtim (for struct timespec)
> http://cygwin.com/ml/cygwin-cvs/2007-q1/msg00122.html
I forgot to ask, what happens (from the user program's point of view)
if the file being examined has no creation time
On 3/25/07, Eric Blake <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to James Youngman on 3/24/2007 5:01 PM:
>> > I have recently been working on support for st_birthtime. This is a
>> > UFS2 feature present in several versions o
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to James Youngman on 3/24/2007 5:01 PM:
>> > I have recently been working on support for st_birthtime. This is a
>> > UFS2 feature present in several versions of BSD.
>>
>> It was also recently added to CVS cyg
On 3/24/07, Eric Blake <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to James Youngman on 3/24/2007 3:39 PM:
> All,
>
> I have recently been working on support for st_birthtime. This is a
> UFS2 feature present in several versions of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to James Youngman on 3/24/2007 3:39 PM:
> All,
>
> I have recently been working on support for st_birthtime. This is a
> UFS2 feature present in several versions of BSD.
It was also recently added to CVS cygwin, since the NTF
All,
I have recently been working on support for st_birthtime. This is a
UFS2 feature present in several versions of BSD.
The only system I have available for testing is NetBSD, and
unfortunately the implementation there seems to be buggy. Filesystems
which lack suport for st_birthtime are
Apologies if I have something signficant wrong; it's my first
nontrivial gnulib patch.
2007-03-24 James Youngman <[EMAIL PROTECTED]>
* lib/stat-time.h (get_stat_birthtime): New function for
retrieving st_birthtime as provided by UFS2 (hence *BSD).
* m4/stat-time.m4 (g
15 matches
Mail list logo