I have been reading The Handbook regarding how to partition a disk when installing FreeBSD (https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-partitioning.html) and I am confused as to how to split up the installation on a disk - I'm still not sure what goes where.
Do I need this layout?
And how do I go about splitting the installation over two disks where one of them is SSD?
I assume freebsd-boot should be on SSD, but what about freebsd-swap?
Do I need this layout?
- freebsd-boot - Holds the FreeBSD boot code.
- freebsd-ufs - A FreeBSD UFS file system.
- freebsd-swap - FreeBSD swap space.
Example 2.1. Creating Traditional Split File System Partitions
For a traditional partition layout where the /, /var, /tmp, and /usr directories are separate file systems on their own partitions, create a GPTpartitioning scheme, then create the partitions as shown. Partition sizes shown are typical for a 20G target disk. If more space is available on the target disk, larger swap or /var partitions may be useful. Labels shown here are prefixed with ex for “example”, but readers should use other unique label values as described above.
By default, FreeBSD's gptboot expects the first UFS partition to be the / partition.
Partition Type Size Mountpoint Label
freebsd-boot 512K
freebsd-ufs 2G / exrootfs
freebsd-swap 4G exswap
freebsd-ufs 2G /var exvarfs
freebsd-ufs 1G /tmp extmpfs
freebsd-ufs accept the default (remainder of the disk) /usr exusrfs
And how do I go about splitting the installation over two disks where one of them is SSD?
I assume freebsd-boot should be on SSD, but what about freebsd-swap?