On 2024/6/21 14:18, Hongbo Li wrote:
Erofs over fscache depands on the config CONFIG_EROFS_FS_ONDEMAND in erofs. There is no way to check whether this feature is supported or not in userspace. We introduce sysfs file `erofs_ondemand` for user checking current features. Here is the example: [Before] $ cat /sys/fs/erofs/features/erofs_ondemand cat: /sys/fs/erofs/features/erofs_ondemand: No such file or directory [After] $ cat /sys/fs/erofs/features/erofs_ondemand supported Signed-off-by: Hongbo Li <[email protected]>
Similar here, I guess you could pass in any `fsid` mount option and check the return value instead. Thanks, Gao Xiang
