Re: [PATCH] fs/namei.c: Hard link and rename should check same device instead of same mount

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

 



El Wed, 16 Mar 2016 14:25:16 +0000
Al Viro <viro@xxxxxxxxxxxxxxxxxx> escrigué:

> NAK.  This is absolutely deliberate; moreover, mount --bind $DIR $DIR
> is often used just to set such a boundary.

It means that the way I have proposed may work also ?

Therefore we can develop a new option for binding to let the superuser
choose what is needed for every mount-bind, example:

mount --bind -o boundary $DIR $DIR

mount --bind -o noboundary $DIR1 $DIR2

and allow remount also,

mount -o remount,boundary $DIR

mount -o remount,noboundary $DIR

That seems feasible,

Jordi Pujol i Palomer
Enginyer Tècnic Industrial
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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