Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 1998 08:18:13 -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.980821080709.11471B-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.

yes, it's mainly to provide a small FreeBSD distibution site for the
latest release. I will host some kind of bbs here , and I would like to
distribute FreeBSD locally, for people who can't access the net.
 
> 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.

ok. How? I don't want to re-install! Where is it determined? Is it when
ftpd is compiled? If so, how do I re-compile _only_ ftpd? I searched man
ftpd and found nothing.

>     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).

The basic suite includes...? I don't think X would fit... Does somebody
out there even _knows_ how big the ./2.2.7-RELEASE/ dir is?

>     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.

I agree. But what are the pros and cons? Where could I find a discussion
or tutorial on this?
 
> 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.

great!
 
> 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. 

Yes, but isn't it bad to not have access to the /usr/src dir in case of
a... something? If I want to recompile something, I must un-tar it, and
move it! Isn't there a way to just link it???

> The space considerations in
> the ftp login still apply... have plenty of space available.

You see, that's the main problem. I don't have plenty of space...
 
> Good Luck
> 
> RDK
> 
> 

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.980821080709.11471B-100000>