This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open Desktop or Openserver.

There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

OSR5 FAQ

How Can I stop OpenServer 5.0.6 creating /usr/local as a sym-link?

a) After the install remove /usr/local and re-create as required. BUT - if you do this and then at some point in the future you run custom verify and let it fix the discrepencies then your /usr/local will be moved to /usr/local# and the sys-link will be re-created.


Hate these ads?

b) Edit the Custom+ database to stop custom complaining. WARNING - Incorrect Editing the Custom+ database WILL give you problems - be carefull.

You need to comment out one line in the file



      /var/opt/K/SCO/Unix/5.0.6Ga/.softmgmt/RTS.fl


 


The line is:








 
       EXPORT r ./usr/local /usr/local


 


 


You can use a script similar to:



 ----- Cut Here ---------
 DIR=/var/opt/K/SCO/Unix/5.0.6Ga/.softmgmt
 FILE=RTS.fl
 sed -e 's/^EXPORT r .*local$/#&/' < ${DIR}/${FILE} >${DIR}/$$
 mv ${DIR}/$$ ${DIR}/${FILE}
 ----- Cut Here ---------





 


to do it for you.

Contributed by Tom Melvin
tom@bdsl.com
http://www.tkrh.demon.co.uk



Comments /SCOFAQ/FAQ_scotec2usrlocalislink.html


Add your comments

Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner





Views for this page
Today This Week This Month This Year  Overall
1711465 614

/SCOFAQ/FAQ_usrlocalislink.html copyright 1997-2003 (various) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - FAQ




Unix/Linux Consultants

Your ad here - $24.00 yearly!

http://echo3.net/ Unix/Linux Custom Applications, Web Hosting, C/C++ Programming Courses


http://thatitguy.com Business networking servers, Linux and Unix experts. In business since 1997! Windows and Exchange to Samba and Scalix migration experts.


http://www.m3ipinc.com Security, firewalls, ids, audits, vulnerability assesments, BS7799, HIPAA, GLB, incident handling









Change Congress


Related Posts