Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jul 2000 17:26:50 -0600
From:      Warner Losh <imp@village.org>
To:        chris@calldei.com
Cc:        Fox Anderson <andersonfox@mail.ru>, freebsd-hackers <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: dev to name 
Message-ID:  <200007032326.RAA27427@harmony.village.org>
In-Reply-To: Your message of "Sun, 02 Jul 2000 15:01:16 CDT." <20000702150116.E66762@holly.calldei.com> 
References:  <20000702150116.E66762@holly.calldei.com>  <395FC6CB.7080400@mail.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20000702150116.E66762@holly.calldei.com> Chris Costello writes:
: On Sunday, July 02, 2000, Fox Anderson wrote:
: > Hi.
: > How can i find out the name of device file by device major/minor?
: 
:    The devtoname() function.  ``man devtoname''

This is a kernel only function.  The only way to do it in user land is
to loop through the /dev/ directory and hope that you can find a match.

Warner


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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