From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DF2CE158020 for ; Sat, 12 Nov 2022 19:34:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBFD8E08FF; Sat, 12 Nov 2022 19:34:14 +0000 (UTC) Received: from mail-gw.thundermail.uk (mail-gw.thundermail.uk [149.255.60.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 711D1E08DD for ; Sat, 12 Nov 2022 19:34:14 +0000 (UTC) Received: from mailgw01.thundermail.uk (uwhmailfgw01.unlimited.uk.net [149.255.60.67]) by mail-gw.thundermail.uk (Postfix) with ESMTPS id 24B4B60010F2 for ; Sat, 12 Nov 2022 19:34:13 +0000 (GMT) X-ASG-Debug-ID: 1668281652-0554133dd010dc630001-LfjuLa Received: from mailclean01.thundermail.uk (mailclean01.thundermail.uk [149.255.60.66]) by mailgw01.thundermail.uk with ESMTP id 1HlwkWT1n6KPpGoE (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 12 Nov 2022 19:34:12 +0000 (GMT) X-Barracuda-Envelope-From: confabulate@kintzios.com X-Barracuda-Effective-Source-IP: mailclean01.thundermail.uk[149.255.60.66] X-Barracuda-Apparent-Source-IP: 149.255.60.66 Received: from cloud220.unlimitedwebhosting.co.uk (cloud220.unlimitedwebhosting.co.uk [149.255.60.183]) by mailclean01.thundermail.uk (Postfix) with ESMTPS id C554C414FC for ; Sat, 12 Nov 2022 19:34:06 +0000 (GMT) Received: from lenovo.localdomain (230.3.169.217.in-addr.arpa [217.169.3.230]) by cloud220.unlimitedwebhosting.co.uk (Postfix) with ESMTPSA id 8EC49C7C680 for ; Sat, 12 Nov 2022 19:34:07 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kintzios.com; s=default; t=1668281647; bh=4kMwhDN9p1gj+Ylz0OYekndOHCiqHWQL3EipD2OV85w=; h=From:To:Subject; b=mIL5JwN21ROomtUj3EkoCj8g+GKuYoAbmdOlttzLo64kXx+SH+AqyAi0cElTmFKSb uP93nZsPL57pPsEmM+HqUhLSC2pTe1ZfZi0QwtpO8gPymN/DHyLiRxJjmtTyIU+Uxc RxW6MmidwgQI1xPGHWRgfyblsuvQwWD/VQbATqPo= From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: e2fsck -c when bad blocks are in existing file? Date: Sat, 12 Nov 2022 19:34:05 +0000 X-ASG-Orig-Subj: Re: [gentoo-user] Re: e2fsck -c when bad blocks are in existing file? Message-ID: <3134643.5fSG56mABF@lenovo.localdomain> In-Reply-To: References: <4228101.ejJDZkT8p0@lenovo.localdomain> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5777259.MhkbZ0Pkbq"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <166828164786.1368096.1456128786041912587@cloud220.unlimitedwebhosting.co.uk> X-PPP-Vhost: kintzios.com X-Spam-Status: No, score=-0.2 required=11.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Report: * -0.0 SPF_PASS SPF: sender matches SPF record * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from * author's domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from * envelope-from domain X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mailclean01.thundermail.uk X-Barracuda-Connect: mailclean01.thundermail.uk[149.255.60.66] X-Barracuda-Start-Time: 1668281652 X-Barracuda-Encrypted: TLS_AES_256_GCM_SHA384 X-Barracuda-URL: https://149.255.60.67:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at thundermail.uk X-Barracuda-Scan-Msg-Size: 1147 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.102095 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Archives-Salt: f37b9eab-1ec9-4bab-8488-47157c04485e X-Archives-Hash: 67be753da7ced5aaa63480410f199cfa --nextPart5777259.MhkbZ0Pkbq Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Date: Sat, 12 Nov 2022 19:34:05 +0000 Message-ID: <3134643.5fSG56mABF@lenovo.localdomain> In-Reply-To: MIME-Version: 1.0 On Saturday, 12 November 2022 16:44:05 GMT Grant Edwards wrote: > On 2022-11-12, Michael wrote: > > On Wednesday, 9 November 2022 16:53:13 GMT Laurence Perkins wrote: > >> Badblocks doesn't ask to write anything at the end of the run. You > >> tell it whether you want a read test, a write-read test or a > >> read-write-read-replace test at the beginning. > > > > Not to labour the point, but 'e2fsck -v -c' runs a read test and at > > the end it informs me "... Updating bad block inode", even if it > > came across no read errors (0/0/0) and consequently does not prompt > > for a fs repair. > > That's _e2fsck_ thats doing the writing at the end, not badblocks. The > statement was that _badblocks_ doesn't ask to write anything at the > end of the run. Thanks for correcting me, the badblocks man page also makes this clear. Unless an output file is specified, it will only display the list of bad blocks on its standard output. It's been a while since I had to run badblocks and forgot its behaviour. Have your questions been answered satisfactorily by Lawrence's contribution? --nextPart5777259.MhkbZ0Pkbq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmNv9S0ACgkQseqq9sKV ZxmAehAAhOFji4POpMdFFCzSQb2tGNo4EZqt4/R8dpkqZ6qzNL/uc3yun6e0FeTN IbaiV2vD4uG8AgDdQiXo0phYn3iqtE2MZXvv7BsccD97Vq1DEUyanlJvHKdCr9iF VeBGdXK1eNQ4gD50+LK8ceGrop6LriGqUnD+B/e66y9CfyZXha2CKCIsWUihDDNh VZ5WAA2b0jJusjQzijhEIf48kL9kkzaRuJRtez8HG0jMm1UFbUfmQJjeAKrWMAvv D0KvpDwmKiKoqzHZyGEncqF+NAnSpG7DwoGm/EdyULvUE2XiOZHBG/8UEp50zc2M bdJ9+SBsigxGH60Z+7bqfmZrC0cR8Q0Nilq51E3u49q/Ev2PlPqddONMLyFZSDR4 328xqCSB9jnK08qktDdUheqUoeVU1yTu40HIJixoWH3N+VCuPY61+/VVOH7R9FUT wkZo9u0JPdEuMrA6kzz9XHeuTwGedBcuDZM8Fm5nKvJUn+rD7xVMV2RPxoNeDZKy aYKTSs3+s21JhbCksum/O1pXdIpVEUfkShXSK9nmpfKQ0asSYPyycB5D8Jjo+Urw TkhPu7Y17XZGb2FDpjMXlQcCRmL+8pIvZXAuXWSp71+voX5Xgo0UGYd+O+d6kg+6 Q/aM1eMa5NhuSK4QMrrxbnXup/XL6Aqxo2V7Ly70Cmriqo5d6iQ= =ZDM0 -----END PGP SIGNATURE----- --nextPart5777259.MhkbZ0Pkbq--