From mboxrd@z Thu Jan 1 00:00:00 1970 From: tfb@tfeb.org (Tim Bradshaw) Date: Tue, 5 Aug 2014 13:06:31 +0100 Subject: [TUHS] /proc - linux vs solaris In-Reply-To: <20140804222325.GK19745@mcvoy.com> References: <1407183693.25672.for-standards-violators@oclsc.org> <20140804222325.GK19745@mcvoy.com> Message-ID: <99D0780C-AB35-4C06-9BD7-542A0A8BE89A@tfeb.org> On 4 Aug 2014, at 23:23, Larry McVoy wrote: > I get the arguments above but I don't buy 'em. linux really got /proc > right in terms of usefulness. Digging binary blobs out of the kernel > and translating them sucks. I've done, I've written kmem drivers for > ps, I understand how it works. I far prefer the pure ascii model that > Linux has. I agree with this, with one caveat: there are things which exist in /proc which should be in a standard format (extensible if need be) but are not. I forget the particular example but I've written patches for, I think, node.js which essentially came down to "add yet another special case for /proc/", when there was just no reason that the thing should not have been in a standard format in the first place. Certainly as a user of Solaris and Linux, Linux's /proc is just far more useful (though I like pmap).