Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 1995 17:53:21 -0700
From:      "Amancio Hasty Jr." <hasty@rah.star-gate.com>
To:        Terry Lambert <terry@lambert.org>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: device number for watchdog board driver 
Message-ID:  <199510190053.RAA09347@rah.star-gate.com>
In-Reply-To: Your message of "Wed, 18 Oct 1995 17:11:10 PDT." <199510190011.RAA01374@phaeton.artisoft.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Nope, 

I was hoping for something along the lines of sysctl which will tell
me which devices the system things that it has in  the *running kernel* 

sysctl -listdevices ?? or a functionally equivalent command.

Amancio



>>> Terry Lambert said:
 > > Dumb question: is there a  command which I can use to display all the majo
     r
 > > and minor devices and hopefully the name of the device
 > > driver that the system knows about?
 > 
 > You mean for the current system?
 > 
 > 	cat /sys/sys/i386/conf.c
 > 
 > You mean with a devfs?
 > 
 > 	ls -lR /dev
 > 
 > 
 > 					Terry Lambert
 > 					terry@lambert.org
 > ---
 > Any opinions in this posting are my own and not those of my present
 > or previous employers.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510190053.RAA09347>