Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2015 17:37:58 -0800 (PST)
From:      "Jeffrey Bouquet" <jbtakk@iherebuywisely.com>
To:        "current" <current@freebsd.org>
Subject:   Q about fsck_ffs usage detail...
Message-ID:  <E1aBYNK-0000GZ-NA@rmm6prod02.runbox.com>

next in thread | raw e-mail | index | archive | help
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 ch=
ecked
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-wor=
king-yet
fault of fsck_ffs, or some easier way to accomplish the stated task?=20=20

Apologies for not asking it elsewhere... seems like one or two persons read=
ing
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...  )=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1aBYNK-0000GZ-NA>