Re: [PATCH] Improved version reporting

Riley Williams (rhw@MemAlpha.CX)
Wed, 14 Mar 2001 17:28:05 +0000 (GMT)


Hi Andries.

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

{Shrug} That's the command that was in both Documentation/Changes and
in scripts/ver_linux and I just left what was already there, as shown
by your quote. Somebody MUCH more knowledgable than me regarding
kernel requirements can sort that out.

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

>> +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,

Probably. As stated, that's what's currently installed here, and I
havenae the foggiest whether any of them need upgrading as there's
nothing I've been able to find to say what the minimum version is.

> (ii) mount is in util-linux.

Not on RedHat systems.

> Conclusion: the mount line should be deleted entirely.

Maybe, but that's not for me to decide. Whoever wrote ver_linux
obviously thought it important.

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

Best wishes from Riley.

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