On 2006-04-09 18:56, Wil Hatfield <[EMAIL PROTECTED]> 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

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to