On Wed, Oct 20, 2021 at 11:04:31AM +0200, Hanna Reitz wrote:
> On 18.10.21 19:07, Vivek Goyal wrote:
> > On Thu, Sep 16, 2021 at 10:40:34AM +0200, Hanna Reitz wrote:
> > > File handles are specific to mounts, and so name_to_handle_at() returns
> > > the respective mount ID. However,
On 18.10.21 19:07, Vivek Goyal wrote:
On Thu, Sep 16, 2021 at 10:40:34AM +0200, Hanna Reitz wrote:
File handles are specific to mounts, and so name_to_handle_at() returns
the respective mount ID. However, open_by_handle_at() is not content
with an ID, it wants a file descriptor for some inode
On Thu, Sep 16, 2021 at 10:40:34AM +0200, Hanna Reitz wrote:
> File handles are specific to mounts, and so name_to_handle_at() returns
> the respective mount ID. However, open_by_handle_at() is not content
> with an ID, it wants a file descriptor for some inode on the mount,
> which we have to
File handles are specific to mounts, and so name_to_handle_at() returns
the respective mount ID. However, open_by_handle_at() is not content
with an ID, it wants a file descriptor for some inode on the mount,
which we have to open.
We want to use /proc/self/mountinfo to find the mounts' root