Util-Linux Archive mirror
 help / color / mirror / Atom feed
From: Stanislav Brabec <sbrabec@suse.cz>
To: util-linux@vger.kernel.org
Subject: [PATCH] Mention systemd implementation of fsck
Date: Wed, 14 Feb 2024 13:17:46 +0100	[thread overview]
Message-ID: <adf1f630-a264-4db7-9777-d4e2de2bad3b@suse.cz> (raw)

systemd uses its own implementation of fsck with a slightly different
behavior (e. g. fsck -A checks noauto volumes, systemd-fsck does not).
Refer to it.

It is a complementar change to
https://github.com/systemd/systemd/commit/000680a68d.

Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
---
  disk-utils/fsck.8.adoc | 4 ++++
  sys-utils/fstab.5.adoc | 2 ++
  2 files changed, 6 insertions(+)

diff --git a/disk-utils/fsck.8.adoc b/disk-utils/fsck.8.adoc
index 976e7ff08..4ba6f4cc1 100644
--- a/disk-utils/fsck.8.adoc
+++ b/disk-utils/fsck.8.adoc
@@ -151,6 +151,9 @@ enables libmount debug output.

  _/etc/fstab_

+== NOTES
+*systemd* does not call *fsck -A*, but it has its own implementation 
*systemd-fsck*(8).
+
  == AUTHORS

  mailto:tytso@mit.edu>[Theodore Ts'o],
@@ -169,6 +172,7 @@ mailto:kzak@redhat.com[Karel Zak]
  *fsck.vfat*(8),
  *fsck.xfs*(8),
  *reiserfsck*(8)
+*systemd-fsck*(8)

  include::man-common/bugreports.adoc[]

diff --git a/sys-utils/fstab.5.adoc b/sys-utils/fstab.5.adoc
index 1b972ef3b..0f12560e3 100644
--- a/sys-utils/fstab.5.adoc
+++ b/sys-utils/fstab.5.adoc
@@ -132,6 +132,8 @@ The proper way to read records from *fstab* is to 
use the routines *getmntent*(3

  The keyword *ignore* as a filesystem type (3rd field) is no longer 
supported by the pure libmount based mount utility (since util-linux v2.22).

+This document describes handling of *fstab* by *util-linux* and 
*libmount*. For *systemd*, read *systemd* documentation. There are 
slight differences.
+
  == HISTORY

  The ancestor of this *fstab* file format appeared in 4.0BSD.
-- 
2.43.0


-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                         e-mail: sbrabec@suse.com
Křižíkova 148/34 (Corso IIa)
186 00 Praha 8-Karlín
Czech Republic                                    http://www.suse.cz/
PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76


             reply	other threads:[~2024-02-14 12:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-14 12:17 Stanislav Brabec [this message]
2024-02-14 14:23 ` [PATCH] Mention systemd implementation of fsck Karel Zak
2024-02-15  9:37   ` Karel Zak
2024-02-17 20:01     ` Stanislav Brabec

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=adf1f630-a264-4db7-9777-d4e2de2bad3b@suse.cz \
    --to=sbrabec@suse.cz \
    --cc=util-linux@vger.kernel.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).