Thanks very much for everyone's feedback.
Instead of flooding this mailing list with another bunch of ver_linux
patches, I thought I would post another implementation, and see if you
find any of the proposed changes worth submitting as a patch. I will
be happy with whatever feedback you can give m
On Tue, Oct 6, 2015 at 11:11 AM, Greg KH wrote:
> On Mon, Oct 05, 2015 at 08:00:40PM +0300, Alexander Kapshuk wrote:
>> Thanks very much for everyone's feedback.
>>
>> Instead of flooding this mailing list with another bunch of ver_linux
>> patches, I thought I w
On Wed, Oct 7, 2015 at 4:25 AM, Theodore Ts'o wrote:
> On Mon, Oct 05, 2015 at 08:00:40PM +0300, Alexander Kapshuk wrote:
>> Thanks very much for everyone's feedback.
>>
>> Instead of flooding this mailing list with another bunch of ver_linux
>> pa
Rely on regex to find the version number, rather than rely on numerical input
to be found in a particular input field.
Proposed implementation also eliminates the necessity to invoke 'grep' + 'awk'.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 7 ++
Rely on regex to find the version number, rather than rely on numerical input
to be found in a particular input field.
Proposed implementation also eliminates the necessity to invoke 'grep' + 'awk'.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 ++-
'sed' to generate a sort
list of kernel modules separated by while space.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 17 +
1 file changed, 13 insertions(
Rely on regex to find the version number, rather than rely on numerical input
to be found in a particular input field.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 7 ++-
1 file changed, 6 insertions(+), 1
an rely on numerical input
to be found in a particular input field.
Proposed implementation also eliminates the necessity to invoke 'grep' + 'awk'.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff -
7;Kbd' and 'Console-tools'.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Rely on regex to find the version number, rather than rely on numerical input
to be found in a particular input field.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 13 ++---
Rely on regex to find the version number, rather than rely on numerical input
to be found in a particular input field.
Proposed implementation also eliminates the necessity to invoke 'grep' + 'awk'.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 ++-
, e.g.
Gentoo, or is an alias for '--version' in others. The proposed implementation
uses the latter flag only.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_linux
ind
nux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_linux
index af5ac82..909d039 100755
--- a/scripts/ver_linux
+++
7;ldconfig' to locate the libraries
in question. 'Sed' is used to do the text processing.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_linux
index a7d0eca
Rely on regex to find the version number, rather than rely on numerical input
to be found in a particular input field.
Proposed implementation also eliminates the necessity to invoke 'grep' + 'awk'.
Tested on:
Oracle Linux
Signed-off-by: Alexander Kapshuk
---
scripts/ver_l
Rely on regex to find the version number, rather than rely on numerical input
to be found in a particular input field.
Proposed implementation also eliminates the necessity to invoke 'grep' + 'awk'.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 ++-
Rely on regex to find the version number, rather than rely on numerical input
to be found in a particular input field.
Proposed implementation also eliminates the necessity to invoke 'grep' + 'awk'.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 ++-
ver release 7.1
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_linux
index 7cc74d1..2e1929f 100755
--- a/scripts/ver_linux
+++ b/scripts/ver_linux
@@ -46,8 +46,12 @@ awk '/
Rely on regex to find the version number, rather than rely on numerical input
to be found in a particular input field.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 7 ++-
1 file changed, 6 insertions(+), 1
Rely on regex to find the version number, rather than rely on numerical input
to be found in a particular input field.
Proposed implementation also eliminates the necessity to invoke 'grep' + 'sed'
+ 'awk'.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux |
Rely on regex to find the version number, rather than a field number.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_linux
index 7de36df..af6467e 100755
--- a/scripts/ver_linux
Rely on regex to find the version number, rather than a field number.
Reduce the number of 'awk' invocations from two to one.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/scripts/ver_linux b/scripts
Current implementation output on Gentoo Linux:
binutils 2.25.1
1.1
2.25.1
Proposed implementation:
Binutils2.25.1
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Rely on regex to find the version number.
Signed-off-by: Alexander Kapshuk
put both the version
of 'util-linux' and 'mount' proper, as 'mount' is also a part of the
'util-linux' package.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Rely on regex to find the version number, rather than a field number.
S
Rely on regex to find the version number, rather than rely on numerical input
to be found in a particular input field.
Tested on:
Gentoo Linux
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/scripts/ver_linux b
Rely on regex to find the version number, rather than rely on numerical input
to be found in a particular input field.
Proposed implementation also eliminates the necessity to invoke 'grep' + 'awk'.
Signed-off-by: Alexander Kapshuk
---
scripts/ver_linux | 8 ++-
On Mon, Oct 12, 2015 at 11:22 PM, Jim Davis wrote:
> On Mon, Oct 12, 2015 at 11:40 AM, Alexander Kapshuk
> wrote:
>> This patch is more of a personal preference, rather than a fix for a problem.
>
> Using the sed hold space isn't exactly easy to follow... if, unlike
>
On Wed, Oct 14, 2015 at 2:21 AM, Jim Davis wrote:
> I tried out patches 1-22 on a Fedora 22 system with the v4.3-rc5
> source tree; everything looks pretty good. The old ver_linux script
> didn't get the mount version right, but the new one does
>
> < mount debug
>> Mount
in question. 'Sed' is used to do the text processing.
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-01 18:36:49.090519891 +0300
+++ linux/scripts/ver_linux2015-10-01 20:25:01.394736393 +0300
@@ -65,6 +65,21 @@
ldd -v > /dev/null 2>&1
xpects the version number to be
found in field 3 as seen by 'awk'. Should the output format be different,
this approach would no longer be reliable.
The proposed implementation uses 'sed' as a more flexible tool to handle
varying output formats.
Tested on:
Arch Lin
xpects the version number to be
found in field 2 as seen by 'awk'. Should the output format be different,
this approach would no longer be reliable.
The proposed implementation uses 'sed' as a more flexible tool to handle
varying output formats.
Tested on:
Arch Linux
ope
e space.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-08-30 21:34:09.0 +0300
+++ linux/scripts/ver_linux2015-09-30 23:04:20.928450708 +0300
@@ -92,7 +92,16 @@
xpects the version number to
be found in the last field as seen by 'awk'. Should the output format
be different, this approach would no longer be reliable.
The proposed implementation uses 'sed' as a more flexible tool to handle
varying output formats.
Tested on:
Oracl
xpects the version number to
be found in the last field as seen by 'awk'. Should the output format
be different, this approach would no longer be reliable.
The proposed implementation uses 'sed' as a more flexible tool to handle
varying output formats.
Tested on:
Arch Lin
nux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-08-30 21:34:09.0 +0300
+++ linux/scripts/ver_linux2015-09-30 22:56:24.369203827 +0300
@@ -68,8 +68,12 @@
ls -l /usr/lib/libg++.so /u
nd uses 'sed' as a more
flexible tool to handle varying output formats.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-08-30 21:34:09.0 +0300
+++ linux
ian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-08-30 21:34:09.0 +0300
+++ linux/scripts/ver_linux2015-09-30 22:31:54.479651499 +0300
@@ -14,8 +14,11 @@
gcc -dumpversion 2&
nux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-08-30 21:34:09.0 +0300
+++ linux/scripts/ver_linux2015-09-30 22:52:12.962171912 +0300
@@ -59,8 +59,12 @@
showmount --version 2>&a
most of the things we may be looking to achieve by using a combination of
'head', and 'awk'.
The proposed implementation relies on 'sed' to perform all the text
processing required.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
o
7;Kbd' and 'Console-tools'.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-08-30 21:34:09.0 +0300
+++ linux/scripts/ver_linux2015-09-30 22:58:55.75601
than capable of doing most
of the things we may be looking to achieve by using a combination of
'grep', 'sed', and 'awk'.
The proposed implementation relies on 'sed' to perform all the text
processing required.
Tested on:
Arch Linux
Signed-off-by: Alexander Kapsh
l-linux', to output both the version of
'util-linux' and 'mount' proper. It also used 'sed' for text processing
instead of a combination of 'awk' and 'sed'.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
Sign
'udevinfo' no longer seems to be available across various
distros. 'udevadm' seems to be the currently valid way to look up the
'udev' version.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
Signed-off-by: Alexander Kapshuk
---
--
xpects the version number to
be found in the last field as seen by 'awk'. Should the output format
be different, this approach would no longer be reliable.
The proposed implementation uses 'sed' as a more flexible tool to handle
varying output formats.
Tested on:
Arch Linu
in terms of processing
varying output as well as being more light-weight.
Tested on:
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-08-30 21:34:09.0 +0300
+++ linux/scripts/ver_linux2015-09-30 23:03:05.019050132 +0300
@@ -89,8 +89,1
f processing
varying output as well as being more light-weight.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-08-30 21:34:09.0 +0300
+++ linux/scripts
s of processing
varying output as well as being more light-weight.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-08-30 21:34:09.0 +0300
+++ linux/scripts
_linux' as user 'root' should be OK.
Proposed implementation, makes provision for locating 'tune2fs', making
it more reliable across the various distros.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexand
While not a problem in itself, I was not sure why 'echo space' was used.
Not being aware of any immediate benifits to this, I thought using
'echo' by itself would suffice in printing a newline, which I believe is
the desired behaivior.
Signed-off-by: Alexander Kapshuk
--
Fix broken output.
Current implementation output on Gentoo Linux:
binutils 2.25.1
1.1
2.25.1
Proposed implementation:
binutils2.25.1
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
s 'depmod', and uses 'sed' as a more
flexible tool to handle varying output formats.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-01 18:36:49.090
On Fri, Oct 2, 2015 at 8:55 AM, Greg KH wrote:
> On Thu, Oct 01, 2015 at 09:17:42PM +0300, Alexander Kapshuk wrote:
>> Neither 'libg++.so', nor 'libstdc++.so' were found where the current
>> implementation expects them to be found in the distros below.
>
On Fri, Oct 2, 2015 at 9:10 PM, Jim Davis wrote:
> On Thu, Oct 1, 2015 at 11:49 AM, Alexander Kapshuk
> wrote:
>> The current implementation relies on 'depmod' to be available in the
>> PATH. It also expects the version number to be found in the last field
>> a
On Fri, Oct 2, 2015 at 10:45 PM, Jim Davis wrote:
> On Fri, Oct 2, 2015 at 12:35 PM, Jim Davis wrote:
>> On Fri, Oct 2, 2015 at 12:03 PM, Alexander Kapshuk
>>
>>>>> +depmod=`whereis depmod | awk '{print $2}'`
>>>>
>
>> I suspect it&
On Fri, Oct 2, 2015 at 11:22 PM, Alexander Kapshuk
wrote:
> On Fri, Oct 2, 2015 at 10:45 PM, Jim Davis wrote:
>> On Fri, Oct 2, 2015 at 12:35 PM, Jim Davis wrote:
>>> On Fri, Oct 2, 2015 at 12:03 PM, Alexander Kapshuk
>>>
>>>>>> +depmod=`whereis depm
On Sat, Oct 3, 2015 at 2:14 AM, Jim Davis wrote:
> On Fri, Oct 2, 2015 at 1:57 PM, Alexander Kapshuk
> wrote:
>> On Fri, Oct 2, 2015 at 11:22 PM, Alexander Kapshuk
>> wrote:
>>> On Fri, Oct 2, 2015 at 10:45 PM, Jim Davis wrote:
>>>> On Fri, Oct 2, 2015
While not a problem in itself, I was not sure why 'echo space' was used.
Not being aware of any immediate benefits to this, I thought using
'echo' by itself would suffice in printing a newline, which I believe is
the desired behaviour.
Signed-off-by: Alexander Kapshuk
-
ast would go with the user's preference first.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-03 13:41:57.118790241 +0300
+++ linux/scripts/ver_linux2015-10-03 13:46:25.879768460 +0300
@@
s of processing
varying output as well as being more light-weight.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-03 13:41:57.118790241 +0300
+++ linux/scripts
's preference first.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-03 13:41:57.118790241 +0300
+++ linux/scripts/ver_linux2015-10-03 13:46:25.879768460 +0300
@@ -11,6 +11,166 @@
unam
ian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-03 13:41:57.118790241 +0300
+++ linux/scripts/ver_linux2015-10-03 13:49:39.548870365 +0300
@@ -14,8 +14,12 @@
gcc -dumpversion 2&
Fix broken output.
Current implementation output on Gentoo Linux:
binutils 2.25.1
1.1
2.25.1
Proposed implementation:
binutils2.25.1
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
'util-linux' and 'mount' proper. It also used 'sed' for text processing
instead of a combination of 'awk' and 'sed'.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
Signed-off-by: Alexander Kapshuk
---
--- linux
s 'depmod', and uses 'sed' as a more
flexible tool to handle varying output formats.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-03 13:41:57.118
_linux' as user 'root' should be OK.
Proposed implementation, makes provision for locating 'tune2fs', making
it more reliable across the various distros.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander
s 'depmod', and uses 'sed' as a more
flexible tool to handle varying output formats.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-03 13:41:57.118
than capable of doing most
of the things we may be looking to achieve by using a combination of
'grep', 'sed', and 'awk'.
The proposed implementation relies on 'sed' to perform all the text
processing required.
Tested on:
Arch Linux
Signed-off-by: Alexander Kaps
xpects the version number to
be found in the last field as seen by 'awk'. Should the output format
be different, this approach would no longer be reliable.
The proposed implementation uses 'sed' as a more flexible tool to handle
varying output formats.
Tested on:
Arch Li
xpects the version number to
be found in the last field as seen by 'awk'. Should the output format
be different, this approach would no longer be reliable.
The proposed implementation uses 'sed' as a more flexible tool to handle
varying output formats.
Tested on:
Arch Lin
xpects the version number to be
found in field 2 as seen by 'awk'. Should the output format be different,
this approach would no longer be reliable.
The proposed implementation uses 'sed' as a more flexible tool to handle
varying output formats.
Tested on:
Arch Linux
openSuSE 1
xpects the version number to
be found in the last field as seen by 'awk'. Should the output format
be different, this approach would no longer be reliable.
The proposed implementation uses 'sed' as a more flexible tool to handle
varying output formats.
Tested on:
Oracl
xpects the version number to be
found in field 3 as seen by 'awk'. Should the output format be different,
this approach would no longer be reliable.
The proposed implementation uses 'sed' as a more flexible tool to handle
varying output formats.
Tested on:
Arch Linux
Signed-off
nux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-03 13:41:57.118790241 +0300
+++ linux/scripts/ver_linux2015-10-03 13:56:30.159725920 +0300
@@ -59,8 +59,12 @@
showmount --version 2>&a
in question. 'Sed' is used to do the text processing.
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-03 13:41:57.118790241 +0300
+++ linux/scripts/ver_linux2015-10-03 13:58:19.822084916 +0300
@@ -65,8 +65,19 @@
ldd -v > /dev/null 2>&1 &am
in question. 'Sed' is used to do the text processing.
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-03 13:41:57.118790241 +0300
+++ linux/scripts/ver_linux2015-10-03 13:58:19.822084916 +0300
@@ -65,8 +65,19 @@
ldd -v > /dev/null 2>&1 &am
nux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-03 13:41:57.118790241 +0300
+++ linux/scripts/ver_linux2015-10-03 13:58:51.910604738 +0300
@@ -68,8 +68,13 @@
ls -l /usr/lib/libg++.so /u
nd uses 'sed' as a more
flexible tool to handle varying output formats.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-03 13:41:57.118790241 +0300
+++ linux
7;Kbd' and 'Console-tools'.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-03 13:41:57.118790241 +0300
+++ linux/scripts/ver_linux2015-10-03 13:59:49.18874
f processing
varying output as well as being more light-weight.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-03 13:41:57.118790241 +0300
+++ linux/scripts
'udevinfo' no longer seems to be available across various
distros. 'udevadm' seems to be the currently valid way to look up the
'udev' version.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
Signed-off-by: Alexander Kapshuk
---
--
in terms of processing
varying output as well as being more light-weight.
Tested on:
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-03 13:41:57.118790241 +0300
+++ linux/scripts/ver_linux2015-10-03 14:01:23.315339094 +0300
@@ -89,8 +89,1
e space.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-03 13:41:57.118790241 +0300
+++ linux/scripts/ver_linux2015-10-03 14:01:46.706989058 +0300
@@ -92,7 +92,16 @@
s 'depmod', and uses 'sed' as a more
flexible tool to handle varying output formats.
Tested on:
Gentoo Linux
Debian 6.0.10
Oracle Linux Server release 7.1
Arch Linux
openSuSE 13.2
Signed-off-by: Alexander Kapshuk
---
--- linux/scripts/ver_linux.orig2015-10-03 13:41:57.118
On Sat, Oct 3, 2015 at 6:07 PM, Richard Weinberger
wrote:
> On Sat, Oct 3, 2015 at 3:07 PM, Alexander Kapshuk
> wrote:
>> Using 'awk' here is a bit of an overkill. Should the output of 'gcc
>> -dumpversion' vary on another disto, or change overtime, it ma
On Sun, Oct 4, 2015 at 4:48 AM, Theodore Ts'o wrote:
> On Sat, Oct 03, 2015 at 04:23:02PM +0300, Alexander Kapshuk wrote:
>> 'tune2fs' is located in varying places depending on the distro.
>> Current implementation output on distros where 'tune2fs' is foun
On Sat, Oct 3, 2015 at 4:10 PM, Alexander Kapshuk
wrote:
> As suggested by Jim Davis , this patch checks for
> binaries in the user's $PATH first by calling 'which name-of-binary'. If
> the binary is not found there, an attempt is made to find it elsewhere
> on the syst
n at 'file2'
The proposed patch converts the code following the '&&' operator into a
compound list to be executed in the current process environment only if
file2 does exist. Should the files being compared differ, a diff command
to compare the files concerned is printed on
On Mon, Aug 13, 2018 at 2:16 PM Jiri Olsa wrote:
>
> On Sat, Aug 11, 2018 at 11:39:15AM +0300, Alexander Kapshuk wrote:
> > The '||' path of execution in the 'test' block of the check_2() function
> > may also be taken if file2 does not exist, in which case
On Mon, Aug 13, 2018 at 9:58 PM Arnaldo Carvalho de Melo
wrote:
> Thanks, applied the three patches to acme/perf/core.
>
> - Arnaldo
Thanks.
On Thu, Aug 23, 2018 at 05:38:27PM +0900, Masahiro Yamada wrote:
> Hi Randy,
>
>
> 2018-08-23 8:33 GMT+09:00 Randy Dunlap :
> > On 08/22/2018 11:53 AM, H. Nikolaus Schaller wrote:
> >> This patch requires that /sbin/depmod is installed and installable on
> >> the build host.
> >>
> >> But not all
On Fri, Jul 20, 2018 at 6:16 PM Jiri Olsa wrote:
>
> On Fri, Jul 20, 2018 at 11:57:45AM -0300, Arnaldo Carvalho de Melo wrote:
> > Em Fri, Jul 20, 2018 at 01:00:35PM +0200, Jiri Olsa escreveu:
> > > The warning message in check_w function uses wrongly
> > > the $file variable instead of $file1 and
On Mon, Jul 23, 2018, 08:01 Jiri Olsa wrote:
> On Fri, Jul 20, 2018 at 06:22:49PM +0300, Alexander Kapshuk wrote:
> > On Fri, Jul 20, 2018 at 6:16 PM Jiri Olsa wrote:
> > >
> > > On Fri, Jul 20, 2018 at 11:57:45AM -0300, Arnaldo Carvalho de Melo
> wrote:
> &g
On Mon, Dec 25, 2017 at 04:42:59PM +0200, Alexander Kapshuk wrote:
> Sparse emitted the following warning:
> ../drivers/staging/vboxvideo/vbox_fb.c:173:27: warning: incorrect type in
> assignment (different address spaces)
> ../drivers/staging/vboxvideo/vbox_fb.c:173:27:expected c
On Sat, Jan 6, 2018 at 6:00 PM, Hans de Goede wrote:
> Hi,
>
>
> On 06-01-18 15:20, Alexander Kapshuk wrote:
>>
>> On Mon, Dec 25, 2017 at 04:42:59PM +0200, Alexander Kapshuk wrote:
>>>
>>> Sparse emitted the following warning:
>>> ../drivers/sta
On Sat, Jan 6, 2018 at 9:43 PM, Hans de Goede wrote:
> HI,
>
>
> On 06-01-18 20:30, Alexander Kapshuk wrote:
>>
>> On Sat, Jan 6, 2018 at 6:00 PM, Hans de Goede wrote:
>>>
>>> Hi,
>>>
>>>
>>> On 06-01-18 15:20, Alexander K
On Sat, Jan 6, 2018 at 10:00 PM, Hans de Goede wrote:
> Hi,
>
>
> On 06-01-18 20:56, Alexander Kapshuk wrote:
>>
>> On Sat, Jan 6, 2018 at 9:43 PM, Hans de Goede wrote:
>>>
>>> HI,
>>>
>>>
>>> On 06-01-18 20:30, Alexander
On Sun, Nov 11, 2018 at 9:59 PM Alexander Kapshuk
wrote:
>
> On Sun, Nov 11, 2018 at 7:41 PM Genki Sky wrote:
> >
> > Hi Alexander,
> >
> > On Sun, 11 Nov 2018 16:48:38 +0200, Alexander Kapshuk
> > wrote:
> > > Piping the output of the git command
On Tue, Nov 13, 2018 at 2:09 AM Brian Norris wrote:
>
> On Mon, Nov 12, 2018 at 10:42:26AM +0200, Alexander Kapshuk wrote:
> > An even simpler approach would be:
> >
> > {
> > git --no-optional-locks status -uno --porcelain 2>/dev/null ||
> >
On Tue, Nov 13, 2018 at 8:32 PM Brian Norris wrote:
>
> Hi Alexander,
>
> On Tue, Nov 13, 2018 at 12:36 AM Alexander Kapshuk
> wrote:
> >
> > On Tue, Nov 13, 2018 at 2:09 AM Brian Norris
> > wrote:
> > >
> > > On Mon, Nov 12, 2018 at 10:42:2
On Sat, Nov 10, 2018 at 10:12 PM Genki Sky wrote:
>
> Hi Andreas,
>
> On Sat, 10 Nov 2018 11:42:11 +0100, Andreas Schwab
> wrote:
> > On Nov 10 2018, Genki Sky wrote:
> > > On Fri, 9 Nov 2018 10:34:37 -0800, Brian Norris
> > > wrote:
> > >> + git_status="$(git --no-optional-locks sta
On Sun, Nov 11, 2018 at 4:48 PM Alexander Kapshuk
wrote:
>
> On Sat, Nov 10, 2018 at 10:12 PM Genki Sky wrote:
> >
> > Hi Andreas,
> >
> > On Sat, 10 Nov 2018 11:42:11 +0100, Andreas Schwab
> > wrote:
> > > On Nov 10 2018, Genki Sky wrote:
>
1 - 100 of 203 matches
Mail list logo