*BSD News Article 89600


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!nntp.portal.ca!news.bc.net!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!news.sprintlink.net!news-peer.sprintlink.net!newsfeed.internetmci.com!uuneo.neosoft.com!dolphin.neosoft.com!nobody
From: conrads@neosoft.com (Conrad Sabatier)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Linking to /cdrom/ports
Date: Wed, 19 Feb 1997 06:19:31 -0600
Organization: NeoSoft, Inc.
Lines: 37
Message-ID: <j4ree5.8j.ln@dolphin.neosoft.com>
References: <2ep9e5.qm1.ln@dolphin.neosoft.com>
    <01bc1d8d$f2f09aa0$0342000a@southpole>
    <1mace5.ir1.ln@dolphin.neosoft.com> <330A628D.4487EB71@FreeBSD.org>
Reply-To: conrads@neosoft.com
NNTP-Posting-Host: 206.27.167.0
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35741

In article <330A628D.4487EB71@freebsd.org>,
	"Jordan K. Hubbard" <jkh@FreeBSD.org> writes:
> Conrad Sabatier wrote:
>> Ah, OK.  I think I get it now.  So, in other words, a
>> "lndir /cdrom/ports /usr/ports" would result in a read-only
>> /usr/ports dir, correct?
> 
> No. :-)
> 
> Doing it that way would result in a *writable* /usr/ports dir, which is
> the entire point of the exercise. :-)

More confused than ever now!  :-)

So then it *is* OK to do it like I did above?

> Perhaps you're hung up by the fact that the CD is read-only?  You can't
> write on a CD, Conrad, so how in the heck would you build a port by
> doing:
> 	cd /cdrom/ports/editors/emacs
> 	make
> 
> That's right, you couldn't.  Thus enter lndir! :-)

Right, I grasp that much.  :-)  What I'm still confused about is why the
handbook says to create a new directory, symlink /usr/ports to it, and
then lndir /usr/ports/ to /cdrom/ports.  Doesn't make sense to me.

If I lndir /cdrom/ports /usr/ports, won't /usr/ports be a writeable
directory?  So why the additional linking suggested in the handbook?

Conrad, feeling rather dense

-- 
Conrad Sabatier		http://www.neosoft.com/~conrads