On this page
Mounting a Filesystem in Multiple Places Simultaneously
Introduction
Some might say: “There’s no need for this, just use symbolic links with ln -s”. But I disagree - it’s really not the same thing. This approach allows you to have a global view of a particular directory.
For example, if I want to mount /var/jails
in /jails
, it’s possible and here’s the result once done:
|
|
Commands
Linux | BSD |
---|---|
mount –bind /folder1 /folder2 | mount -t nullfs /folder1 /folder2 |
Last updated 28 Oct 2008, 21:04 +0200.