Re: sysconf (was Re: RLIM_INFINITY inconsistency between archs)

From: Hildo Biersma (hpp@elvenkind.com)
Date: Sat Jul 29 2000 - 07:32:49 EST


Adam Sampson wrote:
>
> On Fri, Jul 28, 2000 at 09:14:40PM +0200, Hildo Biersma wrote:
> > And your point is? People who have compiled a custom kernel with
> > maxgroups > 32 will not be able to edit a config file in the scheme
> > that Linus proposed?
>
> Why not have /proc/sysconf?

/proc/sysconf will never be able to handle non-kernel configuration
settings. Linus mentioned settings for 'bc' and 'expr' and I don't want
to teach these to a kernel.

In addition, you want the administrator to be able to add more settings
that the company needs, such as build type, location and country.

The interface I would expect to see in a large corporation:
- There is a build machine used to build special kernels.
  If we need maxgroups 256, fine, compile a special kernel for that
  enterprise.

- As machines are built using that special kernel, the administrators
  ensure /etc/sysconf has the proper values.

Ans yes, the kernel parts of this could be done using kernel support
(which is bloat). All other aspects need admin attention anyway, you
might as well make that consistent.

Hildo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:30 EST