public inbox for developer@lists.illumos.org (since 2011-08)
 help / color / mirror / Atom feed
* Illumos 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:38 ` Cedric Blancher
  2024-01-15 19:50   ` [developer] " Dan McDonald
  0 siblings, 1 reply; 2+ messages in thread
From: Cedric Blancher @ 2024-01-15 19:38 UTC (permalink / raw)
  To: illumos-dev

Good evening!

Does Illumos 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: [developer] Illumos support for btime/birth time? Fwd: [PATCH 0/5] fuse: support birth time
  2024-01-15 19:38 ` Illumos support for btime/birth time? Fwd: [PATCH 0/5] fuse: support birth time Cedric Blancher
@ 2024-01-15 19:50   ` Dan McDonald
  0 siblings, 0 replies; 2+ messages in thread
From: Dan McDonald @ 2024-01-15 19:50 UTC (permalink / raw)
  To: illumos-developer

On Jan 15, 2024, at 2:38 PM, Cedric Blancher <cedric.blancher@gmail.com> wrote:
> 
> Good evening!
> 
> Does Illumos support the btime/birth time?

We do not have statx, but we do have A_CRTIME for "btime/birth time" in fgetattr(3c) & friends.  It's also filesystem-dependent: tmpfs doesn't have it, but ZFS does.

A modern coreutils version of stat(1) will show this works.

Dan


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-15 19:50 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:38 ` Illumos support for btime/birth time? Fwd: [PATCH 0/5] fuse: support birth time Cedric Blancher
2024-01-15 19:50   ` [developer] " Dan McDonald

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 NNTP newsgroup(s).