Re: On Linux numbering scheme

From: Artem S. Tashkinov
Date: Sat Jan 08 2011 - 11:45:34 EST


----- "Greg KH" <gregkh@xxxxxxx> wrote:

> On Sat, Jan 08, 2011 at 09:49:26AM -0500, Artem S. Tashkinov wrote:
> > ----- "Geert Uytterhoeven" <geert@xxxxxxxxxxxxxx> wrote:
> >
> > > On Thu, Jan 6, 2011 at 09:31, Claudio Scordino
> > > <claudio@xxxxxxxxxxxxxxx> wrote:
> > > >> Â As time passes by, the Linux numbering scheme makes even
> less
> > > sense.
> > > >> Â Some time ago there was a discussion on LKML about a new
> > > numbering
> > > >> Â scheme but it didn't come to any positive conclusion and
> then
> > > the
> > > >> Â subject was forgotten entirely. Not meaning to raise a
> clamour
> > > here
> > > >> Â (and I suppose I represent a large group of Linux users
> here).
> > > I'm
> > > >> Â willing to suggest a numbering scheme which I hope will
> answer
> > > all
> > > >> Â known complaints and criticism.
> > > >
> > > > This seems to be a periodically recurrent topic on the list.
> > > >
> > > > If I've correctly understood all points of view, there are
> currently
> > > two
> > > > groups of developers:
> > > >
> > > > 1. Those who want to maintain the current numbering scheme,
> because
> > > they
> > > > feel comfortable with it, and because they can easily
> understand
> > > the
> > > > number of releases between one release and another.
> > > >
> > > > 2. Those who prefer having a scheme somehow related to the date,
> so
> > > they
> > > > can easily understand when a certain kernel has been released
> (i.e.
> > > how
> > > > "old" it is).
> > > >
> > > > Does really exist a numbering scheme that can satisfy both
> groups
> > > of
> > > > people ? Probably not.
> > > >
> > > > My only idea would be to maintain the usual numbering scheme,
> and
> > > just
> > > > replace the second number (6) with the year of release.
> > > >
> > > > For example:
> > > >
> > > > Â Â Â Â2.6.36 would be 2.10.36
> > > >
> > > > Â Â Â Â2.6.37 would be 2.11.37
> > > >
> > > > Â Â Â Â2.6.38 would be 2.11.38
> > > >
> > > > Â Â Â Âand so on...
> > > >
> > > > This way, you put some information about the year of release
> > > without
> > > > loosing all the benefits of the current scheme.
> > > >
> > > > But this means having two independent incremental numbers,
> which
> > > maybe
> > > > is a too insane scheme.
> > >
> > > Then why not drop the leading "2." completely?
> > >
> >
> > This will break too many user space scripts/applications which
> expect
> > 2.x.x.x numbers.
>
> What userspace scripts/applications expect numbers like that? How do
> they handle releases like what Linus just did (2.6.37)?
>

I've just grepped through all the shell scripts installed in Fedora 14 and
I haven't found any `uname -r` references, so it seems like the base system
is quite safe (I haven't tried to grep through binaries as I have no clue
how to check them).

However sources of VMWare/NVIDIA/VBox/etc. kernel modules have multiples
instances of:

#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 7)
# error This driver does not support 2.4 kernels older than 2.4.7!
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
# define KERNEL_2_4
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
# error This driver does not support 2.5 kernels!
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 7, 0)
# define KERNEL_2_6
#else
# error This driver does not support development kernels!
#endif

So, it seems like the only obstacle that stops us from starting a completely
new numbering scheme is proprietary or corporations driven/developed software.

Best wishes,

Artem

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