Skip to content

Adjust dosfstools fsck exit codes

[email protected] openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1dosfstools: Use standard fsck exit codesmeta/recipes-devtools/dosfstools/dosfstools/0001-fsck.fat-Adhere-to-the-fsck-exit-codes.patch meta/recipes-devtools/dosfstools/dosfstools/0002-manpages-Document-fsck.fat-new-exit-codes.patch meta/recipes-devtools/dosfstools/dosfstools_4.2.bb+264 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Adjust dosfstools fsck exit codes

From: Mark Jonas <[email protected]>

As proposed in "[PATCH] udev-extraconf: Allow optionally skipping systemd-fsck" [1] on this mailing list we adjusted the fsck.vfat exit codes to conform to those specified in the fsck manpage.

The first patch modifies all the exit calls coming from fsck.vfat to conform with what is specified by fsck. Because dosfstools shares code between its tools, the exit codes of mkfs.vfat and fatlabel changed, too. To our knowledge these tools do not have a specific meaning in their exit codes besides success or failure.

The second patch updates the fsck.fat manpage to document the new exit codes.

The patches have been submitted upstream on the project's GitHub [2]. After more than two weeks there has been no (maintainer) feedback yet.

[1] https://lists.openembedded.org/g/openembedded-core/topic/112895873

[2] https://github.com/dosfstools/dosfstools/issues/210

Ricardo Simoes (1):
dosfstools: Use standard fsck exit codes

 ...ck.fat-Adhere-to-the-fsck-exit-codes.patch | 214 ++++++++++++++++++
 ...ges-Document-fsck.fat-new-exit-codes.patch |  46 ++++
 .../dosfstools/dosfstools_4.2.bb              |   7 +-
 3 files changed, 264 insertions(+), 3 deletions(-)
 create mode 100644 meta/recipes-devtools/dosfstools/dosfstools/0001-fsck.fat-Adhere-to-the-fsck-exit-codes.patch
 create mode 100644 meta/recipes-devtools/dosfstools/dosfstools/0002-manpages-Document-fsck.fat-new-exit-codes.patch

--
2.34.1