[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [LCP]how to obtain a list of installed device drivers on a Linux box



I know that lsmod will give the list of loaded modules, but it also gives a
list of file systems loaded eg: ext-3, smbfs.
I want to know which device drivers are currently installed on the system,
and which of those are being used currently minus the file systems.
If possible I would also like to get their location, description and version
info. modinfo gives this to a certain degree, but not for the device drivers
which are installed but are not currently loaded.

-----Original Message-----
From: mulix [mailto:mulix@actcom.co.il]
Sent: Monday, March 25, 2002 3:41 PM
To: linuxcprogramming@lists.linux.org.au
Subject: Re: [LCP]how to obtain a list of installed device drivers on a
Linux box


On Mon, Mar 25, 2002 at 03:18:22PM -0600, Shalabh_Sharma@Dell.com wrote:
> 
> Hi Everybody,
> 
> Is there a system call or a shell command using which I could obtain a
list
> of installed device drivers on a Linux box.

in general, no. what you could do is obtain a list of the loaded
kernel modules, which in some setups correspond to the list of
"installed device drivers". see the lsmod(1) utility for how to do
this. 

if you elaborate on why you need this informtion, we might be able to
suggest a better way to achieve your goal. 

hope this helps...
-- 
The ill-formed Orange
Fails to satisfy the eye:       http://vipe.technion.ac.il/~mulix/
Segmentation fault.             http://syscalltrack.sf.net/

_______________________________________________
This is the Linux C Programming List
:  http://lists.linux.org.au/listinfo/linuxcprogramming List