Skip to contentSkip to conversation

Improved version reporting

PATCH [email protected] 3 participants 3 messages Mar 16, 2001

lore
Share & tools
lore
#0 lore raw

From: Riley Williams <[email protected]>

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

#1 lore raw
Quoted 8 lines · [email protected] writes:

From: Riley Williams <[email protected]>
{Shrug} Please explain why I was unable to get ver_linux to report a

% ./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.

Debian 2.2 has loadkeys from a console-tools package, which can be found at http://lct.sourceforge.net/

    $ loadkeys --version
    loadkeys: (console-tools) 0.2.3
Signature · 2 lines
 `O O'  | [email protected]
// ^ \\ | http://www.pyrites.org.uk/
#2 lore raw
In reply to [email protected]

Hi Andries.

Quoted 6 lines

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.

Why do RedHat claim there is then?

Quoted 3 lines

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.

{Shrug} Persuade RedHat of that, not me - they're the ones who release it separately. Taken directly from RedHat's FTP site, I note that Red Hat 6.2 includes RPM's for both mount-2.10f-1.i386.rpm and util-linux-2.10f-7.i386.rpm which, whilst different releases of the same version, is sufficient to prove your argument false. I can't get into their 7.0 tree atm to check due to network congestion, so can't comment on that...

Quoted 6 lines

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.

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

Quoted 12 lines

> 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

Quoted 7 lines

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.

I tried the version that came as part of Red Hat 6.2 as installed unmodified on the system I'm using. According to the rpm command, I see...

Q> $ rpm -qf which loadkeys
Q> console-tools-19990829-10
Q> $

I've now tried that on FOUR different systems running Red Hat 6.2, the last of them a fresh install direct from genuine RH 6.2 CD's with NO changes since, and all four report the same and do exactly the same to the command in ver_linux so I have to assume that the command in ver_linux is UNABLE to determine a version number with this release of Linux.

Best wishes from Riley.