Search code examples
linuxfilesystemsvirtual

/proc filesystem advantages


I came across this link http://www.ibm.com/developerworks/linux/library/l-proc.html

When I researched more on /proc filesystem, I came to know that its main advantage to be that it is residing in the kernel space. But still a user space program is able to write to it if it has appropriate permissions. I really don't understand whats going on. Could anyone explain!


Solution

  • You should see /proc as a pipe to kernel. You can modify kernel parameters and see what kernel is doing at a moment in time.

    Regards