Partitioning on existing system

Wil Hatfield freebsd at
Mon Apr 10 01:58:20 UTC 2006

> 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. I would figure that if needed that
that would be part of the boot scripts. But it isn't, so for us tmpmfs

Create an empty /tmp folder

Add the following to rc.conf:
tmpmfs_flags="-S -M -o noexec,nosuid"


Wil Hatfield

More information about the freebsd-questions mailing list