Hell, in linux, the dynamic linker (ld-linux.so) depends on procfs to expands ELF variables (e.g. $ORIGIN, which requires the path to the current program being executed, which is retrieved from procfs). It's gone _way_ too far!
Now it does not mean that an other interface would be ugly/annoying to use from the shell.
`sysctl` for instance is quite convenient to use from the shell, and the hierarchical variables that it accepts could very well mirror what procfs exposes.
Something like
`$ sysctl proc.42.environ` <=> `$ cat /proc/42/environ`
At the end of the day, first one is always faster.
Structures should be used for structured data.
/proc is a very fine interface for getting realtime basic information about a process. Maybe we should leave it as it is and stop abusing well matured interfaces?
I see red when Chrome uses intentionally broken symbolic links to store information on a system for example.