View previous topic :: View next topic |
Author |
Message |
pingtoo Veteran
Joined: 10 Sep 2021 Posts: 1402 Location: Richmond Hill, Canada
|
Posted: Thu Jan 16, 2025 2:43 pm Post subject: namespace question? |
|
|
Is there document for how namespace destruction, what will happen?
Specifically for mount namespace. I know it seem that when a mount namespace last process end, all mounts in that namespace seems got unmounted automatically. But I am not so sure so I would like to know if this actually documented somewhere as this is by design. I don't want to depend on a side effect where something could change later without explicit notification. |
|
Back to top |
|
|
zen_desu Tux's lil' helper
Joined: 25 Oct 2024 Posts: 104
|
Posted: Thu Jan 16, 2025 7:43 pm Post subject: |
|
|
I think you have the right idea. Namespaces exist for processes, so once the process dies, so do any mounts in the namespace.
I looked for explicit docs on this and don't think I found anything that just says that, but in testing I found it to be true.
I use this for "quick and easy" cleanup for genTree. _________________ µgRD dev
Wiki writer |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|