linux – 如何创建两个目录的联合?

前端之家收集整理的这篇文章主要介绍了linux – 如何创建两个目录的联合?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
在unix / linux的情况下,有没有办法创建两个目录的联合,而无需手动复制或链接到一个目录?

解决方法

一种选择是使用 unionfs

Unionfs: A Stackable Unification File
System

This project builds a stackable
unification file system,which can
appear to merge the contents of
several directories (branches),while
keeping their physical content
separate. Unionfs is useful for
unified source tree management,merged
contents of split CD-ROM,merged
separate software package directories,
data grids,and more. Unionfs allows
any mix of read-only and read-write
branches,as well as insertion and
deletion of branches anywhere in the
fan-out.

或另一个类似的选项aufs.

猜你在找的Linux相关文章