[systemd-devel] [PATCH 08/10] units: make it possible to disable tmp.mount using systemctl
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Wed Jul 16 05:57:38 PDT 2014
On Wed, Jul 16, 2014 at 01:51:13PM +0200, Jon Severinsson wrote:
> > tmp.mount is part of our default expected setup and should behave like
> > this by default without any presets or configuration.
>
> Which is why I made `make install` enable it, which wasn't in the original
> patch for Debian.
>
> > It can be overridden by an entry in fstab just fine. Why is that needed?
>
> To my knowledge you can not create an fstab entry that would make /tmp not be
> mounted at all but remain part of /. It can be done by masking the unit, but
> enable/disable seems more appropriate than unmask/mask.
Yeah, especially that this makes it possible for the distribution to nicely
use presets to override the default.
I think that having /tmp on rootfs is legitimate, e.g. on memory
starved systems.
Zbyszek
More information about the systemd-devel
mailing list