View previous topic :: View next topic |
Author |
Message |
leonchik1976 Guru
Joined: 24 Jan 2010 Posts: 325
|
Posted: Tue Jul 26, 2016 4:00 pm Post subject: question about /usr/portage/distfiles |
|
|
hi, everyone, i'm curios, can content of /usr/portage/distfiles be safely deleted?
and also - can i move it to NFS location for to be used for several machines? |
|
Back to top |
|
|
sabayonino Veteran
Joined: 03 Jan 2012 Posts: 1014
|
Posted: Tue Jul 26, 2016 6:24 pm Post subject: |
|
|
Hi
Yes it can.
distfiles is the location where the source packages are stored.
you can also manage all packages with
(provided by app-portage/gentoolkit)
see
or
cheers _________________ LRS i586 on G.Drive
LRS x86-64 EFI on MEGA |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30909 Location: here
|
Posted: Tue Jul 26, 2016 6:29 pm Post subject: Re: question about /usr/portage/distfiles |
|
|
leonchik1976 wrote: | hi, everyone, i'm curios, can content of /usr/portage/distfiles be safely deleted? |
Yes, the folder contains only sources of packages you have installed. You can remove manually with rm or use command eclean-dist (gentoolkit).
leonchik1976 wrote: | and also - can i move it to NFS location for to be used for several machines? |
I haven't experience with sharing distfiles but a quick search in google I have found this and this _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Syl20 l33t
Joined: 04 Aug 2005 Posts: 619 Location: France
|
Posted: Fri Jul 29, 2016 12:06 pm Post subject: Re: question about /usr/portage/distfiles |
|
|
leonchik1976 wrote: | can i move it to NFS location for to be used for several machines? |
Yes, you can.
You can also set up a rsync server for /usr/portage on one cumputer, and then all the others could emerge --sync without internet access. |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Fri Jul 29, 2016 1:17 pm Post subject: |
|
|
I used to have a local portage rsync mirror on a server, but that broke with the move to git.
I was also using http_replicator for a while, but that grew increasingly brittle, so last time I had to work around it on my clients, I kind of forgot to set them back.
Instead, this week I set up portage on nfs, except I'm running nfsv4, but that should be minor. As suggested, I have two mount points, read-only for the whole portage tree, and read-write for distfiles. I haven't actually used this setup yet, we'll see how it goes this weekend, when I normally do my "weekend update". (TM - SNL) _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
|