From owner-freebsd-stable@FreeBSD.ORG Sun Dec 17 09:15:13 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 06B3516A40F for ; Sun, 17 Dec 2006 09:15:13 +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 2694943CA1 for ; Sun, 17 Dec 2006 09:15:11 +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 kBH9F7VY082273 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 17 Dec 2006 10:15:07 +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 kBH9F6MZ082270 for ; Sun, 17 Dec 2006 10:15:07 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: ramstind.fig.ol.no: trond owned process doing -bs Date: Sun, 17 Dec 2006 10:14:53 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: FreeBSD stable Message-ID: <20061217100614.R47398@ramstind.fig.ol.no> Organization: =?ISO-8859-1?Q?Fagskolen_i_Gj=F8vik?= MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-533167660-1166346893=:47398" X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=failed X-Spam-Checker-Version: SpamAssassin on ramstind.fig.ol.no Subject: 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 09:15:13 -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-533167660-1166346893=:47398 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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). Trond. - -- - ---------------------------------------------------------------------- Trond Endrestøl | trond@fagskolen.gjovik.no Patron of The Art of Computer Programming| FreeBSD 6.1-S & Pine 4.64 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFhQqabYWZalUoElsRAhGzAJ4/BEMeon1m/atETo6iBgMJKYV+DgCfa/Vs vIgPqhnjF6nnxRsrg12jQFc= =duCI -----END PGP SIGNATURE----- --0-533167660-1166346893=:47398--