[brussels-dev] Brussels- nddcompat code review
sowmini.varadhan at sun.com
sowmini.varadhan at sun.com
Fri Mar 28 06:52:13 PDT 2008
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
More information about the brussels-dev
mailing list