From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <285b53b606b19f2f4ffdcd1ddf1e19ec@proxima.alt.za> To: 9fans@cse.psu.edu Subject: Re: [9fans] Re: patch/list sorry/proc-mtime Date: Thu, 30 Mar 2006 12:09:17 +0200 From: lucio@proxima.alt.za In-Reply-To: <4599c08f5196ad8ab972ab765b2ff004@terzarima.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 274a3c5a-ead1-11e9-9d60-3106f5b1d025 > i sometimes use the following property > > term% md5sum /proc/226/text > de057049f60a4b11c7931f83bef55d74 /proc/226/text > > term% md5sum /bin/cat > de057049f60a4b11c7931f83bef55d74 /bin/cat > > where `text' is a reference to the whole image > including symbols, not just the text segment Is there a generic mechanism/API for executables to add to their respective /proc nodes? I could think of useful operations such as recording the version and maybe the command line. But perhaps that is perceived as a bad idea? I seem to recall some disparaging remarks on this list about proctitle(). ++L