Re: FreeBSD 16 with tmpfs=/tmp?
Dag-Erling Smørgrav <[email protected]> Thu, 14 May 2026 12:33:33 +0200
| Newsgroups | gmane.os.freebsd.devel.hackers |
|---|---|
| Message-ID | <[email protected]> |
Olivier Certner <[email protected]> writes: > Dag-Erling Smørgrav <[email protected]> writes: > > The script is named tmp because that's what it provides. > No, '/tmp' may already be provided by the root FS. Anyway, I proposed > other ways. It may be provided by the root service, but it's more commonly provided by either the mountcritlocal or zfs service, and the purpose of the tmp service is to make sure that the system has a writable /tmp if neither root, mountcritlocal, or zfs provided one. Services that need a writeable /tmp depend on “tmp” and don't care how it's provided; renaming the service to “tmpmfs” would be counterproductive. FWIW, the tmpsize variable has existed for 25 years, longer than there's been a tmp service (it was originally handled by the now-defunct rc.diskless script) and imo renaming it now is change for change's sake. Leave well enough alone. DES -- Dag-Erling Smørgrav - [email protected]