mount --bind 能够镜像的把目录挂载到其他路径下
mount --bind //此命令可以把目录挂载到其他目录,有镜像功能,会占用两份同样大小的空间,当你umount的时候,所作的镜像会立马消失.
$ls
ftp tools
$cd ftp
$mkdir /home/ftp/tools
$cd tools
$pwd
/home/ftp/tools
$mount --bind /home/tools /home/ftp/tools
转载于:https://blog.51cto.com/holy2010/405468