From owner-freebsd-questions Thu Oct 5 16:46:50 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA28039 for questions-outgoing; Thu, 5 Oct 1995 16:46:50 -0700 Received: from everest (dtr.rain.com [204.119.8.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA28034 for ; Thu, 5 Oct 1995 16:46:46 -0700 From: bmk@dtr.com Received: (from bmk@localhost) by everest (8.6.11/8.6.9) id QAA00567; Thu, 5 Oct 1995 16:30:51 -0700 Message-Id: <199510052330.QAA00567@everest> Subject: Re: tunefs To: serges@umr.edu (Doug S.) Date: Thu, 5 Oct 1995 16:30:51 -0700 (PDT) Cc: freebsd-questions@freefall.freebsd.org In-Reply-To: from "Doug S." at Oct 5, 95 02:00:53 pm Reply-To: bmk@dtr.com X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 888 Sender: owner-questions@FreeBSD.org Precedence: bulk > Is there a way under FBSD to 'tunefs' the / filesystem, WITHOUT > creating another filesystem and without making an existing filesystem > bootable? (This is all to the best of my knowledge. I may be wrong. You've been warned. :) You must can only tunefs a dismounted filesystem - so you must do one of a few things: * Boot off a "fixit" floppy that has a statically linked tunefs on it. * Boot off another partition. Personally, I use the second method. In a multi-disk system, I set up a root filesystem on the second disk as well as the first. I periodically dump/restore the root filesystem to the "shadow" root. The only modification required on the shadow root is the location of root in /etc/fstab. This way I can still boot the system to perform maintenance even if my root disk fails. Makes reslicing your root disk easy instead of requiring a reinstall.