[brussels-dev] [clearview-discuss] clean driver removal
Cathy Zhou
Cathy.Zhou at Sun.COM
Thu Nov 1 20:49:03 PDT 2007
Artem Kachitchkine wrote:
>
>> It is currently in the net-physical and net-nwam script:
>>
>> svcprop -q -p system/reconfigure system/svc/restarter:default
>> if [ $? -eq 0 ]; then
>> /sbin/dladm init-phys
>> fi
>
> Thanks. I'm assuming you meant purge-phys, not init-phys? This command
> seems missing from the 2006/499 materials.
>
I've changed the subcommand to init-phys. Yes, there are some minor changes
after UV is PSARCed, I will need to file a PSARC case to cover all those
changes.
> So, if I understand correctly, the answer to my initial question:
>
> > What's our recommendation
> > for driver packagers in terms of cleaning up dladm-related stuff?
>
> would be: force 'touch /reconfigure' in your package remove script
> (because rem_drv(1M) does not do that).
>
I am not sure whether that is requirement. This is similar to the case that
you simply removed a NIC while system shutdown, and reboot the system
without the "-r option". I think in that case, the entries in
/etc/dladm/datalink.conf could be preserved, but those physical links should
be marked as "removed".
Thanks
- Cathy
More information about the brussels-dev
mailing list