Re: [PATCH] ver_linux: module-init-tools.patch

2015-10-03 Thread Alexander Kapshuk
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 at 12:35 PM, Jim Davis wrote: > On Fr

Re: [PATCH] ver_linux: module-init-tools.patch

2015-10-02 Thread Jim Davis
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 at 12:35 PM, Jim Davis wrote: On Fri, Oct 2, 2015 at 12:03 PM, Alexander Kapshuk >>>

Re: [PATCH] ver_linux: module-init-tools.patch

2015-10-02 Thread Alexander Kapshuk
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 depmod | awk '{print $2}'` > >> >>> I suspect

Re: [PATCH] ver_linux: module-init-tools.patch

2015-10-02 Thread Alexander Kapshuk
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'll be hard to come up with something that's 100% >> foolproof and

Re: [PATCH] ver_linux: module-init-tools.patch

2015-10-02 Thread Jim Davis
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'll be hard to come up with something that's 100% > foolproof and respects user's choices. Sticking with searching the > use

Re: [PATCH] ver_linux: module-init-tools.patch

2015-10-02 Thread Jim Davis
On Fri, Oct 2, 2015 at 12:03 PM, Alexander Kapshuk wrote: > 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

Re: [PATCH] ver_linux: module-init-tools.patch

2015-10-02 Thread Alexander Kapshuk
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 >> as seen by 'awk'. Should the output f

Re: [PATCH] ver_linux: module-init-tools.patch

2015-10-02 Thread Jim Davis
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 > as seen by 'awk'. Should the output format be different, this approach > would no longer be re