With this namespace concept, a virtual system can be implemented on Linux.
What do you mean? With the Clone () system call, plus a certain flag, you can place a process process_a in another namespace Ns_b that is different from the current namespace ns_a , The PID of process_a in ns_b is 1, which is equivalent to the init process of the traditional *nix class System.
Of course, this process_a is still visible in the ns_a . Only, the process number in ns_a is different from the process number in ns_b .
"1": Namespace in Operation,part I
"2": Namespace in Operation,part II
"3": Namespace in Operation,part III
"4": Namespace in Operation,part IV
"5": Namespace in Operation,part V
Extra:
"6": Introduction to Linux container,redhat Linux
"7": Namespace (7), Linux man pages
"8": User Namespace Progress, Michael kerrisk
"9": the failure of Operating System and how we can fix it, Michael Kerrisk
"10": Http://stackoverflow.com/questions/26779416/what-is-the-relation-between-task-struct-and-pid-namespace
:)
Linux kernel:process namespace Black technology