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

I have used a simple symbolic link to do the same thing.
Much easier, no reboot.

1. mkdir /opt/local
2. (copy all files from /usr/local to /opt/local)
3. rmdir /usr/local
4. ln -s /opt/local /usr/local

Mark Dumond
FeedForward, Inc

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx
[mailto:foxboro-bounce@xxxxxxxxxxxxx]On Behalf Of Winston Jenks
Sent: Thursday, October 17, 2002 4:08 PM
To: Foxboro@xxxxxxxxxxxxx
Subject: [foxboro] Making more space in /usr/local



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 ..."
                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)

Winston Jenks
Technical Director, Cape Software, Inc.

 
 
_______________________________________________________________________
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
 
 
 
_______________________________________________________________________
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: