* Cygwin support for btime/birth time? Fwd: [PATCH 0/5] fuse: support birth time
[not found] <20230810105501.1418427-1-mszeredi@redhat.com>
@ 2024-01-15 19:34 ` Cedric Blancher
2024-01-16 6:44 ` Cygwin support for btime/birth time? Brian Inglis
0 siblings, 1 reply; 2+ messages in thread
From: Cedric Blancher @ 2024-01-15 19:34 UTC (permalink / raw)
To: cygwin
Good evening!
Does Cygwin support the btime/birth time?
Ced
---------- Forwarded message ---------
From: Miklos Szeredi <mszeredi@redhat.com>
Date: Thu, 10 Aug 2023 at 14:19
Subject: [PATCH 0/5] fuse: support birth time
To: <linux-fsdevel@vger.kernel.org>
Add the infrastructure for btime support in the form of a new STATX
request.
The format of the STATX reply is binary compatible with struct statx on
Linux, but the structure is defined separately in the fuse API for other
OS's.
Currently STATX only supports basic attributes, same as the GETATTR
request, plus btime. But nothing prevents extending support to other
(present and future) statx fields.
---
Miklos Szeredi (5):
fuse: handle empty request_mask in statx
fuse: add STATX request
fuse: add ATTR_TIMEOUT macro
fuse: implement statx
fuse: cache btime
fs/fuse/dir.c | 145 +++++++++++++++++++++++++++++++-------
fs/fuse/fuse_i.h | 15 +++-
fs/fuse/inode.c | 30 ++++++--
fs/fuse/readdir.c | 6 +-
include/uapi/linux/fuse.h | 56 ++++++++++++++-
5 files changed, 218 insertions(+), 34 deletions(-)
--
2.40.1
--
Cedric Blancher <cedric.blancher@gmail.com>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Cygwin support for btime/birth time?
2024-01-15 19:34 ` Cygwin support for btime/birth time? Fwd: [PATCH 0/5] fuse: support birth time Cedric Blancher
@ 2024-01-16 6:44 ` Brian Inglis
0 siblings, 0 replies; 2+ messages in thread
From: Brian Inglis @ 2024-01-16 6:44 UTC (permalink / raw)
To: cygwin
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 <cygwin/stat.h>
$ 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 <sys/stat.h>"
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-16 6:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230810105501.1418427-1-mszeredi@redhat.com>
2024-01-15 19:34 ` Cygwin support for btime/birth time? Fwd: [PATCH 0/5] fuse: support birth time Cedric Blancher
2024-01-16 6:44 ` Cygwin support for btime/birth time? Brian Inglis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).