From owner-freebsd-stable@FreeBSD.ORG Mon Dec 18 07:55:43 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9E4416A40F; Mon, 18 Dec 2006 07:55:43 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from ramstind.fig.ol.no (ramstind.fig.ol.no [128.39.174.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F42443C9F; Mon, 18 Dec 2006 07:55:38 +0000 (GMT) (envelope-from trond@fagskolen.gjovik.no) Received: from ramstind.fig.ol.no (Ximalas@localhost [127.0.0.1]) by ramstind.fig.ol.no (8.13.6/8.13.6) with ESMTP id kBI7gMxu001943 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 18 Dec 2006 08:42:22 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by ramstind.fig.ol.no (8.13.6/8.13.6/Submit) with ESMTP id kBI7gLXK001940; Mon, 18 Dec 2006 08:42:22 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: ramstind.fig.ol.no: trond owned process doing -bs Date: Mon, 18 Dec 2006 08:42:21 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Doug Barton In-Reply-To: <4585B13F.9060109@FreeBSD.org> Message-ID: <20061218084117.V88614@ramstind.fig.ol.no> References: <20061217100614.R47398@ramstind.fig.ol.no> <4585B13F.9060109@FreeBSD.org> Organization: =?ISO-8859-1?Q?Fagskolen_i_Gj=F8vik?= MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-628390267-1166427741=:88614" X-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham X-Spam-Checker-Version: SpamAssassin on ramstind.fig.ol.no Cc: FreeBSD stable Subject: Re: tmpmfs="YES" and going from single user to multi user mode X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Dec 2006 07:55:44 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-628390267-1166427741=:88614 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Sun, 17 Dec 2006 13:06-0800, Doug Barton wrote: > We look forward to your patches to implement that suggestion. You > might want to ask on the freebsd-rc@ list if you need help. How about this patch? *** /etc/rc.d/tmp Sun May 7 06:00:26 2006 --- tmp Mon Dec 18 08:40:40 2006 *************** *** 42,49 **** # case "${tmpmfs}" in [Yy][Ee][Ss]) ! mount_md ${tmpsize} /tmp "${tmpmfs_flags}" ! chmod 01777 /tmp ;; [Nn][Oo]) ;; --- 42,54 ---- # case "${tmpmfs}" in [Yy][Ee][Ss]) ! if [ -n "`mount | grep '/tmp' | grep '^/dev/md'`" ]; then ! echo "*** /tmp is already mounted as a MFS." ! echo "*** No need to mount yet another MFS." ! else ! mount_md ${tmpsize} /tmp "${tmpmfs_flags}" ! chmod 01777 /tmp ! fi ;; [Nn][Oo]) ;; -- ---------------------------------------------------------------------- Trond Endrestøl | trond@fagskolen.gjovik.no Patron of The Art of Computer Programming| FreeBSD 6.1-S & Pine 4.64 --0-628390267-1166427741=:88614--