A litmus check request
Dave Babb
dcbdbis at comcast.net
Mon Sep 8 21:37:42 UTC 2014
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.....
Can someone more experienced than me in FreeBSD offer commentary if this
setup will keep intermediate and temporary object files in ram (tmpfs),
rather than beat up my SSD with a bunch of small writes?
I am not worried about running out of ram...I have 32Gb of it installed...
Thanks you!
Sincerely and respectfully,
Dave
-------------- next part --------------
# Daves customized fstab for FreeBSD
#
#
# First Lines are for system required entries
# Device Mountpoint FStype Options Dump Pass#
# keep temporary files and in ram rather than wear out the SSD
tmpfs /tmp tmpfs rw,mode=01777 0 0
tmpfs /usr/home/dcbdbis/RamDisk tmpfs rw 0 0
tmpfs /usr/obj tmpfs rw,mode=01777 0 0
# Keeps OpenJDK happy and some linux apps as well
fdesc /dev/fd fdescfs rw 0 0
proc /proc procfs rw 0 0
# -------------------------------------------------------
# End of system level fstab entries, now on to the devices
# -------------------------------------------------------
# Device Mountpoint FStype Options Dump Pass#
# /dev/ada0p2 is the root drive
/dev/ada0p2 / ufs rw,noatime 1 1
# /dev/ada1p1, Backup-1
/dev/gpt/Backup-1 /media/Backup-1 ufs rw,noatime 0 2
# /dev/ada2p1, Backup-2
/dev/gpt/Backup-2 /media/Backup-2 ufs rw,noatime 0 2
# /dev/ada3p3, Misc storage and VM's
/dev/gpt/Misc /media/Misc ufs rw,noatime 0 2
More information about the freebsd-questions
mailing list