[Sunhelp] [spribyl at enteract.com: dev_t to name]

Dale Ghent daleg at elemental.org
Wed Aug 23 17:21:05 CDT 2000


On Wed, 23 Aug 2000, Dale Ghent wrote:

| | Any body know the C function to get the device name(Path) from the
| | dev_t(major and minor number)?  Have have been looking sunddi.h but not
| | having much luck.
| | dev_t is devfined in types.h
| 
| see the man pages for getminor(9F) and getmajor(9F)

Oops, didnt read that message fully.

It looks like you can get the physical pathname info from
ddi_create_minor_node()

/dale






More information about the SunHELP mailing list