Mention systemd implementation of fsck
PATCH 1/1 Mention systemd implementation of fsck
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.
---
disk-utils/fsck.8.adoc | 4 ++++
sys-utils/fstab.5.adoc | 2 ++
2 files changed, 6 insertions(+)
disk-utils/fsck.8.adoc +0 -0
@@ -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:[email protected]>[Theodore Ts'o],
@@ -169,6 +172,7 @@ mailto:[email protected][Karel Zak] *fsck.vfat*(8),
*fsck.xfs*(8),
*reiserfsck*(8)
+*systemd-fsck*(8)
include::man-common/bugreports.adoc[]
sys-utils/fstab.5.adoc +0 -0
@@ -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.
Signature · 14 lines
2.43.0 -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: [email protected] 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
Karel Zak
maintainerQuoted 2 lines · Stanislav Brabec
systemd uses its own implementation of fsck with a slightly different behavior (e. g. fsck -A checks noauto volumes, systemd-fsck does not).
systemd calls fsck from util-linux, but a new instance (with -l) for each device. It would be nice to be more explicit and explain it, because "it has its own implementation" sounds like fsck from util-linux is completely out of game :-)
Quoted 3 lines
+== NOTES
+*systemd* does not call *fsck -A*, but it has its own implementation *systemd-fsck*(8).
What about:
systemd does not invoke fsck -A to check all devices; instead, it calls fsck individually for devices selected based on the logic implemented in systemd-fsck.
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com
Karel Zak
maintainerQuoted 13 lines · Karel Zak
Quoted 2 lines · Stanislav Brabec
systemd uses its own implementation of fsck with a slightly different behavior (e. g. fsck -A checks noauto volumes, systemd-fsck does not).
systemd calls fsck from util-linux, but a new instance (with -l) for each device. It would be nice to be more explicit and explain it, because "it has its own implementation" sounds like fsck from util-linux is completely out of game :-)
Quoted 3 lines
+== NOTES
+*systemd* does not call *fsck -A*, but it has its own implementation *systemd-fsck*(8).
Quoted 5 lines
What about:
systemd does not invoke fsck -A to check all devices; instead, it calls fsck individually for devices selected based on the logic implemented in systemd-fsck.
I had short discussion about it with Lennart, and he suggested not to document anywhere systemd-fsck as it's private systemd stuff. I have pushed to repository:
https://github.com/util-linux/util-linux/commit/9cb7b7671d903573d6c3b9d8112ec13953cdcdc6
Hope it good enough :-)
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com
Dne 15. 02. 24 v 10:37 Karel Zak napsal(a):
Quoted 11 lines · Karel Zak
Quoted 5 lines
What about:
systemd does not invoke fsck -A to check all devices; instead, it calls fsck individually for devices selected based on the logic implemented in systemd-fsck.
I had short discussion about it with Lennart, and he suggested not to document anywhere systemd-fsck as it's private systemd stuff. I have pushed to repository:
https://github.com/util-linux/util-linux/commit/9cb7b7671d903573d6c3b9d8112ec13953cdcdc6
It sound clear. I didn't want to document any details of the implementation in the third party package and it will not need an update in case of an systemd change.
Signature · 10 lines
Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: [email protected] Křižíkova 148/34 (Corso IIa) tel: +420 284 084 060 186 00 Praha 8-Karlín fax: +420 284 084 001 Czech Republic http://www.suse.cz/ PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76