Ask a Question related to UNIX Programming, Design and Development.
-
Stephan Saß #1
BSD's devname() under Solaris
hi.
i would like to extract the device name from a dev_t-datatype
under solaris. under bsd i use devname() to do this but how
does it work under solaris?
stephan.
Stephan Saß Guest
-
(Help) FTP fails in Solaris 9 but not in Solaris 2.6
Our Sun E3500 server has been upgraded from Solaris 2.6 (105181-17 ) to Solaris 9 (112233-11). There are no changes in any of the FTP binaries. We... -
solaris 10 zone / container question (or Solaris 9)
I begin to look at zoning in Solaris 10. I have not configured zones yet but need some answers quite quick (tomorrow :-() and hope someone can help... -
Question: C2 Security Configuration for general Unix and Solaris/Trusted Solaris (Auditing)
While reviewing the DoD 5200.28-STD "DEPARTMENT OF DEFENSE TRUSTED COMPUTER SYSTEM EVALUATION CRITERIA" document and looking over "Security... -
RPC unknown host with Solaris 9 (not on Solaris 8)
I am trying to see if a Solaris 8 application will work on Solaris 9. While it mostly works, I am still running into issues with RPC. I get error... -
upgrading solaris 2.6 to Solaris 8
Hello, Last day I upgraded my solaris 2.6 to Solaris 8 on a E220R. After reboot the system boots with solaris 8 but ....it got stucks at... -
stephan beal #2
Re: BSD's devname() under Solaris
Stephan Saß wrote:
i'm completely guessing here, but maybe this is useful:> i would like to extract the device name from a dev_t-datatype
> under solaris. under bsd i use devname() to do this but how
> does it work under solaris?
Solaris 8:
root@zeus[/usr/include/sys] $ grep devnm *
devinfo_impl.h:struct di_devnm {
root@zeus[/usr/include/sys] $ grep devinfo *
bpp_var.h: dev_info_t *dip; /* Opaque devinfo
info. */
dacf.h:dev_info_t *dacf_devinfo_node(dacf_infohdl_t);
ddi_impldefs.h: kmutex_t devi_lock; /* Protects per-devinfo data
*/
ddi_impldefs.h:/* devinfo node needs inital driver binding */
ddi_impldefs.h: * It then gets attached to the devinfo node as a property.
ddi_impldefs.h: dev_info_t *dip; /* pointer to devinfo node
*/
devinfo_impl.h: * This file is separate from libdevinfo.h because the
devinfo driver
devinfo_impl.h:/* ioctl commands for devinfo driver */
devinfo_impl.h: * devinfo driver snapshot data structure
devinfo_impl.h: di_off_t top_devinfo;
--
----- stephan beal
Registered Linux User #71917 [url]http://counter.li.org[/url]
I speak for myself, not my employer. Contents may
be hot. Slippery when wet. Reading disclaimers makes
you go blind. Writing them is worse. You have been Warned.
stephan beal Guest



Reply With Quote

