From owner-freebsd-questions Wed Aug 19 19:30:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA25610 for freebsd-questions-outgoing; Wed, 19 Aug 1998 19:30:43 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from outpost.nada.org (derby.JSP.UMontreal.CA [132.204.45.26]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA25591 for ; Wed, 19 Aug 1998 19:30:24 -0700 (PDT) (envelope-from beaupran@jsp.umontreal.ca) Received: from localhost (beaupran@localhost) by outpost.nada.org (8.8.8/8.8.8) with SMTP id WAA02807; Wed, 19 Aug 1998 22:30:46 -0400 (EDT) (envelope-from beaupran@jsp.umontreal.ca) X-Authentication-Warning: outpost.nada.org: beaupran owned process doing -bs Date: Wed, 19 Aug 1998 22:30:34 -0400 (EDT) From: Spidey X-Sender: beaupran@outpost.nada.org To: "Robert D. Keys" cc: freebsd-questions@FreeBSD.ORG Subject: Re: linking /usr/src/ to /var/ftp ? In-Reply-To: <199808191439.KAA03148@seedlab1.cropsci.ncsu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 19 Aug 1998, Robert D. Keys wrote: > > 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. ok. > 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) this I knew already :) > 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. hmmm, ok but I don't have too much spare space... Isn't there any 'common' files or directories that are the same from /usr/src and ftp/pub/227rel...??? > 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. Sadly, I don't... thanks for the input! Spidey How 'bout a little ride through your own world? http://www.JSP.UMontreal.CA/~beaupran/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message