Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2012 13:08:03 -0800
From:      Devin Teske <devin.teske@fisglobal.com>
To:        Chris Rees <utisoft@gmail.com>
Cc:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, Devin Teske <dteske@freebsd.org>, Eitan Adler <lists@eitanadler.com>, freebsd-hackers@freebsd.org, Benjamin Kaduk <bjk@freebsd.org>
Subject:   Re: old style kernel configuration
Message-ID:  <E1C198DF-D38D-4FB7-8A4A-497A9F97C1C9@fisglobal.com>
In-Reply-To: <CADLo83-mXy_A%2BF-8Cc=8_F-=7rKt3v0fs-qrXt-ipU%2Bwa9uHtg@mail.gmail.com>
References:  <CAF6rxgmxiaA1twJf%2BKMv=ZpxCWp1MdL5GEEEFLwBuRqcGpctdQ@mail.gmail.com> <CA3661C3-2DF7-40F3-8581-CCE994CC5689@fisglobal.com> <alpine.BSF.2.00.1211221726110.7420@wojtek.tensor.gdynia.pl> <CADLo838geX8yXtnAx1Zu4RmXNZUPtBuexiCNZ7jKipPTictCNw@mail.gmail.com> <alpine.BSF.2.00.1211221955280.8996@wojtek.tensor.gdynia.pl> <CADLo83-mXy_A%2BF-8Cc=8_F-=7rKt3v0fs-qrXt-ipU%2Bwa9uHtg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Nov 22, 2012, at 12:27 PM, Chris Rees wrote:

>=20
> On 22 Nov 2012 18:56, "Wojciech Puchar" <wojtek@wojtek.tensor.gdynia.pl> =
wrote:
> >>
> >>
> >> How is it simpler?
> >>
> >> Chris
> >>
> >>
> >>
> > strange question i thought it is obviously clear.
> >
> > $EDITOR config
> > config <kernel>
> > cd ../compile/<kernel>
> > make depend
> > make
> > make install
> >
> >
> > that's all. and no need to keep whole /usr/src, just sys
> >
> > what is wrong in it?
>=20
> I was only confused because you had asserted that six commands was simple=
r--
>=20
I can relate to Mr Puchar's vantage point.

It's not the number of commands, it's the pathos.

Memorizing how to configure a custom kernel, one can memorize two different=
 pathos:

=3D=3D=3D A =3D=3D=3D

I have to make a config file
I have to use the make(1) utility within a full src-tree to produce the ker=
nel from that config
I can't remember the arguments to make

=3D=3D=3D B =3D=3D=3D

I have to make a config file
I have to use the config(1) utility on my config file
The config(1) utility tells me what to do after I run it, I do what config(=
1) tells me

=3D=3D=3D=3D=3D=3D

In both A and B, we start with a config file. Things differ from there.

I do buy the argument that B is simpler than A, despite the fact that B req=
uires more commands than A. B can be thought-of as simpler because I only h=
ave to memorize three things to get a kernel: (1) start with a config file,=
 (2) run config with said file (3) follow the instructions that config give=
s me. Meanwhile, in comparison, A requires the memorization of different an=
d arguably less accessible information.

One might even be able to argue that the pathos of B is simpler because it =
relies on a purpose-built tool (config(1)) to get you where you want to be =
versus a multi-purpose tool (make(1)).

Just my tuppence.
--=20
Devin

_____________
The information contained in this message is proprietary and/or confidentia=
l. If you are not the intended recipient, please: (i) delete the message an=
d all copies; (ii) do not disclose, distribute or use the message in any ma=
nner; and (iii) notify the sender immediately. In addition, please be aware=
 that any message addressed to our domain is subject to archiving and revie=
w by persons other than the intended recipient. Thank you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1C198DF-D38D-4FB7-8A4A-497A9F97C1C9>