On Feb 23, 2023, at 08:45, Robert Nichols <rnicholsnos...@comcast.net> wrote: > > If I want to use a tmpfs for /tmp, I can just enable the systemd tmp.mount > unit and get the default size limit of 1/2 of memory. If I want to reduce > that limit, I either have to fiddle with a systemd override or else put a > line in /etc/fstab just as in the days before systemd, and the systemd unit > will respect the size option there. > > But, that line in /etc/fstab can do the job on its own, so what's the point > of enabling the tmp.mount unit?
Putting a line in /etc/fstab is a functional equivalent of creating a tmp.mount that overrides the packaged one. When you have a line in fstab, on boot the systemd fstab generator creates a tmp.mount file in /run/systemd/ that overrides the OS tmp.mount. Any x-systemd mount options get translated into proper systemd options. -- Jonathan Billings _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue