Re: [PATCH 0/2] virtio-fs: Add 'file' mount option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux