Jump to content

Talk:Linux namespaces

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

New section

[edit]

Roxxik (talk) 12:08, 24 March 2016 (UTC)[reply]

This is my first major wikipedia contribution, having only done some minor rewordings before. I'd appreciate any help and advices on the structure or wording of this article.

This is a work in progress, especially the namespace kinds paragraph needs to be extended a lot to explain the various kinds better. Sentences need to be written from there points...

The cgroup ns controller should be mentioned somewhere.

Unclarity in Implementation details

[edit]

We read in Implementation details

The inode number pointed to by this symlink is the same for each process in this namespace.

This is unclear as, if I understand correctly, a symlink does not point to an inode, unlike a hardlink. It is just an arbitrary text which may or may not meaningfully refer to a file.

That being said, the symlink text does indeed contain a numeric id, but is it an inode number (in which case, on what filesystem?)

# ls -l /proc/1974/ns/
total 0
lrwxrwxrwx. 1 foo foo 0 Jan 22 13:04 cgroup -> 'cgroup:[4026531835]'
lrwxrwxrwx. 1 foo foo 0 Jan 22 13:04 ipc -> 'ipc:[4026531839]'
lrwxrwxrwx. 1 foo foo 0 Jan 22 13:04 mnt -> 'mnt:[4026531841]'
lrwxrwxrwx. 1 foo foo 0 Jan 22 13:04 net -> 'net:[4026531840]'
lrwxrwxrwx. 1 foo foo 0 Jan 22 13:04 pid -> 'pid:[4026531836]'
lrwxrwxrwx. 1 foo foo 0 Jan 22 13:04 pid_for_children -> 'pid:[4026531836]'
lrwxrwxrwx. 1 foo foo 0 Jan 22 13:04 time -> 'time:[4026531834]'
lrwxrwxrwx. 1 foo foo 0 Jan 22 13:04 time_for_children -> 'time:[4026531834]'
lrwxrwxrwx. 1 foo foo 0 Jan 22 13:04 user -> 'user:[4026531837]'
lrwxrwxrwx. 1 foo foo 0 Jan 22 13:04 uts -> 'uts:[4026531838]'

There is a T101 in your kitchen (talk) — Preceding undated comment added 12:25, 22 January 2024 (UTC)[reply]