On Thu, Jan 07, 2010 at 09:28:07PM +0100, Marc Kleine-Budde wrote:
> [email protected] wrote:
> > From: Carsten Schlote <[email protected]>
> > 
> > Signed-off-by: Carsten Schlote <[email protected]>
> 
> applied, tnx

As newer kernels emulates binary interface we probably do not want to support
obsolete interfaces, right?

http://lwn.net/Articles/361001/

Kernel help says:
  | CONFIG_SYSCTL_SYSCALL:                                                      
                                                                                
                                           |
  |                                                                             
                                                                                
                                           |
  | sys_sysctl uses binary paths that have been found challenging               
                                                                                
                                           |
  | to properly maintain and use.  The interface in /proc/sys                   
                                                                                
                                           |
  | using paths with ascii names is now the primary path to this                
                                                                                
                                           |
  | information.                                                                
                                                                                
                                           |
  |                                                                             
                                                                                
                                           |
  | Almost nothing using the binary sysctl interface so if you are              
                                                                                
                                           |
  | trying to save some space it is probably safe to disable this,              
                                                                                
                                           |
  | making your kernel marginally smaller.

... and your system will get even smaller without sysctl binary.

Btw, 'sysctl' branch was merged 24 Dec 2009. Some people can really enjoy
Christmas ;-)

        ladis

> > ---
> >  generic/etc/sysctl.conf |    4 ++++
> >  rules/procps.make       |    2 ++
> >  2 files changed, 6 insertions(+), 0 deletions(-)
> >  create mode 100644 generic/etc/sysctl.conf
> > 
> > diff --git a/generic/etc/sysctl.conf b/generic/etc/sysctl.conf
> > new file mode 100644
> > index 0000000..b10c21d
> > --- /dev/null
> > +++ b/generic/etc/sysctl.conf
> > @@ -0,0 +1,4 @@
> > +#
> > +# /etc/sysctl.conf - Configuration file for setting system variables
> > +# See sysctl.conf (5) for information.
> > +#
> > diff --git a/rules/procps.make b/rules/procps.make
> > index 57f8fdb..403714b 100644
> > --- a/rules/procps.make
> > +++ b/rules/procps.make
> > @@ -90,6 +90,8 @@ endif
> >  ifdef PTXCONF_PROCPS_SYSCTL
> >     @$(call install_copy, procps, 0, 0, 0755, -, \
> >             /sbin/sysctl)
> > +
> > +   @$(call install_alternative, procps, 0, 0, 0644, /etc/sysctl.conf, n)
> >  endif
> >  ifdef PTXCONF_PROCPS_PS
> >     @$(call install_copy, procps, 0, 0, 0755, -, \

--
ptxdist mailing list
[email protected]

Reply via email to