Gentoo Archives: gentoo-dev

From: Thomas Flavel <thomasfl@××××××××××××.uk>
To: gentoo-dev@g.o
Subject: [gentoo-dev] /proc and portage
Date: Fri, 19 Jan 2001 02:46:34
Message-Id: 20010119094715.B17728@tsuny.ctn.cogs.susx.ac.uk
1 Hi,
2
3 I had an idea I dimsmissed which I thought I should post anyway, on the off chance that it
4 might actually get used ;)
5
6 I was thinking about how /proc is sometimes used as a bi-directional interface, for example I
7 can "echo 1>/proc/whatever" to turn on ping flood protection or something similar. I was
8 wondering how practical it would be to have a similar thing for portage?
9
10 If I could say "echo gimp>/proc/portage/install" or "cat /proc/portage/packages" etc then
11 this would mean that it would be very easy to write front ends for portage, plus with this
12 minimal interface it would be very nice to use in scripts... I know it would be a massive
13 kernel module, and probably too much effort to actually produce/maintain but I thought you
14 should hear the idea... have a think about it please
15
16 - Tom

Replies

Subject Author
Re: [gentoo-dev] /proc and portage 320095285153-0001@t-online.de (Achim Gottinger)
Re: [gentoo-dev] /proc and portage drobbins@g.o