public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael <confabulate@kintzios.com>
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	[thread overview]
Message-ID: <3134643.5fSG56mABF@lenovo.localdomain> (raw)
In-Reply-To: <tkoigl$ujq$1@ciao.gmane.io>

[-- Attachment #1: Type: text/plain, Size: 1120 bytes --]

On Saturday, 12 November 2022 16:44:05 GMT Grant Edwards wrote:
> On 2022-11-12, Michael <confabulate@kintzios.com> 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?

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2022-11-12 19:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-08  3:31 [gentoo-user] e2fsck -c when bad blocks are in existing file? Grant Edwards
2022-11-08 13:20 ` Michael
2022-11-08 14:28   ` [gentoo-user] " Grant Edwards
2022-11-08 17:55     ` Laurence Perkins
2022-11-08 18:49       ` Michael
2022-11-08 21:52       ` John Covici
2022-11-09 23:31       ` Grant Edwards
2022-11-09 23:54         ` Wol
2022-11-10  0:18           ` Grant Edwards
2022-11-10  0:37             ` Laurence Perkins
2022-11-08 18:24   ` [gentoo-user] " Wols Lists
2022-11-09  8:46     ` Michael
2022-11-09 16:53       ` Laurence Perkins
2022-11-12 13:38         ` Michael
2022-11-12 16:44           ` [gentoo-user] " Grant Edwards
2022-11-12 19:34             ` Michael [this message]
2022-11-13  3:54               ` Grant Edwards
2022-11-14 16:37                 ` Laurence Perkins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3134643.5fSG56mABF@lenovo.localdomain \
    --to=confabulate@kintzios.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox