A litmus check request

Roland Smith rsmith at xs4all.nl
Tue Sep 9 19:23:57 UTC 2014

On Mon, Sep 08, 2014 at 03:37:36PM -0600, Dave Babb wrote:
> I am about to do a lot of compiling. My copy of FreeBSD10.0 x64 P7 runs
> on a 1TB Samsung EVO. I used wblock's excellent articles to set it all
> up so that trim was utilized.
> I am asking that someone please review this attached fstab and validate
> for me, that at no time will any compilation intermediate files, or ".o"
> files will be written to the SSD. I am trying to protect the SSD.
> The ramdisk is where I run Code::Blocks from, and I have a bash script
> handling everything. However, I build kernels frequently, and am about
> to embark on a recently awarded QT project for a municipality.
> In this fstab I have moved /usr/obj to tmpfs.....

Keep in mind that /usr/obj is only used for building the FreeBSD system

Ports are built in the ports tree. Generally under

You could use unionfs (see mount_unionfs(8)) to overlay a tmpfs over /usr/ports.
I've used unionfs with nullfs to use a single ports tree in multiple jails,
see: http://rsmith.home.xs4all.nl/freebsd/using-nullfs-and-unionfs-for-the-ports-tree-in-a-jail.html

R.F.Smith                                   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 5753 3324 1661 B0FE 8D93  FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20140909/c62e4beb/attachment.sig>

More information about the freebsd-questions mailing list