Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2003 11:56:53 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        kalts@estpak.ee
Cc:        FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Re: running tunefs during boot???
Message-ID:  <3EE9F445.2070405@potentialtech.com>
In-Reply-To: <20030613085502.GA3751@kevad.internal>
References:  <20030613151832.GA90119@ns2.wananchi.com> <20030613085502.GA3751@kevad.internal>

next in thread | previous in thread | raw e-mail | index | archive | help
Vallo Kallaste wrote:
> On Fri, Jun 13, 2003 at 06:18:32PM +0300, ODHIAMBO Washington
> <wash@wananchi.com> 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.


Keep in mind that you only need to run 'tunefs -n disable /' once and it
will stay that way until re-enabled.

Why not just reboot to singl-user mode, issue the command while / is
mounted read-only and reboot?


-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EE9F445.2070405>