[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <31716.1493830216@warthog.procyon.org.uk>
Date: Wed, 03 May 2017 17:50:16 +0100
From: David Howells <dhowells@...hat.com>
To: Jeff Layton <jlayton@...chiereds.net>
Cc: dhowells@...hat.com, viro@...iv.linux.org.uk,
linux-fsdevel@...r.kernel.org, linux-nfs@...r.kernel.org,
linux-kernel@...r.kernel.org, mszeredi@...hat.com
Subject: Re: [RFC][PATCH 0/9] VFS: Introduce mount context
Jeff Layton <jlayton@...chiereds.net> wrote:
> > (*) Move the walk-from-root stuff that nfs has to generic code so that you
> > can do something akin to:
> >
> > mount /dev/sda1:/foo/bar /mnt
> >
> > See nfs_follow_remote_path() and mount_subtree(). This is slightly
> > tricky in NFS as we have to prevent referral loops.
> >
>
> ':' is a legitimate character in a path component. How will you
> distinguish that case?
Fair point. Could instead do something like:
mount /dev/sda1 /mnt -o subroot=/foo/bar
or just limit it to the fsopen interface.
David
Powered by blists - more mailing lists