From owner-freebsd-current@freebsd.org Wed Dec 23 01:38:08 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8115DA4F562 for ; Wed, 23 Dec 2015 01:38:08 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6F80014E8 for ; Wed, 23 Dec 2015 01:38:08 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6BFCCA4F561; Wed, 23 Dec 2015 01:38:08 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6B8D9A4F560 for ; Wed, 23 Dec 2015 01:38:08 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from aibo.runbox.com (aibo.runbox.com [91.220.196.211]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3241214E7 for ; Wed, 23 Dec 2015 01:38:07 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from [10.9.9.241] (helo=rmm6prod02.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1aBYNK-0008MO-NX for current@freebsd.org; Wed, 23 Dec 2015 02:37:58 +0100 Received: from mail by rmm6prod02.runbox.com with local (Exim 4.76) (envelope-from ) id 1aBYNK-0000GZ-NA for current@freebsd.org; Wed, 23 Dec 2015 02:37:58 +0100 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [Authenticated user (846156)] by runbox.com with http (RMM6); for ; Wed, 23 Dec 2015 01:37:58 GMT From: "Jeffrey Bouquet" Reply-To: jbtakk@iherebuywisely.com To: "current" Subject: Q about fsck_ffs usage detail... Date: Tue, 22 Dec 2015 17:37:58 -0800 (PST) X-Mailer: RMM6 Message-Id: X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2015 01:38:08 -0000 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... )=