View previous topic :: View next topic |
Author |
Message |
thinker5555 Tux's lil' helper
Joined: 03 Jun 2002 Posts: 77 Location: Texas
|
Posted: Tue Jun 25, 2002 4:47 pm Post subject: Sharing /usr/portage |
|
|
I was wondering if it's possible/feasible to share the /usr/portage directory between multiple installs of Gentoo. I've read one topic that said something about it being possible using read-only access, but that was in a possible case of multiple simultanious access over an NFS server. I'd prefer to have read-write access so that I can do an emerge rsync from whichever version I decide to boot from, and it would never be used simultaniously by different installs of Gentoo. What I want to do is place /usr/portage on another partition on my HD so that if I would either need to reinstall gentoo or if I would have a second installation of Gentoo to a different partition, I could use that and cut my download times way down. (especially the emerge rsync stuff).
Does this seem like a feasible thing to do?
Thanks,
Jeremy |
|
Back to top |
|
|
Beattie Apprentice
Joined: 24 Jun 2002 Posts: 155
|
Posted: Tue Jun 25, 2002 6:27 pm Post subject: |
|
|
I don't know if this is right, but what you have to do is have one computer host the NFS share and then export it just like a typical NFS share... then you make the other computers mount that directory with read write access. you should be able to use it transparently from any computer. |
|
Back to top |
|
|
thinker5555 Tux's lil' helper
Joined: 03 Jun 2002 Posts: 77 Location: Texas
|
Posted: Wed Jun 26, 2002 12:33 am Post subject: |
|
|
Sounds good... but I'm not using it on multiple computers. I'm dual booting Gentoo and, uhm, Gentoo. I just wanted to share that partition when I boot into one or the other. I know it sounds silly, but I'm doing it because I want to have one set up as my normal user environment, and then I want the other to try stuff in without worry of screwing too much up. Like for trying out GCC3, new versions of X when the come out, or something like that...
Still sound feasible?
Jeremy |
|
Back to top |
|
|
Utoxin Guru
Joined: 19 Apr 2002 Posts: 413 Location: American Fork, UT
|
Posted: Wed Jun 26, 2002 7:23 am Post subject: |
|
|
Go for it. Just make the /usr/portage directory it's own partition, and put it in your /etc/fstab to automount on boot. Neat idea! _________________ Gentoo:
1. A small fast penguin from Antarctica.
2. A small fast penguin on your computer.
Cool. |
|
Back to top |
|
|
sulu Guru
Joined: 21 May 2002 Posts: 399 Location: Dornbirn/Austria
|
Posted: Wed Jun 26, 2002 9:19 am Post subject: |
|
|
Hi thinker5555.
I follow the same path. My solution would (will) be to have a /home-partition which is shared by the "several" gentoo-installs. One of the directories in /home will be the portage-directory which is to be symlinked to /usr/portage. The other directoires contain my user(s).
That gives me the advantage of having the same home in all my gentoo's and the shared portage-dir. |
|
Back to top |
|
|
thinker5555 Tux's lil' helper
Joined: 03 Jun 2002 Posts: 77 Location: Texas
|
Posted: Wed Jun 26, 2002 1:26 pm Post subject: |
|
|
Ah, thanks for the help. I believe I'll give it a go, then. I especially like the idea of putting it on my /home partition. I have that seperate as well, (and I went a bit overboard giving it 5GB of space... so this will use it nicely) Thanks again!
Jeremy |
|
Back to top |
|
|
|