Is it possible to set a symlink on a mountpoint? I have a mountpoint /vz. When I'm ln -s /var/lib/vz /vz the result is, that I have a directory vz in my mountpoint /vz, thus I have /vz/vz. Is there any way to prevent this?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
migrated from serverfault.com Sep 24 '12 at 16:42
|
A symbolic link cannot be a mount point. To do what (I think) you want:
|
|||||
|
|
You're doing the symlink wrong, you need to run |
|||
|