Re: [PATCH v3 0/6] Composefs: an opportunistically sharing verified image filesystem

From: Gao Xiang
Date: Mon Jan 23 2023 - 19:08:26 EST




On 2023/1/22 17:32, Giuseppe Scrivano wrote:
Giuseppe Scrivano <gscrivan@xxxxxxxxxx> writes:


...


How does validation work in EROFS for files served from fscache and that
are on a remote file system?

nevermind my last question, I guess it would still go through the block
device in EROFS.
This is clearly a point in favor of a block device approach that a
stacking file system like overlay or composefs cannot achieve without
support from the underlying file system.

nevermind my last answer,

I was thinking with Amir's advice, you could just use FUSE+overlayfs option
for this. I wonder if such option can meet all your requirements (including
unprivileged mounts) without increasing on-disk formats in kernel to do
unprivileged mounts.

If there are still missing features, you could enhance FUSE or overlayfs.

Thanks,
Gao Xiang