On Sat, 3 Apr 2021, RVP wrote:
For f_namemax, try a pathconf (which will fail on FUSE-ext2), then return MAXNAMLEN if it fails.
Or, avoid allocating fixed-size structures altogether, and do what other tree-walkers do: copy out the fields of interest, or use ftw(3)/fts(3). But, this means rewriting the libarchive code quite a bit... -RVP
