Re: [RFC][PATCH 0/9] VFS: Introduce mount context

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

 



Jeff Layton <jlayton@xxxxxxxxxxxxxxx> 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



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