Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2006 16:24:13 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Wil Hatfield <freebsd@hyperconx.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Partitioning on existing system
Message-ID:  <20060410132413.GB41848@gothmog.pc>
In-Reply-To: <NGBBKBOMKLFOJCCDHPEOKEDOPPAA.freebsd@hyperconx.com>
References:  <NGBBKBOMKLFOJCCDHPEOEEDNPPAA.freebsd@hyperconx.com> <NGBBKBOMKLFOJCCDHPEOKEDOPPAA.freebsd@hyperconx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-04-09 18:56, Wil Hatfield <freebsd@hyperconx.com> wrote:
> > tmpmfs="YES"
> > tmpsize="100m"
> > tmpmfs_flags="-S -M -o noexec,nosuid"
> >
> > Is there something wrong with this because it isn't creating a
> > /tmp at all.
> >
> > Copyright (c) 1992-2006 The FreeBSD Project.
> > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> >         The Regents of the University of California. All rights reserved.
> > FreeBSD 6.1-PRERELEASE #4: Mon Apr  3 22:25:51 PDT 2006
>
> Ok, I am going to solve my own problem just for search engine food.
>
> Aside from adding the rc.conf variables there has to also be a /tmp folder
> in the first place. I don't know why.

Because that's the "mount point" where the memory disk is attached.
As usual, you need a directory to hook new mount entries onto :)

> I would figure that if needed that
> that would be part of the boot scripts. But it isn't, so for us tmpmfs
> newbies:
>
> Create an empty /tmp folder
>
> Add the following to rc.conf:
> tmpmfs="YES"
> tmpsize="50m"
> tmpmfs_flags="-S -M -o noexec,nosuid"
> clear_tmp_enable="YES"
>
> reboot




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060410132413.GB41848>