Re: [foxboro] Making more space in /usr/local

On Thu, Oct 17, 2002 at 03:08:07PM -0500, Winston Jenks wrote:
> 
> List Gurus,
> 
> Here is what I did to make my /usr/local bigger.  Will someone please 
> comment on the validity of this procedure before I get so far into this 
> hole that I can never dig myself out?
> 
> Retarget /usr/local to /opt/ulocal
>               a) cp -r /usr/local/* /opt/ulocal #Probably should have done 
> "cp -R ..."

        I'd  sugest the following instead hee:

                mkdir /usr/ulocal
                cd /usr/local
                tar cvf . | ( cd /opt/ulocal ; tar xf -)

>               b) Added line to /etc/vfstab --> "/opt/ulocal/ - /usr/local 
> lofs - yes -"
>               c) renamed /usr/local to /usr/local.orig
>               d) mkdir /usr/local
>               e) reboot
> 
> The idea is to make /usr/local really refer to /opt/ulocal (where I have 
> lots of space)
> 

How about a symlink?

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
                                                -- Benjamin Franklin
 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: