From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653647621609.tru64-unix-managers.marc@archive.invalid> From: LHERCAUD () bouyguestelecom ! fr Date: Mon, 30 Apr 2001 11:45:27 +0000 To: tru64-unix-managers Subject: REQUEST: Listing device driver details on Tru64 Unix X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653647621609 Hi all, Regarding this summary, I was thinking it might be a nice feature if Tru64 had some "dev" entries in /proc for instance. Solaris and Linux have it. Maybe if we (many) ask for it, Compaq will do it sooner ? Regards Lucien Hercaud Lucien HERCAUD Consultant Systeme UNIX en mission chez Bouygues T=E9l=E9com DSI / IPR / IRS / INF * Tel. Fixe +33 1 3945 4260 * BOUYGUES Telecom * Tel. Mobile +33 6 0944 2880 * 11 Avenue Maurane Saulnier * Fax +33 1 3463 8551 * 78944 VELIZY Cedex * lhercaud@bouyguestelecom.fr mailto:lhercaud@mail.dotcom.fr Reply from Dr.Thomas.Blinn@Compaq.com -------------------------------------- You can't. There is no interface to do this. The closest thing is the sysconfig interface, but it is generically for all kernel modules, not just for device drivers, and there is no requirement on the people who write device drivers that they export any particularly useful data via that interface (most drivers are NOT configurable in any useful way via the sysconfig interface). For instance, if you want to know what drivers were delivered = separately=20 from the base OS component, there is a file in /usr/sys/conf called=20 .product.list that gets used during a kernel build to incorporate=20 static-link drivers into the custom kernel; but some drivers are loaded dynamically after the kernel boots, and = they are usually loaded via commands in a startup script in /sbin/init.d and you need to know what to look for there.. Reply from alan@nabeth.cxo.dec.com ----------------------------------- You should also take a look at the manual page for the getsysinfo(2) system call. It has a set of codes for wandering through the I/O subsystem table, many of which have associated drivers. The data structure used by these codes may offer a clue what sort of information are easily available. Even if you can't a program yourself to step through the data structures, you could probably use dbx to examine the relevant data structures. The Monitor "names" feature uses these routines to generate the device listing. The most recent version of Monitor on ftp.digital.com (/pub/DEC/monitor.alpha.tar.Z) has an improved version of this feature.