X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C0B173858C98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1705387507; bh=UvIT/SSutqzxlL9ZNu3Rjf28d+E77D6gsRJEICiziuw=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=EfxqD3ybzMxgVAWbK9lkt0nXUROgWYRcl27M9g50UBsuAnRDY/wj19xC8fnO9/pWP 0ETTr7/JYym5ClMl2CiK8PGhEKAohjukvJQ7/FUtaulTf0FGTyIKkXfg/rl0ISgRpd 0oPbLYgbO0OoUfUafkcQP2dnfuyxpDoajDJ3He0o= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 20F403858D1E ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 20F403858D1E ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705387448; cv=none; b=fZbuxTYE5Vr/ZlmX7/NXDNvodFSyQw9WFfCwJ4fkBUi/GtVYe7lqatatOHBkp088qGjTxSG5qKpoMfOvL8qj3CpvlEOM2rL8swCFDc4PuQPU6Mr4jjTs1dlMA0yIKDGItqvxUg9iqNrLXilX/+uRn0baxir43bydBdR7NZJkeow= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705387448; c=relaxed/simple; bh=XVfhkYQwNYacEZhl400UpmnYIeOqS3pJXF6HXUI0KmE=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=CV5j0D6n3X9IMld0BPlvFv/+/NYKj8k8xusuzmnkzRrhjGbxNRuZ48oaB7y1cLI5h9q51iUNVbibRxpxbGPj/RYf79ye6uqIY1fq57eV5+Ap5a7ZGaNR9Ap6fpJKBhWM71vp2wvzbbx+wHWM6SFhoJyL1eoDIm2d7huyomb2gJA= ARC-Authentication-Results: i=1; server2.sourceware.org Message-ID: <5aaa0d7f-558e-4c1f-8115-5d346c2b8c09@SystematicSW.ab.ca> Date: Mon, 15 Jan 2024 23:44:04 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Cygwin support for btime/birth time? Content-Language: en-CA To: cygwin AT cygwin DOT com References: <20230810105501 DOT 1418427-1-mszeredi AT redhat DOT com> Organization: Systematic Software In-Reply-To: X-Rspamd-Queue-Id: 13C7430 X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Stat-Signature: pa7bdkossqtskzp7b8zpz5i9m3ytkrob X-Rspamd-Server: rspamout04 X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361 X-Session-ID: U2FsdGVkX1+hvWkZK7bnb5QnsPLs1MPOdX/t6RCDiVU= X-HE-Tag: 1705387444-571824 X-HE-Meta: U2FsdGVkX1++V+PDpEuZR0siO5uryWbcfXXQhgOsiLY0Vq7JMrVR2EMigQHCCg5FG3rAEQjmdi9bz/eUOXfsv9pp9XEQQvB0mE1D4mv0Np6YtKrgUmJn6KwjiCsQQ+04ZIKN64usPvXaFnQ/Q2+/6hSBMDLWxjnz47RqVyNWTzAakdTlEh17bjo+StU7Y1yNlV0UPhJfdb7cGd67dQWgw46jg2FWSKCchUmi8xxWBs9Nh31JOZExW5vDG9Zuv/OAh+KWmXtpYUh8y+WL8jxCx2WS+HoWtu0MBKq5C4ZiSLrHf2ilLzoSfFVua8VYiygo X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 40G6jAaR026937 On 2024-01-15 12:34, Cedric Blancher via Cygwin wrote: > Does Cygwin support the btime/birth time? $ stat /bin/cygwin1.dll File: /bin/cygwin1.dll Size: 2954293 Blocks: 2888 IO Block: 65536 regular file Device: 60997,17217 Inode: 2533274790402854 Links: 1 ... Access: 2024-01-15 23:25:48.044890100 -0700 Modify: 2023-11-29 05:20:00.000000000 -0700 Change: 2023-12-15 11:11:24.000010700 -0700 Birth: 2023-12-15 11:11:23.930989200 -0700 $ stat -t /bin/cygwin1.dll /bin/cygwin1.dll 2954293 2888 81ed ... ee454341 2533274790402854 1 0 0 1705387136 1701260400 1702663884 1702663883 65536 $ stat -c %W\ %w /bin/cygwin1.dll 1702663883 2023-12-15 11:11:23.930989200 -0700 $ grep stat.h /usr/include/sys/stat.h #include $ grep 'stat\|b.*tim' /usr/include/cygwin/stat.h /* cygwin/stat.h struct stat timestruc_t st_birthtim; #define st_birthtime st_birthtim.tv_sec As per docs, "#include " -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple