From owner-freebsd-stable@FreeBSD.ORG Sun Dec 17 21:06:28 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 4ED5B16A512 for ; Sun, 17 Dec 2006 21:06:28 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.FreeBSD.org (Postfix) with SMTP id E00A843CB4 for ; Sun, 17 Dec 2006 21:06:17 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 7541 invoked by uid 399); 17 Dec 2006 21:06:23 -0000 Received: from localhost (HELO ?192.168.0.5?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 17 Dec 2006 21:06:23 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <4585B13F.9060109@FreeBSD.org> Date: Sun, 17 Dec 2006 13:06:07 -0800 From: Doug Barton Organization: http://www.freebsd.org/ User-Agent: Thunderbird 1.5.0.8 (X11/20061215) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Trond_Endrest=F8l?= References: <20061217100614.R47398@ramstind.fig.ol.no> In-Reply-To: <20061217100614.R47398@ramstind.fig.ol.no> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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: Sun, 17 Dec 2006 21:06:28 -0000 Trond Endrestøl wrote: > Hi, > > After going to single user mode and back to multi user mode on a > system with tmpmfs="YES" in /etc/rc.conf, I wound up with these > filesystems: > > trond@enterprise:~>df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 9195750 3179348 5280742 38% / > devfs 1 1 0 100% /dev > /dev/md0 63214 14 58144 0% /tmp > procfs 4 4 0 100% /proc > /dev/md1 63214 20 58138 0% /tmp > > There should either be a shutdown script that unmounts /tmp when > tmpmfs="YES" and /tmp is indeed mounted as a MFS, or the startup > script should check to see if /tmp is already mounted (as a MFS) > before attempting mount the MFS (again). We look forward to your patches to implement that suggestion. You might want to ask on the freebsd-rc@ list if you need help. Good luck, Doug -- This .signature sanitized for your protection