I would like to create a FUSE file system to mount tape archives. To do this correctly, I need to be able to supply replies to two pathconf
keys, specifically _PC_NAME_MAX
and _PC_PATH_MAX
. It seems that FUSE takes the answer for the _PC_NAME_MAX
key from the statfs
function you provide, but I haven't found a way to set _PC_PATH_MAX
. Is there a way to configure the answer to _PC_PATH_MAX
? Is there in general a way to supply an answer to any pathconf
call?
Further research indicates that this is not possible with FUSE at all. What a sad excuse for an API.