On 04/20/10 11:38 AM, Girish G. Moodalbail wrote:
> Folks:
> 
> I need help in figuring out, how to remove stale symbolic links from /dev?.
> 
> We removed kernel module '/kernel/drv/sctp{6}' as it was no longer required. 
> As 
> part of the removal we made necessary changes to the manifest files by 
> deleting 
> all the entries referring to the module and the modules '.conf' files.
> 
> After image updating to the above changes, all the kernel module and 
> associated 
> configuration files are gone. However the following symbolic link still 
> continues to exist.
> 
> # ls -alth /kernel/drv/sctp*
> ls: cannot access /kernel/drv/sctp*: No such file or directory
> 
> # ls -al /dev/sctp*
>    lrwxrwxrwx /dev/sctp -> ../devices/pseudo/s...@0:sctp
>    lrwxrwxrwx /dev/sctp6 -> ../devices/pseudo/sc...@0:sctp6
> 
> # ls -al /devices/pseudo/sctp*
>    /devices/pseudo/sctp*: No such file or directory
> 
> Shouldn't the symbolic links be removed by 'pkg image-update'.

Only if the symlinks are delivered via the package manifest, and these
were not.

If you updated devfsadm such that it no longer creates these, then you
shouldn't see them after a reconfigure reboot.

Somebody from the ddi team might have a better description of when
devfsadm will create or remove them, but IPS knows nothing about them,
and so will never create or remove them.

--Mark
_______________________________________________
on-ips-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/on-ips-dev

Reply via email to