Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2003 05:13:23 +0300
From:      Vallo Kallaste <kalts@estpak.ee>
To:        Bill Moran <wmoran@potentialtech.com>
Cc:        FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Re: running tunefs during boot???
Message-ID:  <20030614021323.GA1692@kevad.internal>
In-Reply-To: <3EE9F445.2070405@potentialtech.com>
References:  <20030613151832.GA90119@ns2.wananchi.com> <20030613085502.GA3751@kevad.internal> <3EE9F445.2070405@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 13, 2003 at 11:56:53AM -0400, Bill Moran
<wmoran@potentialtech.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?

You can't if the system is remote, except using serial console.
-- 
Vallo Kallaste



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