1 |
On Fri, 2004-11-19 at 11:56 -0600, Kito wrote: |
2 |
> On Nov 19, 2004, at 11:21 AM, Georgi Georgiev wrote: |
3 |
> |
4 |
> > maillog: 19/11/2004-11:02:23(-0600): Kito types |
5 |
> >> On Nov 19, 2004, at 10:52 AM, Greg KH wrote: |
6 |
> >>> Not true. The sysctl syscall does not require it. |
7 |
> >> |
8 |
> >> % sysctl hw.memsize |
9 |
> >> hw.memsize: 1073741824 |
10 |
> >> |
11 |
> >> % ls /proc |
12 |
> >> ls: /proc: No such file or directory |
13 |
> > |
14 |
> > $ /sbin/sysctl hw.memsize |
15 |
> > error: 'hw.memsize' is an unknown key |
16 |
> > |
17 |
> > $ /sbin/sysctl -A 2>/dev/null | grep size |
18 |
> > net.ipv6.route.max_size = 4096 |
19 |
> > net.ipv4.route.max_size = 131072 |
20 |
> > kernel.random.poolsize = 512 |
21 |
> |
22 |
> for darwin systems: |
23 |
> |
24 |
> /sbin/sysctl hw.memsize |
25 |
> |
26 |
> *bsd: |
27 |
> /sbin/sysctl hw.physmem |
28 |
> |
29 |
> for linux.... thats outta my jurisdiction =) |
30 |
|
31 |
So again, we're non-portable... heh |
32 |
|
33 |
-- |
34 |
Chris Gianelloni |
35 |
Release Engineering - Operational/QA Manager |
36 |
Games - Developer |
37 |
Gentoo Linux |