From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 08:54:59 2003 Return-Path: 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 6F1DF37B401 for ; Fri, 13 Jun 2003 08:54:59 -0700 (PDT) Received: from MX1.estpak.ee (ld1.estpak.ee [194.126.101.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5DB843F75 for ; Fri, 13 Jun 2003 08:54:57 -0700 (PDT) (envelope-from kalts@estpak.ee) Received: from kevad.internal (80-235-38-156-dsl.mus.estpak.ee [80.235.38.156]) by MX1.estpak.ee (Postfix) with ESMTP id 68D2B88B50; Fri, 13 Jun 2003 18:53:10 +0300 (EEST) Received: by kevad.internal (Postfix, from userid 1000) id 57BD12851D; Fri, 13 Jun 2003 11:55:02 +0300 (EEST) Date: Fri, 13 Jun 2003 11:55:02 +0300 From: Vallo Kallaste To: ODHIAMBO Washington , FBSD-Q Message-ID: <20030613085502.GA3751@kevad.internal> References: <20030613151832.GA90119@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030613151832.GA90119@ns2.wananchi.com> User-Agent: Mutt/1.5.4i Subject: Re: running tunefs during boot??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kalts@estpak.ee List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 15:54:59 -0000 On Fri, Jun 13, 2003 at 06:18:32PM +0300, ODHIAMBO Washington wrote: > For some strange reason, I would like to run `tunefs -n disable /` during the > bootup process, just before the file systems are mounted. > How can I safely achieve this? You cannot access the tunefs binary if the / filesystem is not mounted. You can use tunefs on the read-only mounted filesystem, for this purpose check out man rc.early(8) and look into /etc/rc. -- Vallo Kallaste