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

Re: systemd and initial tmpfs mounts



Am 08.12.2016 um 13:32 schrieb Andreas Born:
> Hi all,
> 
> earlier in SysV there was /etc/default/tmpfs to configure the initial mounts
> like /run, /run/lock, /dev/shm, /tmp and so on. Now with systemd there is
> /lib/systemd/system/tmp.mount as unit file for /tmp, but where are the other
> tmpfs mounts configured? Which part of systemd is responsible for them?
> 
> (I need to setup size and options)

systemd has hard-coded defaults for them [1].
Overriding those entries is simple: Just add an entry to /etc/fstab with
the options you want.



[1]
https://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/src/core/mount-setup.c#n73


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: