At 10:41 AM 2/3/00 -0500, David Yates wrote:
>I just added a 13.6 gig drive to my system. Due to dwindling space on my
>10 gig hard drive, I am wanting to move my /tmp directory(on the /
>partition)
>to my new drive (/mnt/drive2). is it possible to move the /tmp to
>/mnt/drive2/tmp, and then sym link back to /tmp?
>Is this what I need to do? What bad might happen of I do this? Any other
>suggestions would be appreciated.
>My current partition table includes (rough estimates):
>
>/ 200 meg
>/usr 4.5 gig
>/usr/local/ 1.5 gig
>/opt 1.5 gig
>swap 256 meg
>/home 1.5 gig
>/mnt/drive2 13.6 gig
>
>
>Thanks in advance
>
>Check out my lotta linux links web page at
>http://dsyates.home.mindspring.com
>---
> David S. Yates' Lotta Linux Links
>http://dsyates.home.mindspring.com
>
That should work. But I would just make a partition on the second drive
that is the size I want /tmp to be. After you format it, drop to single
user mode, mount the directory someware, copy anything you need from /tmp
to the new directory. (You can probably delete everything..) Delelte
everything from the /tmp directory, and mount the new partition on /tmp.
don't forget to make an entry in /etc/fstab for it.
The advantage of this is that you have a hard limit on how big /tmp can get.
The disadvantage is that it is hard to add extra free space if you are using
/tmp to build rpms...
Mikkel
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.