A deep dive into Linux namespaces, part 4
These are really good posts - I've been mucking about with namespaces recently at work and I wish I had known about this series before today, I wouldn't have had to go figure out a bunch of stuff the hard way!<p>I hope some future part covers the nsfs and bind mount thing for persisting namespaces past a specific process. It took me way, way to long to catch this passage in the man page:<p><pre><code>    Bind mounting (see mount(2)) one of the files in this directory to somewhere else in the filesystem keeps the corresponding namespace of the process specified by pid alive even if all processes currently in the namespace terminate.
</code></pre>
It's not that it's hard to understand, it's just poorly highlighted in most namespace discourse that I've seen. Persisting namespaces was very much a mystery to me - I had to break down and read the source to understand how the ip command persisted network namespaces before I understood the importance of that sentence.