[LSF/MM/BPF TOPIC] statx attributes
Steve French
smfrench at gmail.com
Thu Mar 7 05:36:39 UTC 2024
Following up on a discussion a few years ago about missing STATX
attributes, I noticed a case recently where some tools on other OS
have an option to skip offline files (e.g. the Windows equivalent of
grep, "findstr", and some Mac tools also seem to do this).
This reminded me that there are a few additional STATX attribute flags
that could be helpful beyond the 8 that are currently defined (e.g.
STATX_ATTR_COMPRESSED, STATX_ATTR_ENCRYPTED, STATX_ATTR_NO_DUMP,
STATX_ATTR_VERITY) and that it be worthwhile revisiting which
additional STATX attribute flags would be most useful.
"offline" could be helpful for fuse and cifs.ko and probably multiple
fs to be able to report, but there are likely other examples that
could help various filesystems.
--
Thanks,
Steve
More information about the samba-technical
mailing list