Gentoo Archives: gentoo-dev

From: Michael Hanselmann <hansmi@g.o>
To: Kito <kito@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] what to do when an ebuild needs loads of RAM?
Date: Fri, 19 Nov 2004 19:21:58
Message-Id: 20041119192156.GA12726@hansmi.ch
In Reply to: Re: [gentoo-dev] what to do when an ebuild needs loads of RAM? by Kito
1 Hello
2
3 > darwin has /usr/sbin/sysctl , changed the hardcoded path and it works
4 > just dandy.
5
6 I tried it on Mac OS X, also had to switch the path (or even remove it
7 at all). But here I get two values, one for hw.memsize and one for
8 hw.physmem. The following sed fixed that:
9 sed -e 's/^[^:=]*[:=][[:space:]]*//;s/[[:space:]].*//g'
10
11 Greets
12 Michael
13
14 --
15 Gentoo Developer (PowerPC, MacOS) using m0n0wall | http://hansmi.ch/
16 I have a terrible headache, I was putting on toilet water and the lid
17 fell.

Replies

Subject Author
Re: [gentoo-dev] what to do when an ebuild needs loads of RAM? Ciaran McCreesh <ciaranm@g.o>