git: mtree - Pre-create a few more dirs under /var/run/shm

Matthew Dillon dillon at
Tue Jun 8 14:26:48 PDT 2021

commit afe1d93291224e00b106ff45a78150578eb6c619
Author: Matthew Dillon <dillon at>
Date:   Tue Jun 8 14:22:36 2021 -0700

    mtree - Pre-create a few more dirs under /var/run/shm
    * We already pre-create /var/run/shm/tmp, also pre-create
      /var/run/shm/dev/shm.  As with tmp, modes 1777.  This is just
      so prefixes commonly used in shm_open() (particularly in older
      code) have intermediate directories owned by root.

Summary of changes:
 etc/mtree/BSD.var.dist | 4 ++++
 etc/rc.d/mounttmpfs    | 2 ++
 2 files changed, 6 insertions(+)

DragonFly BSD source repository

More information about the Commits mailing list