[systemd-devel] nspawn does not mount /dev/shm
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Sun Sep 16 08:38:59 PDT 2012
On Sun, Sep 16, 2012 at 05:08:42PM +0200, Kay Sievers wrote:
> On Sun, Sep 16, 2012 at 4:25 PM, Zbigniew Jędrzejewski-Szmek
> <zbyszek at in.waw.pl> wrote:
> > On Sat, Sep 15, 2012 at 09:57:00PM +0200, Pierre Schmitz wrote:
> >>
> >> systemd-nspawn does not create a tmpfs mount to /dev/shm. Is this an
> >> oversight or intentional?
> > nspawn has recently grown abilities to add /dev/fd, /dev/stdin,
> > /dev/stdout, /dev/stderr. I think that /dev/shm should be added to.
> > I pushed a change to do that to git now.
>
> Ugh, /dev is a tmpfs already. Why do we want another one on top?
Hi,
we would either need to mkdir&chmod, or mount. Mounting seems nicer, because
the user can than remount to change the size, etc. Mounting is also just
one line in a table :).
Zbyszek
More information about the systemd-devel
mailing list