The answer in short is to use "cdlinvchk" and "mkcdsl"
Special thanks to Scott M. Fafrak
whos reply along with original question are below
=====================Scott's recipe====================================
To get started:
# cdslinvchk
This will provide you with a list of the links that are missing. Check
/var/adm/cdsl_check_list.
At this point, if you are using V5.0A or V5.1, use can the mkcdsl(8) command
or the "ln -s" command to recreate the CDSLs. If you have V5.0, then you
have to use "ln -s". Check the reference pages for specific syntax, but
effectively:
# cd <directory where the link should be>
# mkcdsl <file>
Example:
I removed /var/adm/sendmail/protocols.map, so when I ran cdslinvchk I
saw:
# cdslinvchk
Failed CDSL inventory check. See details in /var/adm/cdsl_check_list
# cat /var/adm/cdsl_check_list
Expected CDSL: ./usr/var/adm/sendmail/protocols.map ->
../../cluster/members/{me
mb}/adm/sendmail/protocols.map
An administrator or application has removed this CDSL.
# cd /var/adm/sendmail
# mkcdsl protocols.map
# cdslinvchk
Successful CDSL inventory check
OR, you can use "ln -s" -- but you will need to do a little more typing.
# cd /var/adm/sendmail
# ln -s ../../cluster/members/{memb}/adm/sendmail/protocols.map
# cdslinvchk
Successful CDSL inventory check
To my knowledge, there is no automatic way of fixing broken CDSLs.
=======================Original Question========================
>I deleted (very wrongly) some files of the
>type ../../cluster/members/{memb}/adm/sendmail/...
>
>is there anyway to recreate these short of
>reinstalling the O/S?
>
>thanks,
>jim
----------------------------------------------------------------------------
James W. Caldwell (voice) 415-476-8603
Department of Pharmaceutical Chemistry (fax) 415-502-1411
Mail Stop 0446 (email) caldwell_at_heimdal.ucsf.edu
513 Parnassus Avenue (video) farbauti.compchem.ucsf.edu
University of California (netmeeting)
San Francisco, CA 94143-0446
----------------------------------------------------------------------------
Received on Thu Mar 22 2001 - 00:20:04 NZST