Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2013 15:25:21 +0100
From:      Polytropon <freebsd@edvax.de>
To:        "Thomas Mueller" <mueller6724@bellsouth.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Source tree and ports tree on Linux file system?
Message-ID:  <20131114152521.3bdf5d75.freebsd@edvax.de>
In-Reply-To: <62.0E.02506.E30B4825@cdptpa-oedge01>
References:  <62.0E.02506.E30B4825@cdptpa-oedge01>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Nov 2013 11:13:02 +0000, Thomas Mueller wrote:
> Can FreeBSD build from source with source tree on Linux ext2fs
> partition, and subsequently compile ports from such partition,
> using USB-stick installation of FreeBSD 9.x?
> 
> That would be useful if FreeBSD Ethernet driver doesn't work.
> 
> This is mainly a matter of curiosity, since I used a NetBSD-current
> amd64 installation, where the Ethernet driver worked, with
> subversion built from pkgsrc.
> 
> In this latter case, file system was ffsv2 aka UFS2.

I think the /usr/src and /usr/ports tree can be "read only"
when they are "sourced" for building purposes. It's just
important where /usr/obj and the working directories for
stuff from /usr/ports are mapped to. If you have more than
enough RAM, you can make a memory disk and locate them
there. Otherwise, using a UFS partition (wherever it is
actually located) sounds better. The ports collection
allows setting a "working directory prefix" to move the
creation of files out of /usr/ports. Pay attention to
also deal with /usr/ports/distfiles (where the source
archives are stored) and /usr/ports/packages (if you're
going to build packages).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131114152521.3bdf5d75.freebsd>