forked from torvalds/linux
Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
namespacefs: Couple namespacefs to the UTS namespace
When the UTS namespace gets initialized, a directory called 'uts' is added to namespacesfs. This directory represents the main UTS namespace and also serves as a trunk (parent) of all other UTS namespaces. Every time when a new UTS namespace is created a corresponding directory is added to 'namespacefs/uts/'. The 'inum' of the new namespace gives the name of its directory. When a UTS namespace is destroyed the corresponding directory is removed. Each directory contains a file called 'uname' that can be used to get the unique data fields of the uts namespaces(sysname, nodename, ...). Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com>
- Loading branch information
1 parent
51cbd4d
commit 750c3589ff76d96017d8473ca8f0c6a03f3ef715
Showing
3 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters