Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 1998 22:30:34 -0400 (EDT)
From:      Spidey <beaupran@jsp.umontreal.ca>
To:        "Robert D. Keys" <bsdbob@seedlab1.cropsci.ncsu.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: linking /usr/src/ to /var/ftp ?
Message-ID:  <Pine.BSF.3.96.980819222802.22019B-100000@outpost.nada.org>
In-Reply-To: <199808191439.KAA03148@seedlab1.cropsci.ncsu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980819222802.22019B-100000>