From e114c8953a6c1aaf35cca4aeb38de23bc4bf24ea Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 13 Sep 2004 17:40:14 +0000 Subject: A power failure left the temporary /var/.diskless directory on my system, and since then my /var was always created as MFS which was very surprising. Fix this for /tmp and /var. --- etc/rc.d/tmp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/rc.d/tmp') diff --git a/etc/rc.d/tmp b/etc/rc.d/tmp index 26cc64a90bc1..a39fd8c6d6a8 100644 --- a/etc/rc.d/tmp +++ b/etc/rc.d/tmp @@ -49,7 +49,7 @@ case "${tmpmfs}" in [Nn][Oo]) ;; *) - if (/bin/mkdir /tmp/.diskless 2> /dev/null); then + if (/bin/mkdir -p /tmp/.diskless 2> /dev/null); then rmdir /tmp/.diskless else if [ -h /tmp ]; then -- cgit v1.3