On 11.07.24 10:21, Hanna Czenczek wrote:
On 10.07.24 20:42, Josef Bacik wrote:

[...]

So then the question is, why does it matter what virtiofsd is exposing?  I guess
that's the better question.  The guest shouldn't have to care if it's a
directory or a file right?  The mountpoint is going to be a directory, whatever is backing it shouldn't matter.  Could you describe the exact thing you're
trying to accomplish?  Thanks,

The mount point needs to be of the same mode as the root node of the mounted filesystem, or it’ll be inaccessible after mounting[1].  In this case, I want to export a regular file as the root node, so the root node must be a regular file, too:

Sorry, I meant “[…], so the mount point must be a regular file, too”.

Hanna


Reply via email to