Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
moving user or making a link or symbolic link
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
hitachi
Guru
Guru


Joined: 20 Feb 2006
Posts: 478
Location: Freiburg / Deutschland

PostPosted: Sun Sep 03, 2006 11:45 pm    Post subject: moving user or making a link or symbolic link Reply with quote

I was trying to update my system. Now I do have a problem. I don'h have enough space left on my first partion and so emerging gcc leads to an error. I do have a second partion where more than 1 gb is left.
Now I think there are two posible solutions. I could move my user to the second partion. This would free up around 900mb (mainly used by the .thunderbird folder). But I have been told using cp could break alot. So how can I move the user?
The othere posibility would be to move the folder (/var/tmp/portage) to the second partion. How would I do this?

Thanks for every help and every idea
Back to top
View user's profile Send private message
dalek
Veteran
Veteran


Joined: 19 Sep 2003
Posts: 1353
Location: Mississippi USA

PostPosted: Mon Sep 04, 2006 1:14 am    Post subject: Reply with quote

Well, I have moved my entire OS before using the command cp -av /old/location /new/location and it has always worked very well.

Hope that helps.

:D :D :D :D :D
_________________
My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case
Back to top
View user's profile Send private message
dalek
Veteran
Veteran


Joined: 19 Sep 2003
Posts: 1353
Location: Mississippi USA

PostPosted: Mon Sep 04, 2006 1:18 am    Post subject: Reply with quote

You could just link /var/tmp/portage to the other partition. ln -s /var/tmp/portage /where ever/new/partition/is/mounted should work. Someone correct me if I am wrong on that one.

I also think you can edit make.conf and move it as well.

Hope one of those helps.

:D :D :D :D
_________________
My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case
Back to top
View user's profile Send private message
hitachi
Guru
Guru


Joined: 20 Feb 2006
Posts: 478
Location: Freiburg / Deutschland

PostPosted: Sun Sep 10, 2006 7:53 pm    Post subject: Reply with quote

Hi,
I just mounted an empty hdd to /var/tmp/portage . It's working now. May not be a fine solution but it's OK for now.

Thanks for the help
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Sun Sep 10, 2006 8:39 pm    Post subject: Reply with quote

You can also override the portage_tmpdir
Code:
PORTAGE_TMPDIR=/path/to/dir/with/space emerge gcc

To make this permanent add the PORTAGE_DIR variable to /etc/make.conf
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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