From: "Richard Purdie" <richard.purdie@linuxfoundation.org>
To: Claudius Heine <ch@denx.de>,
openembedded-core@lists.openembedded.org,
Henning Schild <henning.schild@siemens.com>,
Tom Zanussi <tom.zanussi@linux.intel.com>
Subject: Re: [RESEND for ML] wic: imager/direct: passno is set to 0 for all entries in the fstab
Date: Fri, 06 Nov 2020 10:02:05 +0000 [thread overview]
Message-ID: <f75a25804d34913e592233c06a9dfdafe6be0830.camel@linuxfoundation.org> (raw)
In-Reply-To: <d99177cb-0258-dc14-6f39-8b00e2b64415@denx.de>
On Fri, 2020-11-06 at 10:07 +0100, Claudius Heine wrote:
> I looked into periodic file system checks for ext* partitions, in
> order to increase robustness for systems that use those file systems
> and was surprised that the fstab that wic generates that `0` hard
> coded as the passno parameter [1]. This prevents for instance
> systemd-fsck@(8) [2] from running checks on those file systems.
>
> It seems that wic/mic generated a fstab with passno=0 from the
> beginning
> [3]. What is the reason for that? Was it a conscious decision to do
> that, or just copy&paste for a different project?
>
> How would a way forward look like? Should a patch that changes passno
> from 0 to 2 be enough, or do we rather have this parameter
> configurable somehow?
I suspect changing things so fsck was run at every boot would upset
existing use cases, particularly on ext2/3 systems without a journal.
The only option would therefore me to make it configurable.
Cheers,
Richard
next prev parent reply other threads:[~2020-11-06 10:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-06 9:07 [RESEND for ML] wic: imager/direct: passno is set to 0 for all entries in the fstab Claudius Heine
2020-11-06 10:02 ` Richard Purdie [this message]
2020-11-06 10:27 ` [PATCH] wic: added fspassno parameter to partition Claudius Heine
2022-05-13 14:40 ` Henning Schild
2022-05-15 6:36 ` [PATCH v2] " Vijai Kumar K
2022-05-17 18:16 ` Schmidl, Tobias
2022-05-17 18:21 ` Kanagarajan, Vijaikumar
2022-05-17 18:31 ` Henning Schild
2022-05-15 6:40 ` [PATCH] " Kanagarajan, Vijaikumar
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=f75a25804d34913e592233c06a9dfdafe6be0830.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=ch@denx.de \
--cc=henning.schild@siemens.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=tom.zanussi@linux.intel.com \
/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