X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4E9388B9E89 for ; Fri, 4 Feb 2005 01:14:36 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 36631-01 for ; Fri, 4 Feb 2005 01:14:30 +0000 (GMT) Received: from mail.coretech.co.nz (coretech.co.nz [202.36.204.41]) by svr1.postgresql.org (Postfix) with ESMTP id C4DB78B9E7F for ; Fri, 4 Feb 2005 01:14:31 +0000 (GMT) Received: (qmail 20836 invoked from network); 4 Feb 2005 01:14:31 -0000 Received: from 218-101-14-25.paradise.net.nz (HELO ?192.168.1.11?) (218.101.14.25) by 0 with SMTP; 4 Feb 2005 01:14:31 -0000 Message-ID: <4202CD6B.3050203@coretech.co.nz> Date: Fri, 04 Feb 2005 14:18:35 +1300 From: Mark Kirkwood User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane Cc: pgsql-docs@postgresql.org Subject: Re: Instructions for Linux ipc config References: <4202AE60.6000706@coretech.co.nz> <5980.1107472704@sss.pgh.pa.us> In-Reply-To: <5980.1107472704@sss.pgh.pa.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/13 X-Sequence-Number: 2846 Tom Lane wrote: > Mark Kirkwood writes: > >>Glancing over these as I was doing the FreeBSD patch, I noticed some >>scope for modernization there plus a possible error to correct: > > >>i) we could standardize the change method to use sysctl instead of >>echo'ing things into /proc/kernel/* structures (unless there is some >>reason for this to be preferable?) > > > How far back in Linux history does that work? It would be bad to remove > instructions needed for versions that people are still using. But yeah, > if we can standardize on describing sysctl that's probably a good thing, > since it applies to more than one platform. > > Interesting question (goes away to look at old linux distros...). Some quite old ones have a sysctl binary - e.g. Redhat 6.2 / linux 2.2.14. But to be on the safe side, it would make sense to do something similar to the BSD section, and comment about older distributions maybe needing to manipulate /proc/kernel/* directly. regards Mark