[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Latest Jessie doesn't respond to /etc/default/tmpfs "RAMTMP=yes"



On Jul 28, 2014, at 3:16 PM, Michael Biebl <biebl@debian.org> wrote:

> In this particular case that would mean creating a directory
> /etc/systemd/system/tmp.mount.d/, then placing a .conf file in there
> setting your custom options.
> 
> 
> That all said, using /etc/fstab is perfectly fine if you need to tweak
> the /tmp tmpfs settings.
> 
> An entry from /etc/fstab will override any existing tmp.mount unit.

so I would:

	mkdir /etc/systemd/system/tmp.mount.d/
	echo “[Mount]” > /etc/systemd/system/tmp.mount.d/tmp.mount.conf
	echo “Options=mode=1777,strictatime,size=20%” > /etc/systemd/system/tmp.mount.d/tmp.mount.conf

then reboot.

Right?  I tried this and it seems to work…

Rick


Reply to: