running tunefs during boot???
Vallo Kallaste
kalts at estpak.ee
Sat Jun 14 02:16:47 PDT 2003
On Fri, Jun 13, 2003 at 11:56:53AM -0400, Bill Moran
<wmoran at 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
More information about the freebsd-questions
mailing list