running tunefs during boot???
wmoran at potentialtech.com
Fri Jun 13 08:57:08 PDT 2003
Vallo Kallaste wrote:
> On Fri, Jun 13, 2003 at 06:18:32PM +0300, ODHIAMBO Washington
> <wash at 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?
More information about the freebsd-questions