Re: Subject: [PATCH] ver_linux: uniform output across various linux distros

From: Randy Dunlap
Date: Mon Sep 28 2015 - 17:56:29 EST


On 09/27/15 21:50, Alexander Kapshuk wrote:
>
> -------------------------------------
> Sample output of the current implementation on Gentoo Linux:
>
> /usr/src/linux/scripts/ver_linux.orig
> If some fields are empty or look unusual you may have an old version.
> Compare to the current minimal requirements in Documentation/Changes.
>
> Linux box0 4.2.1-vanilla #1 SMP Thu Sep 24 18:05:42 EEST 2015 i686
> Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux
>
> Gnu C 4.8.5
> Gnu make 4.1
> binutils 2.25.1
> 1.1
> 2.25.1
> util-linux /usr/src/linux/scripts/ver_linux.orig: line 23:
> fdformat: command not found
> mount debug
> module-init-tools found
> Linux C Library Dynamic linker (ldd) 2.20
> Procps 3.3.9
> Net-tools 1.60_p20130513023548
> Kbd 1.15.5
> Sh-utils 8.23
> Modules Loaded xt_mark xt_LOG vgem v4l2_dv_timings ulpi udf
> sil164 nf_nat_sip nf_nat_irc uvcvideo videobuf2_vmalloc
> videobuf2_memops nf_nat_ipv4 videobuf2_core v4l2_common nf_nat_ftp
> nf_nat nf_log_ipv6 nf_log_ipv4 nf_log_common lcd i2c_mux hp_wireless
> gspca_main videodev cuse fuse crc_itu_t ch7006 ath5k coretemp
> input_leds led_class ath
>
> -------------------------------------
> Sample output of the patched implementation on Gentoo Linux:
>
> /usr/src/linux/scripts/ver_linux
> If some fields are empty or look unusual you may have an old version.
> Compare to the current minimal requirements in Documentation/Changes.
>
> Linux box0 4.2.1-vanilla #1 SMP Thu Sep 24 18:05:42 EEST 2015 i686
> Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux
>
> GNU C 4.8.5
> GNU Make 4.1
> binutils 2.25.1
> util-linux 2.26.2
> mount 2.26.2
> module-init-tools 20
> e2fsprogs 1.42.13
> Linux C Library 2.20
> Dynamic linker (ldd) 2.20
> Linux C++ Library 6.0.19
> Procps 3.3.9
> net-tools 1.60
> Kbd 1.15.5
> Console-tools 1.15.5
> Sh-utils 8.23
> Modules Loaded ath ath5k ch7006 coretemp crc_itu_t cuse fuse
> gspca_main hp_wireless i2c_mux input_leds lcd led_class nf_log_common
> nf_log_ipv4 nf_log_ipv6 nf_nat nf_nat_ftp nf_nat_ipv4 nf_nat_irc
> nf_nat_sip sil164 udf ulpi uvcvideo v4l2_common v4l2_dv_timings vgem
> videobuf2_core videobuf2_memops videobuf2_vmalloc videodev xt_LOG
> xt_mark
> -------------------------------------

On openSuSE 13.2 I get this (fragment):

Linux dragon 3.16.7-24-desktop #1 SMP PREEMPT Mon Aug 3 14:37:06 UTC 2015 (ec183cc) x86_64 x86_64 x86_64 GNU/Linux

GNU C 4.8
GNU Make 4.0
binutils 2.24.0.20140403
util-linux 2.25.1
mount 2.25.1
module-init-tools 18
e2fsprogs 1.42.12
pcmciautils 017
Linux C Library 2.19
Dynamic linker (ldd) 2.19
Linux C++ Library 6.0.19
Procps 3.3.9
net-tools 1.60
Kbd 2.0.2
Console-tools 2.0.2
Sh-utils 8.23
wireless-tools 30


Tabs/spaces on GNU Make and pcmciautils could be better.


ciao.
--
~Randy
--
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/