Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 1995 12:20:14 +1553003 (KST)
From:      HyunSeog Ryu <moonhunt@easy.re.kr>
To:        hasty@rah.star-gate.com (Amancio Hasty Jr.)
Cc:        hackers@freebsd.org
Subject:   Re: device number for watchdog board driver
Message-ID:  <199510190320.MAA01433@ns.easy.re.kr>
In-Reply-To: <199510190245.TAA10415@rah.star-gate.com> from "Amancio Hasty Jr." at Oct 18, 95 07:45:02 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
>  > > 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 can refer /sys/i386/conf/devices.i386 for major number... 
> 
> Yes, I know about that lets assume that I visit a FreeBSD box and
> that /sys is not there.
Hmmm... 
Here is that content...
# This file tells what major numbers the various possible swap devices have.
#
#	$Id: devices.i386,v 1.8.4.1 1995/09/14 23:47:09 jkh Exp $
#
wd	0
dk	1
fd	2
wt	3
sd	4
st	5
cd	6
mcd	7
vn	15
scd	16
pcd	17
wcd	19
od	20
> 
> 
>  > But minor number ??? ;>
>  > And you can refer lsdev command also... 
> 
> Nice listing but there is no association between the nice output of 
> lsdev and /dev:
And you can refer /dev/MAKEDEV shell script also... ;>


				From Hyunseog Ryu
===============================================================================
	Name : Hyunseog Ryu		moonhunt@easy.re.kr
	Tel  : +82-2-884-0174		http://www.easy.re.kr/~moonhunt
	Fax  : +82-2-884-0175		:-)
	EASY research institute			Tomorrow is another day... ;>
	4th floor, 304-25, shinrim 10-dong 	For better world, cheers!!!
	Kwanak-gu, Seoul, 151-020,  Korea		                :-D
===============================================================================



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