Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2003 20:18:22 +0930
From:      "Rob" <listone@deathbeforedecaf.net>
To:        <wolfie@cotse.net>, <freebsd-questions@freebsd.org>
Subject:   Re: Sanity and /var/tmp
Message-ID:  <003d01c396f7$af223910$a4b826cb@goo>
References:  <200310191236.56846@X-tra>

next in thread | previous in thread | raw e-mail | index | archive | help
But rc.local runs at the end of the startup - if something has already
put files in /var/tmp, they're going to disappear....

Can't you use /etc/fstab to create & mount a memory disk?

----- Original Message -----
From: <wolfie@cotse.net>
Subject: Sanity and /var/tmp


> This may be an incredibly stupid. Nevertheless I'm gonna ask...
>
> (1) Is it safe and sane in a RELENG_5_1 system to create and use /var/
> tmp via a script in /etc/rc.local:
>
> [no entry in FSTAB]
> mdconfig -a -t swap -s ... -u 10
> newfs -O2 /dev/md10
> mount /md10 /var/tmp
> chmod 1777 /tmp
>
> (2) Am I sane?
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003d01c396f7$af223910$a4b826cb>