Red Hat Bugzilla – Bug 179386
iscsi-ls should use modinfo to display driver version
Last modified: 2007-11-30 17:07:22 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4
Description of problem:
iscsi-ls currently has its driver version hardcoded. This makes maintenance a problem because very time we update the kernel driver we also have to update iscsi-ls. Instead, iscsi-ls should use modinfo to get the module version.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run iscsi-ls
I am actually just going to fix this in the header file for now. I have it some
what automated so do I do not modinfo.
For U4 the version output for all the programs should be fixed.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.