Q about fsck_ffs usage detail...

From: Jeffrey Bouquet <jbtakk_at_iherebuywisely.com>
Date: Tue, 22 Dec 2015 17:37:58 -0800 (PST)
After trial and error ( not easily crafted from the man page)
crafting the "mount" command below...

I've on a todo list a  once-in-a-while fsck_ffs  ( in single user mode
or init 1), each filesystem ( eventually ) so that journalling is double checked
as accurate (ufs2)

"mount -t ufs -o rw /dev/gtp/root /  "
( ^^ that, not easily crafted from the man page examples, unless it works
sometimes and does not work other times, or needs some precise
order.  This command worked today...)

So much for documentation.
On to the question.

The 'task' would be to run fsck_ffs -y on each filesystem once in a while.
However, after remounting root or some other filesystem rw, the
(NO_WRITE) still appears in fsck_ffs ... appearing to make the effort
moot.   (Since it also answers (No) to its resulting ?repair? questions...)

Fault of "init 1" rather than safe mode at boot, or some unintended not-working-yet
fault of fsck_ffs, or some easier way to accomplish the stated task?  

Apologies for not asking it elsewhere... seems like one or two persons reading
this list may know more than others and/or sometimes do the same
commands, every once in a while or after a crash to the debugger instance.

Thanks.
( Not really urgent that anyone answers.  More of an inquiry than a problem... at least at
r288246...  )
Received on Wed Dec 23 2015 - 00:38:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:01 UTC