Recently I came across this and applied it.
In case that you don't like symbolic link of files or folders you can use this.
How to do this?
Simple as cake :)
#mount --bind /location_which_you_want_to_mount /location_to_which_you want_to_mount
and that's it!
Personally I use more ln -s then mount --bind.
Many people avoid mount --bind. Here is one of reasons:
With
So I think this is matter of choice.
In case that you don't like symbolic link of files or folders you can use this.
How to do this?
Simple as cake :)
#mount --bind /location_which_you_want_to_mount /location_to_which_you want_to_mount
and that's it!
Personally I use more ln -s then mount --bind.
Many people avoid mount --bind. Here is one of reasons:
With
mount --bind
, a directory tree exists in two (or more)
places in the directory hierarchy. This can cause a number of problems.
Backups and other file copies will pick all copies. It becomes
difficult to specify that you want to copy a filesystem: you'll end up
copying the bind-mounted files twice. So I think this is matter of choice.
No comments:
Post a Comment