delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/25/09:20:04

X-Spam-Check-By: sourceware.org
Message-ID: <46068514.7020008@byu.net>
Date: Sun, 25 Mar 2007 08:20:04 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: James Youngman <jay AT gnu DOT org>
CC: bug-findutils mailing list <bug-findutils AT gnu DOT org>, cygwin AT cygwin DOT com
Subject: Re: Support for st_birthtime
References: <c5df85930703241439k678dc1f9y90b1e8565f9c2a28 AT mail DOT gmail DOT com> <4605AC0A DOT 1000905 AT byu DOT net> <c5df85930703241601l43954ffcp3a478a545171fe6c AT mail DOT gmail DOT com> <4605E9D1 DOT 5010105 AT byu DOT net> <c5df85930703250312n6233fc1rca53aafa71567b3a AT mail DOT gmail DOT com> <c5df85930703250313g26a70d5fg6537f5ffa5a2f2bf AT mail DOT gmail DOT com>
In-Reply-To: <c5df85930703250313g26a70d5fg6537f5ffa5a2f2bf@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to James Youngman on 3/25/2007 4:13 AM:
> On 3/25/07, James Youngman <jay AT gnu DOT org> 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 information?   I think
> MSDOS doesn't record it, for example.  Many NFS filesystems don't
> offer it either.

I haven't tested, partly because it is such a new feature of cygwin, and
there are so few existing programs that even try to expose st_birthtime to
the user.  MSDOS (meaning FAT) actually DOES record birthtime (it only
records birthtime, mtime, and atime, and lacks POSIX ctime; but outside of
cygwin, Microsoft mistakenly treats birthtime as their ctime in stat).
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?

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGBoUU84KuGfSFAYARAizyAJ9WvTTRdPBp/sLcB8UYy9wxmRoS5ACdEsak
4dMluZVRkOCcMlnlb4aQdhY=
=2wBb
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019