Re: FreeBSD 16 with tmpfs=/tmp?
Frank Knobbe <[email protected]> Wed, 13 May 2026 10:02:55 -0500
| Newsgroups | gmane.os.freebsd.devel.hackers |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2026-05-13 at 10:36 +0200, Olivier Certner wrote: > > No, you need to manually add > > tmpmfs=yes > > to either /etc/rc.conf or /etc/rc.conf.d/tmp after installation. > > I would additionally recommend limiting the size of the /tmp > partition, with something like: > tmpsize="1024m" I would also recommend setting noexec and nosuid on /tmp (probably via tmpmfs_flags). Just remember to allow exec again before a "make installworld" and/or mergemaster run (and certain port installs). :) In my opinion, all this is part of after-installation tuning. Not sure if that's something the installer should deal with, or you could make many more request of post-install/tuning parameters for the installer. -Frank