home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!imp!ferrari!ori
- From: ori@ferrari.dsp.hellnet.org (Ori Chalak)
- Newsgroups: comp.unix.admin
- Subject: how do other people deal with new man pages?
- Message-ID: <109@ferrari.dsp.hellnet.org>
- Date: 15 Nov 92 14:57:46 GMT
- Sender: news@ferrari.dsp.hellnet.org
- Lines: 123
- Nntp-Posting-Host: ferrari
-
-
- My suggestion is as follows:
-
- 1. I have several global disks in the system, on which I locate
- software instatllations.
- Each software instatllation has a root directory, which is looked
- from the outside as if it was located under "/usr".
- This is achieved using "auto.direct" yellow-pages map.
-
- An auto.direct entry example:
-
- /usr/applic server:/partition/appilc
-
- 2. Under the software instatllation directory (e.g. /usr/applic), there are
- several sub-directoties:
-
- bin lib man ...
-
- They are NOT spread in the file system. Instead, they might be pointed by
- environment variables.
-
- For this I create a C-SHELL command file, e.g. /usr/applic/.cshrc-export
- which contains all the necessary redirections
-
- example:
-
- # Begin of /usr/applic/.cshrc-export
-
- set root = "/usr/appic"
-
- set path = ($path ${root}/bin)
-
- if (! $?LD_LIBRARY_PATH) then
- setenv LD_LIBRARY_PATH ${root}/lib
- else
- setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${root}/lib
- endif
-
- if (! $?MANPATH) then
- setenv MANPATH ${root}/lib
- else
- setenv MANPATH ${MANPATH}:${root}/lib
- endif
-
- .
- .
- .
-
- setenv APPLIC_KEYWORD1 value1 # Setting aoording to "applic" requirements
- setenv APPLIC_KEYWORD2 value2 # Setting aoording to "applic" requirements
- .
- .
- .
-
- unset root
-
- # End of /usr/applic/.cshrc-export
-
-
-
- 3. I have one global C-SHELL command-file in the system which sources all the ".cshrc-export"
-
- example:
-
- # Begin of /usr/global/.cshrc-export
-
- source /usr/applic1/.cshrc-export
- source /usr/applic2/.cshrc-export
- .
- .
- .
-
- # End of /usr/global/.cshrc-export
-
-
- 4. Each user sources the global .cshrc-export in his/her ".cshrc" file or in his/her
- ".login" file.
-
- Example:
-
- # Begin of ~/.login
- .
- .
- .
- source /usr/global/.cshrc-export
- .
- .
- .
-
- # End of ~/.login
-
-
-
- This solution achieves the following goals:
-
- 1. Auto mounter advantages
-
- - Easy to change the disk and host installation
- - Creating mount-points just as much as necessary
-
- 2. Easy software update, since the installation is located in one place,
- and is similiar to the original tape.
-
- 3. The users are not required to be aware of the fact a new installation or
- version had arrived. they will be "tuned" to it as they login.
-
-
-
- Good Luck
-
- Ori
-
- ------------------------------------------------------------------------------------
- Ori Chalak Telephone: 972 3 531 3282
- Cad Programmer and System Administrator Fax: 972 3 531 3303
- DSP-Semiconductors Email: ori@dsp.hellnet.org
- I S R A E L
- "No problem is too complicated or too simple"
- --
- ------------------------------------------------------------------------------------
- Ori Chalak Telephone: 972 3 531 3282
- Cad Programmer and System Administrator Fax: 972 3 531 3303
- DSP-Semiconductors Email: ori@dsp.hellnet.org
-