On (03/27/08 19:00), Peter Memishian wrote:
> 
> Leaving aside SunVTS: couldn't ndd issue an ioctl to determine whether the
> driver has been converted and then issue the warning as appropriate?

You can, but what ioctl should it issue? Do we invent a new ioctl or property
just to probe if the device has MC_SETPROP/MC_GETPROP?
One possibility is to just link libdladm into ndd and do a get_linkprop
e.g., see 
 http://zhadum.east/export/ws/sowmini/brussels/nddcompatchild/webrev
where I tried playing with this. But this is going to break any script
that parses the output of ndd (I've fprintf'ed to stderr, but I'm not
sure that covers every case).

--Sowmini


Reply via email to