On 01/10/2017 12:20 AM, Drew White wrote:
> Hi folks,
> 
> I want to increase the size of the tmpfs for the system, but I am
> unsure of how that would be done in Qubes so that it sticks.
> 
> I altered the FSTAB but it didn't keep the settings after reboot.
> 
> It's a standalone guest, it should be persistent.
> 
> What do I do please?
> 
Hi Drew;
that's another one of the wonderfully undocumented effects of systemd.

Long story short: edit
/usr/lib/systemd/system/tmp.mount.d/30_qubes.conf, and set size=$manyG

Long story: systemd performs mounts with .mount unit files; by default,
if no "Options=" setting is specified, the parameters are read from
/etc/fstab like an old school distro.

But, if "Options=" is specified, those options are merged with the ones
in /etc/fstab. In the case of Qubes, these options are further
customized in the $name.mount.d/ directory; since those options do
specify the tmpfs size, this setting overrides the one set in /etc/fstab.

-- 
Alex

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/9ff6eed0-fa3d-b6b9-ced1-5dff080fd530%40gmx.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to