Namespace are automagically destroyed once all processes which use that namespace have died and all mounts are also automagically unmounted, so you don't have to take care that some dead mounts are hanging around and keeping you from, for example, removing a media from a cdrom drive (of course you have to take care that all processes died ;)). |
A namespace is automagically destroyed once all processes using that namespace have died. All mounts are automagically unmounted in that namesapce, so you don't have to take care that some dead mounts hang around somewhere you can't access them and keep you from, for example, removing a media from your cdrom drive (of course you have to take care that all processes die ;)). |
The cosmetic reason is that your host's namespace isn't cluttered with all those mounts inside the vservers. Mount is only displaying the host system's information. |
The cosmetic reason is that your host's namespace isn't cluttered with all those mounts inside the vservers, i.e. /proc/mounts only contains the list of mounts in the current namespace. |
# display all mounts
vnamespace -e myvserver mount |
# display all mounts in the namespace of 'myvserver' vnamespace -e myvserver cat /proc/mounts |