public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] Improved version reporting
@ 2001-03-14 16:01 Andries.Brouwer
  2001-03-14 16:26 ` Alexander Viro
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Andries.Brouwer @ 2001-03-14 16:01 UTC (permalink / raw)
  To: alan, linus, rhw; +Cc: linux-kernel, seberino

On Wed, Mar 14, 2001 at 10:39:53AM +0000, Riley Williams wrote:

> -o  util-linux             2.10o                   # fdformat --version
> +o  util-linux         #   2.10o        # fdformat --version

Looking at fdformat to get the util-linux version is perhaps
not the most reliable way - some people have fdformat from fd-utils or so.
Using mount --version would be better - I am not aware of any
other mount distribution.

> +In addition, it is wise to ensure that the following packages are at least
> +at the versions suggested below, although these may not be required,
> +depending on the exact configuration of your system:
> +
> +o  Console Tools      #   0.3.3        # loadkeys -V
> +o  Mount              #   2.10e        # mount --version

Concerning mount: (i) the version mentioned is too old,
(ii) mount is in util-linux. Conclusion: the mount line
should be deleted entirely.
Concerning Console Tools: maybe kbd-1.05 is uniformly better.
I am not aware of any reason to recommend the use of console-tools.

Andries

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: [PATCH] Improved version reporting
@ 2001-03-17 10:20 Andries.Brouwer
  0 siblings, 0 replies; 24+ messages in thread
From: Andries.Brouwer @ 2001-03-17 10:20 UTC (permalink / raw)
  To: Andries.Brouwer, acahalan; +Cc: linux-kernel

> If the old mount can still do what it used to do,
> then "mount" need not be listed at all.

Well, I started saying that the mount line should be deleted,
so we somewhat agree.

> If I run the mount command from Red Hat 6.2, using it
> as intended for a 2.2.xx kernel, doesn't everything work?

Roughly, yes. (In other words: no.)

Andries


^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: [PATCH] Improved version reporting
@ 2001-03-17  1:07 Andries.Brouwer
  2001-03-17 17:17 ` Riley Williams
  0 siblings, 1 reply; 24+ messages in thread
From: Andries.Brouwer @ 2001-03-17  1:07 UTC (permalink / raw)
  To: Andries.Brouwer, rhw; +Cc: kaboom, linux-kernel, seberino

> {Shrug} Thinking isn't sufficient - check your facts.

Poor Riley,

Probably I should not answer, I think you know all the facts already.
But just to be sure:

(i) There are two different packages, kbd and a forked version,
console-tools. Both contain roughly the same programs.
In your earlier mails you seemed aware of that, but now you report
that the console-tools version of loadkeys does not want to
print a kbd version. No surprise there.

(ii) I am the maintainer of both mount and util-linux.
If I say that there exists no more recent version of mount
than the one found in util-linux, you can believe me.

Andries

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: [PATCH] Improved version reporting
@ 2001-03-16 12:45 Andries.Brouwer
  2001-03-16 13:30 ` Nick Holloway
  2001-03-16 23:28 ` Riley Williams
  0 siblings, 2 replies; 24+ messages in thread
From: Andries.Brouwer @ 2001-03-16 12:45 UTC (permalink / raw)
  To: Andries.Brouwer, rhw; +Cc: kaboom, linux-kernel, seberino

    From: Riley Williams <rhw@MemAlpha.CX>

    Neither am I - but, according to comments from RedHat a while back,
    they repackage mount separately because they provide a NEWER version
    of mount than is in the util-linux package. This will ALSO result in
    `mount --version` giving the wrong answer...

There is no newer version.
In ancient times I came with frequent releases of mount, at a time
when util-linux was released very infrequently. These years mount
is part of util-linux, and util-linux is released frequently.

    Unless one can guarantee that the util-linux and mount packages are
    the SAME version, mount can't be guaranteed to report the version of
    the util-linux package installed. RedHat provide a NEWER version of
    mount to util-linux so that guarantee doesnae exist.

I do not think they do.

     > You are mistaken, as is proved by the reports that contain a kbd
     > line: a grep on linux-kernel for this Februari shows people with
     > Kbd 0.96, 0.99 and 1.02.

    {Shrug} Please explain why I was unable to get ver_linux to report a

When other people can and you cannot, why should I explain your failure?
Let me just check. A version from 1993:

  % ./loadkeys -h 2>&1 | head -1
  loadkeys version 0.81

A version from 2001:

  % ./loadkeys -h 2>&1 | head -1
  loadkeys version 1.06

Maybe nothing has changed here the past eight years. It just works.
Perhaps you tried some modified version.

Andries

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: [PATCH] Improved version reporting
@ 2001-03-15  9:52 Andries.Brouwer
  2001-03-15 11:05 ` Rogier Wolff
  2001-03-17  4:35 ` Albert D. Cahalan
  0 siblings, 2 replies; 24+ messages in thread
From: Andries.Brouwer @ 2001-03-15  9:52 UTC (permalink / raw)
  To: acahalan, viro; +Cc: Andries.Brouwer, alan, linus, linux-kernel, rhw, seberino

    From: "Albert D. Cahalan" <acahalan@cs.uml.edu>

    > On Wed, 14 Mar 2001 Andries.Brouwer@cwi.nl wrote:

    >>> +o  Console Tools      #   0.3.3        # loadkeys -V
    >>> +o  Mount              #   2.10e        # mount --version
    >>
    >> Concerning mount: (i) the version mentioned is too old,

    Exactly why? Mere missing features don't make for a required
    upgrade. Version number inflation should be resisted.

These days you can mount filesystems several places.
That means that the choice one used to have -- after
	# mount dev dir
both
	# umount dev
