git: rc.d/mounttmpfs: Avoid duplicate tmpfs mount at /tmp
Aaron LI
aly at crater.dragonflybsd.org
Sun Feb 14 06:46:43 PST 2021
commit 34d4e58775400f489611e8739351dc27f392a6ec
Author: Aaron LI <aly at aaronly.me>
Date: Sun Feb 14 22:45:13 2021 +0800
rc.d/mounttmpfs: Avoid duplicate tmpfs mount at /tmp
Newer DragonFly installation already mounts a tmpfs at /tmp, as
configured in /etc/fstab. So check whether /tmp is already a mount
point before mounting a tmpfs there to prevent the duplicate mounts.
Reported-by: swildner
Summary of changes:
etc/rc.d/mounttmpfs | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/34d4e58775400f489611e8739351dc27f392a6ec
--
DragonFly BSD source repository
More information about the Commits
mailing list