Re: FreeBSD 16 with tmpfs=/tmp?

Olivier Certner <[email protected]> Wed, 13 May 2026 18:25:34 +0200
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <2992656.UcPf6a0QyJ@ravel>
> > I would rename 'tmpsize' to 'tmpmfs_size' to be consistent with naming.

It's indeed pretty clear the naming is inconsistent.

> No.  The service name is tmp, not tmpmfs.  And renaming the variable
> would break working systems.

We can't rename the variable in current releases, but we can have new aliases and could deprecate the existing names for the next major release.

And while here, indeed the service name is currently 'tmp' but its only purpose is to provide a memory disk for '/tmp', so 'tmpmfs' could look like a better name.  'var' is similar, but it also populates '/var', so no straight renaming possible here (and a split of functionality does not seem worth the trouble).

Forgetting about renaming, we can still keep the property that the variable starts with the service name and an underscore, and augment it for sub-functionality as appropriate, e.g., use the prefixes 'tmp_' and/or 'tmp_mfs_', 'var_' and 'var_mfs_', etc.

So there are at least several possible ways to have more rational and palatable names then what we have today.

-- 
Olivier Certner
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCQAdFiEEmNCxHjkosai0LYIujKEwQJceJicFAmoEpf4ACgkQjKEwQJce
Jid40RAAny4q9mDDhT19u1r0cGsM7J5o7qZT67pgHQQAXyljS5kM1xK9njwEOIF0
H5lYLMd2xo5110ZM0eRSuXcTxjUIFBZIahYkvc7bmnih8T516GplA+a6Y8kaFD8l
6QfifHu+o7igtZd+AZsW5beyszRUpaw0Zmu/ALZ7/A5DaV6XGXhkFpluWEVo00LY
80SS54vWuPQFv2otitlr50MyPKDw0EN5cnU4s6Wr7uMpURRdX9cn0BVJfg7hf7Ct
WIxhG+skHUB3ORsdfUWPciMJ3y4s931+LwJ8uy3lN6rOKPegSXobmAqSWVYQq5CD
vVkr4Dj9P9E1LPf0dOLyu7v88ci7JJMzPik9/ai8vYv5W/eVX+yRIyxJ8qamThDh
+iOO7LLJwjQOnGYspH0z3HB7mDWMwE8G8lhDWBhmuQvBfWsk2OynNNRJsPQCLamo
W2vodhJzh/qOKTxZU+ben1WEhp/q1+i4u9kEh1WEpcAxl32/Z04+u9kLdCzqZbdi
bo1LDtEuP44THD7QUWytjBO+D8AqjnaSvV4ei+SW+ZAyVYRCh5ff3h2u26/vRX2q
eH5uAwF2C0HspFmnZbHl+vocTYT/tl4WiJzQRZpPCjmGFYtpJKJ6te3FopHszr8X
AVw5qK7G6dMa1CeoQ+RB6PdLW89kmUcU3uT6UfNmpqELkewFQ/I=
=xxp3
-----END PGP SIGNATURE-----