[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <151cc130-3584-4b07-96e0-765b7efa43fe@redhat.com>
Date: Thu, 11 Jul 2024 16:27:18 +0200
From: Hanna Czenczek <hreitz@...hat.com>
To: Josef Bacik <josef@...icpanda.com>
Cc: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-doc@...r.kernel.org, virtualization@...ts.linux.dev,
Miklos Szeredi <mszeredi@...hat.com>, German Maglione
<gmaglione@...hat.com>, Stefan Hajnoczi <stefanha@...hat.com>,
Eugenio Pérez <eperezma@...hat.com>,
Jonathan Corbet <corbet@....net>, Vivek Goyal <vgoyal@...hat.com>
Subject: Re: [PATCH 0/2] virtio-fs: Add 'file' mount option
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
Powered by blists - more mailing lists