From owner-freebsd-questions@FreeBSD.ORG Sun Apr 9 18:08:23 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 9CD0A16A400 for ; Sun, 9 Apr 2006 18:08:23 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C06243D46 for ; Sun, 9 Apr 2006 18:08:23 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 28841 invoked from network); 9 Apr 2006 18:08:22 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Apr 2006 18:08:22 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 1429028425; Sun, 9 Apr 2006 14:08:22 -0400 (EDT) Sender: lowell@be-well.ilk.org To: "Wil Hatfield" References: From: Lowell Gilbert Date: 09 Apr 2006 14:08:21 -0400 In-Reply-To: Message-ID: <44wtdyipuy.fsf@be-well.ilk.org> Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Sun, 09 Apr 2006 18:08:23 -0000 "Wil Hatfield" writes: > > Thanks for the great kick in the right direction. Is it really > > this easy? I > > guess so cause it is working. I dropped in a helloworld script, chmoded it > > and even as root I couldn't run it. Supreme! > > > > mdmfs -M -o noexec,nosuid -s 100m md0 /tmp > > chmod 1777 /tmp > > > > Ahhh crud! I guess it isn't that easy. After a reboot the old /tmp comes > back with executable permissions. What do I have to do to keep the device > around? "tmpmfs" and related variables in rc.conf(5). By default it does a memory-backed disk instead of file-backed, but that can be adjusted. Personally, I find memory-backed /tmp to be more useful anyway. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/