[comp.sys.apollo] changing from soft to hard links under SR10

vince@bcsaic.UUCP (Vince Skahan) (12/09/88)

I have SR10 running on a node and (I guess foolishly)
chose to install some things like help,man,systest,etc.
as soft links to another node when I probably should
have hard-linked to my authorized area on the local node.

Can someone tell me how to get my local software to be
completely hard-linked to the authorized area???  
Also, is there any way to copy an authorized area from
another node (on another ring) via a /install/tools tool
or is the proper way to just do a cpt -sacl -ms -force ?

(the following is an editorial note having no relation tothe 
nice folks at Boeing but just to me)

"thanks for rai/install++/configure...they are beyond
	wonderful and will be of great value when I have to make 
	about 75-100 nodes magically appear at SR10.0 in about
		6 months.  The transition from SR9.7 to SR10.x
	was truly "no big deal" compared with a lot of the 
	(somewhat justified, I guess) paranoia out there 
	in the Apollo user world"

-- 
     Vince Skahan            Boeing Computer Services - Phila.
    (215) 591-4116           ARPA:  skahan@boeing.com
                             UUCP:  bcsaic!skahan
Note: the opinions expressed above are mine and have no connection to Boeing...

ross@sword.ulowell.edu (Ross Miller) (12/16/88)

From article <9092@bcsaic.UUCP>, by vince@bcsaic.UUCP (Vince Skahan):
> I have SR10 running on a node and (I guess foolishly)
> chose to install some things like help,man,systest,etc.
> as soft links to another node when I probably should
> have hard-linked to my authorized area on the local node.
> 
> Can someone tell me how to get my local software to be
> completely hard-linked to the authorized area???  

Rest of message delete ...


I have some little utilities I wrote to do this.  It does require some
manual checking before you run it to make sure it is not going to
smoke all your files.  Would people on this list like for me to post it?

Ross

stone@apollo.COM (Jonathan Stone) (12/16/88)

Vince,
   
> I have SR10 running on a node and (I guess foolishly)
> chose to install some things like help,man,systest,etc.
> as soft links to another node when I probably should
> have hard-linked to my authorized area on the local node.

> Can someone tell me how to get my local software to be
> completely hard-linked to the authorized area???  

Hard linking to the Authorized Area is actually a feature of the 
RAI tool set.  Since you've already run the install once, you 
simply need to rerun with different options.  Rerun config to 
change the choices for these items to 'copy' instead of 'link'.
Then, rerun install using the '-l' and '-m' options.  You can 
do this either with config and then install, or use these same 
options when invoking install++.

      '-l' : Requests hard links where possible
      '-m' : (among other things) changes your links to copies (hard links).

> Also, is there any way to copy an authorized area from
> another node (on another ring) via a /install/tools tool
> or is the proper way to just do a cpt -sacl -ms -force ?

Yes, that's the correct method with some additional reccomendations :

      o For 'cpt', you should also use the '-pdt' option.
      o Be sure to login as 'root' to preserve the ACLs for
        any objects which are setuid root.
      
Note : Don't put your AA on a pre-sr10 volume.

> (the following is an editorial note having no relation tothe 
> nice folks at Boeing but just to me)

> "thanks for rai/install++/configure...they are beyond
> 	wonderful and will be of great value when I have to make 
> 	about 75-100 nodes magically appear at SR10.0 in about
> 		6 months.  The transition from SR9.7 to SR10.x
> 	was truly "no big deal" compared with a lot of the 
> 	(somewhat justified, I guess) paranoia out there 
> 	in the Apollo user world"

Thank you!!  That sort of news makes all the work worthwhile.

                                                      Jonathan Stone
                                                      stone@apollo.com