8.2 Alternative Mounting

If you want to mount /ports inside your PortsTree or /src inside your Jail via nullfs or NFS from another location, use -m switch to create.

Examples for NFS:

# ./tc createPortsTree -p FreeBSD -m server:/directory
# ./tc createJail -j 9-FreeBSD -m server:/directory

Examples for nullfs:

# ./tc createPortsTree -p FreeBSD -m /directory
# ./tc createJail -j 9-FreeBSD -m /directory

Tinderbuild will ensure that these file systems are correctly mounted so you do not need to mount them by your own before calling tinderbuild.

If you want to change these settings later, use:

# ./tc setPortsMount -p {portstreename} -m {mount path}
# ./tc setSrcMount -j {jailname} -m {mount path}