From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=DATE_IN_PAST_06_12,DMARC_NONE, INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from tsunx.ctn.cogs.susx.ac.uk (tsunx.ctn.cogs.susx.ac.uk [139.184.50.12]) by cvs.gentoo.org (Postfix) with SMTP id 356B145A53 for ; Fri, 19 Jan 2001 02:46:34 -0700 (MST) Received: from tsuny.ctn.cogs.susx.ac.uk [139.184.50.13] by tsunx.ctn.cogs.susx.ac.uk with smtp (Exim 1.82 #1) id 14JY8a-0006iX-00; Fri, 19 Jan 2001 09:47:16 +0000 Received: from thomasfl by tsuny.ctn.cogs.susx.ac.uk with local (Exim 1.82 #1) id 14JY8Z-0004s7-00; Fri, 19 Jan 2001 09:47:15 +0000 From: Thomas Flavel To: gentoo-dev@gentoo.org Message-ID: <20010119094715.B17728@tsuny.ctn.cogs.susx.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i Subject: [gentoo-dev] /proc and portage Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Fri Jan 19 02:47:01 2001 X-Original-Date: Fri, 19 Jan 2001 09:47:15 +0000 X-Archives-Salt: 05c4336d-c0cc-424e-9e24-471b2a5d7ab8 X-Archives-Hash: 3bc4a3ffecb2b708f251890cdd532078 Hi, I had an idea I dimsmissed which I thought I should post anyway, on the off chance that it might actually get used ;) I was thinking about how /proc is sometimes used as a bi-directional interface, for example I can "echo 1>/proc/whatever" to turn on ping flood protection or something similar. I was wondering how practical it would be to have a similar thing for portage? If I could say "echo gimp>/proc/portage/install" or "cat /proc/portage/packages" etc then this would mean that it would be very easy to write front ends for portage, plus with this minimal interface it would be very nice to use in scripts... I know it would be a massive kernel module, and probably too much effort to actually produce/maintain but I thought you should hear the idea... have a think about it please - Tom