
On Thu, 18 Oct 2012, Trent W. Buck wrote:
Peter Ross writes:
I think the main reason is KISS. FreeBSD does not have block devices, /proc, /sys, does not rely on hald and dbus and whatever was invented on Linux - and I don't miss it..
Sheesh, even Solaris has /proc. I guess fbsd isn't interested in stealing good ideas from plan9? ;-P
Well, if it would stay with /proc/$pid.. but even then, in the Linux way at least (sorry, last look at Plan9 was too long ago to remember) it isn't very efficient to open a dozen files in a directory to get all process relevant information. http://en.wikipedia.org/wiki/Sysctl#Performance_considerations describes the dilemma.
All I can say for /sys is at least it moves non-procs out of /proc.
It moves.. slowly. My Ubuntu desktop here, a 3.2 kernel, has at least 40 or 50 more entries in /proc that aren't process related.
FWIW my containers don't mount /sys (for security reasons) and they have never complained...
Yep, would be good, e.g. for security, if all non-process info would move there, finally. Regards Peter