Hi,

About the bug reported to pciutils in the 16 Feb 2011
http://bugs.debian.org/613626

> The man page of pcimodules gives an example how to use pcimodules:

> for module in $(pcimodules) ; do

>     modprobe -s -k "$module"

> done


> but modprobe does not have the options -s and -k.
> They can just be removed from the man page.

In fact, the argument -s is still valid, it means log result via syslog. The
-k was the autoclean option back in modutils 2.4. There is no mapping to the
-k option in the module-init-tools version of modprobe.

I think that:

for module in $(pcimodules) ; do
  modprobe -s "$module"
done

Would be a good replacement example.

-- 
"Elegance is not a dispensable luxury but a quality that decides between
success and failure."
-- Edsger W. Dijkstra
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: Digital signature

Reply via email to