From owner-freebsd-questions@FreeBSD.ORG Mon Apr 10 13:23:47 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D58F16A403 for ; Mon, 10 Apr 2006 13:23:47 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35E4743D46 for ; Mon, 10 Apr 2006 13:23:43 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (aris.bedc.ondsl.gr [62.103.39.226]) (authenticated bits=128) by igloo.linux.gr (8.13.6/8.13.6/Debian-1) with ESMTP id k3ADNEEC007600 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 10 Apr 2006 16:23:24 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k3ADOD3V041911; Mon, 10 Apr 2006 16:24:13 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k3ADODeZ041910; Mon, 10 Apr 2006 16:24:13 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 10 Apr 2006 16:24:13 +0300 From: Giorgos Keramidas To: Wil Hatfield Message-ID: <20060410132413.GB41848@gothmog.pc> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.379, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.82, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Partitioning on existing system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2006 13:23:47 -0000 On 2006-04-09 18:56, Wil Hatfield 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