From owner-freebsd-questions Wed Aug 19 07:45:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA22263 for freebsd-questions-outgoing; Wed, 19 Aug 1998 07:45:01 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from seedlab1.cropsci.ncsu.edu (seedlab1.cropsci.ncsu.edu [152.1.88.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA22255 for ; Wed, 19 Aug 1998 07:44:56 -0700 (PDT) (envelope-from bsdbob@seedlab1.cropsci.ncsu.edu) Received: (from bsdbob@localhost) by seedlab1.cropsci.ncsu.edu (8.8.8/8.8.8) id KAA03148; Wed, 19 Aug 1998 10:39:28 -0400 (EDT) (envelope-from bsdbob) From: "Robert D. Keys" Message-Id: <199808191439.KAA03148@seedlab1.cropsci.ncsu.edu> Subject: Re: linking /usr/src/ to /var/ftp ? In-Reply-To: from Spidey at "Aug 19, 98 09:33:08 am" To: beaupran@jsp.umontreal.ca (Spidey) Date: Wed, 19 Aug 1998 10:39:26 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Is it possible and/or secure? It may be possible, but it is probably not what you want to do, if I am reading you correctly. > I would wish to publish the FreeBSD sources in my ftp server without > having to duplicate them. I tried ln -s, but an anonymous login gives me > 'No such file or directory.' > > Anyway, is /usr/src/ the same source tree as > ftp://ftp.freebsd.org/2.2.7-RELEASE/ (I'm on 227R...) ??? No. IF I am reading you correctly, you want to set up some sort of FBSD archive site for local installs. That is a good way to do things, and makes for fast installs, once loaded up the first time on the local ftp server. If you want to set up an ftp archive site for installing FBSD, you might want to do it something like this.... 1. When installing the machine originaly, DO NOT put ftp in /var. Make him located in /home or /usr/home as others, so that he has plenty of room to play in, OR, make /var plenty big to handle the RELEASE space needed (150 megs minimally, for the basic suite less all the tons of packages and ports distfiles). There may be pro and con for keeping ftp in var, but I have always set him up elsewhere, since I usually drop a lot of junk there for remote use. 2. Set up the X.X.X-RELEASE tree in /home/ftp/pub just like it is on freebsd.org (/home/ftp or /usr/home/ftp, or use a separate fs if that is workable). /home/ftp/pub/2.2.7-RELEASE/cdrom.inf /xxxx.TXT (the install guides, etc) /floppies /bin /manpages (etc to suit) 3. Then when installing on other machines, point them to your local ftp archive box to do the install. It works great, and I do that all the time on my home and office networks. An install on another box takes around 15-30 minutes that way. IF you are actually wanting to mirror the actual source tree, tar it up and put in in the ftp rather than link it so you keep a pristine protected source tree in /usr, IMHO. The space considerations in the ftp login still apply... have plenty of space available. Good Luck RDK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message