bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Support for st_birthtime


From: James Youngman
Subject: Re: Support for st_birthtime
Date: Sun, 25 Mar 2007 10:12:13 +0000

On 3/25/07, Eric Blake <address@hidden> 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 of BSD.
>>
>> It was also recently added to CVS cygwin, since the NTFS filesystem also
>> supports birthtime.
>
> Excellent.  Which struct stat field is this in?  st_spare99? :)

st_birthtime (for seconds), or st_birthtim (for struct timespec)
http://cygwin.com/ml/cygwin-cvs/2007-q1/msg00122.html
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/stat.h.diff?cvsroot=src&r1=1.8&r2=1.9

+#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?

James.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]