you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 1 month ago (2 children)

But some things are directories (like cgroups). And Networknamespaces were also controled in a weird way.
And then there are kernel features which are not exposed through a file or syscall but through a special type of socket.

  • source
  • hideshow 2 child comments
  • [–] 9 points 1 month ago* (1 child)

    Aren't directories just files that say "hey i am directort ABCD and file X, Y and Z are my childs"?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 5 points 1 month ago

    Directories are just files if you squint at then right, and sockets are basically files too. As another commenter said, it's not that everything is literally a file, but that it presents as a file, and can be interacted with as one.

  • source
  • parent