and
	# umount dir
would unmount -- has disappeared, and only
	# umount dir
is (guaranteed to be) right today.
These days you can mount several filesystems at the same mount point.
The old mount does not understand this at all.
Recent versions of mount act better in this respect,
even though it is still easy to confuse them.

Such things mean that it is best to have a really recent mount
(although, of course, if you only want the mount(2) system call
executed some five year old version will also do that for you).

On the other hand, there are no important changes between
mount-2.10d and 2.10e, so I see no justification for writing 2.10e.
It is difficult to say what the "right" version is. There is a
long series of minor improvements. Probably I would write 2.10r.

Andries

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: [PATCH] Improved version reporting
@ 2001-03-14 19:29 Andries.Brouwer
  2001-03-14 23:39 ` Russell King
  2001-03-16 10:54 ` Riley Williams
  0 siblings, 2 replies; 24+ messages in thread
From: Andries.Brouwer @ 2001-03-14 19:29 UTC (permalink / raw)
  To: Andries.Brouwer, rhw; +Cc: kaboom, linux-kernel, seberino

    From: Riley Williams <rhw@MemAlpha.CX>

[Yes, I wrote, replying to your mail, just because I happened
to notice the incorrect or debatable lines in your patch.
Let me cc the Changes maintainer - maybe Chris Ricker.]

     >> -o  util-linux             2.10o                   # fdformat --version
     >> +o  util-linux         #   2.10o        # fdformat --version

     > Looking at fdformat to get the util-linux version is perhaps not
     > the most reliable way - some people have fdformat from elsewhere.
     > Using mount --version would be better - I am not aware of any
     > other mount distribution.

    RedHat distribute mount separately from util-linux and I wouldnae be
    surprised if others do the same...

I am not aware of any distribution that ships some version of
util-linux, but replaces its mount part by an older version.
I think that even in cases where, because of historical reasons, util-linux
is repackaged in several parts, mount --version gives the right answer.

     >> +In addition, it is wise to ensure that the following packages are
     >> +at least at the versions suggested below, although these may not
     >> +be required, depending on the exact configuration of your system:
     >> +
     >> +o  Console Tools      #   0.3.3        # loadkeys -V
     >> +o  Mount              #   2.10e        # mount --version

     > Concerning mount:
     >
     > (i) the version mentioned is too old,
     > (ii) mount is in util-linux.

    Not on RedHat systems.

There is no other source. Some people like to repack but that
has no influence on versions.

     > Conclusion: the mount line should be deleted entirely.
     > Concerning Console Tools: maybe kbd-1.05 is uniformly better.
     > I am not aware of any reason to recommend the use of console-tools.

    Neither am I. The ver_linux script has lines for determining the
    versions for both Console Tools and Kbd but on EVERY system I've
    tried, including Slackware, RedHat, Debian, Caldera, and SuSE based
    ones, the line for determining Kbd versiondoesnae work. I've just
    included the line that worked, and ignored the Kbd one as I can see no
    point including something that doesnae work.

You are mistaken, as is proved by the reports that contain a kbd line:
a grep on linux-kernel for this Februari shows people with
Kbd 0.96, 0.99 and 1.02.


Andries


^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: [PATCH] Improved version reporting
@ 2001-03-14 16:51 Andries.Brouwer
  0 siblings, 0 replies; 24+ messages in thread
From: Andries.Brouwer @ 2001-03-14 16:51 UTC (permalink / raw)
  To: Andries.Brouwer, viro; +Cc: alan, linus, linux-kernel, rhw, seberino

> Many systems have mount (and bsdutils) separated from util-linux
> as a binary package. Built from the same source, indeed, but...

I hope that this habit is dying. Long ago that was
reasonable, but these days (years) it only causes extra work.

>> Concerning Console Tools: maybe kbd-1.05 is uniformly better.
>> I am not aware of any reason to recommend the use of console-tools.

> Debian has console-tools with priority:required and kbd with priority:extra.
> Take it with Yann Dirson...

I am not aware of any reason to recommend the use of console-tools.

Andries

^ permalink raw reply	[flat|nested] 24+ messages in thread
[parent not found: <11a40b11caeb.11caeb11a40b@nosc.mil>]

end of thread, other threads:[~2001-03-23  9:43 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-14 16:01 [PATCH] Improved version reporting Andries.Brouwer
2001-03-14 16:26 ` Alexander Viro
2001-03-15  4:12   ` Albert D. Cahalan
2001-03-14 16:36 ` Henning P. Schmiedehausen
2001-03-14 17:28 ` Riley Williams
  -- strict thread matches above, loose matches on Subject: below --
2001-03-17 10:20 Andries.Brouwer
2001-03-17  1:07 Andries.Brouwer
2001-03-17 17:17 ` Riley Williams
2001-03-16 12:45 Andries.Brouwer
2001-03-16 13:30 ` Nick Holloway
2001-03-16 23:28 ` Riley Williams
2001-03-15  9:52 Andries.Brouwer
2001-03-15 11:05 ` Rogier Wolff
2001-03-17  4:35 ` Albert D. Cahalan
2001-03-17 17:51   ` Riley Williams
2001-03-19  6:50     ` Albert D. Cahalan
2001-03-19  9:15       ` Riley Williams
2001-03-23  8:33         ` Albert D. Cahalan
2001-03-23  9:42           ` Riley Williams
2001-03-14 19:29 Andries.Brouwer
2001-03-14 23:39 ` Russell King
2001-03-16 10:54 ` Riley Williams
2001-03-14 16:51 Andries.Brouwer
     [not found] <11a40b11caeb.11caeb11a40b@nosc.mil>
2001-03-14 10:39 ` Riley Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox