On Mon, 17 May 2010 13:50:02 +0200, Neil Bothwick wrote about Re:
[gentoo-user] [SOLVED] identical drives, different free space!:

>On Mon, 17 May 2010 12:31:17 +0100, David W Noon wrote:
>
>> >> Well, it turns out I have the distfiles mounted with --bind to my
>> >> ftp/pub directory.  And looking in the rsync man page:  
>> >
>> >Why not set $DISTDIR to the true location of distfiles instead of
>> >using bind mounts?  
>> 
>> Because binding the directory to /home/ftp/pub makes the distfiles
>> available to the rest of one's network via anonymous ftp.  I do the
>> same thing here, without the "pub" subdirectory, and
>> exclude /home/ftp/ from my backups.
>
>So the distfiles are actually in /usr/portage/distfiles?

Correct.

>I share my distfiles but I don't use FTP as that means storing copies
>of the same file on each computer. Instead, I use NFS. /mnt/portage is
>shared across all machines on the network and DISTDIR is set
>to /mnt/portage/distfiles in each make.conf.

I used to do that, but it meant my NFS server had to be running to
perform any software maintenance on any box, so it became a single point
of failure. The FTP approach allows each box to be self-reliant.

>Sharing /mnt/portage like this means I can also share my overlay across
>the network at /mnt/portage/local.

My boxes have different stuff in their overlays, and one uses no
overlay packages at all.  Sharing overlays doesn't make much sense for
my set-up.
-- 
Regards,

Dave  [RLU #314465]
======================================================================
dwn...@ntlworld.com (David W Noon)
======================================================================

Attachment: signature.asc
Description: PGP signature

Reply via email to