| View previous topic :: View next topic |
| Author |
Message |
ventricle Guru


Joined: 04 Apr 2003 Posts: 305 Location: UK/Australia
|
Posted: Wed May 28, 2003 6:48 pm Post subject: Move portage |
|
|
I have about 22 gig spare unformatted, so I want to create a new partition with that, format with XFS and use it!
I was thinking it might be worthwhile me mounting the /usr/portage directory on that partition (because I'm sure I'll run out on /usr soon - and I often have to change my TMP directory because that partition is too small also).
I would also put some other stuff on it as well, but this is where I was heading.
Would doing this be a good idea, and how would I actually move the /usr/portage directory onto the new mount? _________________ [LRU] |
|
| Back to top |
|
 |
ebrostig Bodhisattva


Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Wed May 28, 2003 7:08 pm Post subject: |
|
|
Yes, you can do this wiothout a problem, it is very easy to do.
1. Prepare the spare disk, ie. make the filesystem.
2. mkdir /mnt/new
3. mount /dev/hdX /mnt/new (where hdX is the new drive)
4. cd /usr/portage
5. mv * /mnt/new
6. umount /mnt/new
7. Edit /etc/fstab and add the new entry and use /usr/portage as mountpoint
8. mount /usr/portage
There you go! That's it!
Erik _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|