]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: add #1266 to TODO file
authorKarel Zak <kzak@redhat.com>
Fri, 7 May 2021 09:26:33 +0000 (11:26 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 7 May 2021 09:26:33 +0000 (11:26 +0200)
References: https://github.com/karelzak/util-linux/issues/1266
Signed-off-by: Karel Zak <kzak@redhat.com>
Documentation/TODO

index 073826c5029607dbc81752297c2da0fd12ee1881..5c8cd96daf6e96cba1f5126c7195be22e3182ed1 100644 (file)
@@ -16,6 +16,13 @@ tests
   - add Coverity to GitHub Actions (see for example .github/workflows/coverity.yml
     in systemd repo).
 
+fstrim
+------
+  - "fstrim --fstab" uses root= from /proc/cmdline to get root FS when it's missing
+    in fstab file. This is fragile (due to missing root= or the root FS is not 
+    accessible). The best seems to parse mountinfo and use mnt_table_get_root_fs()
+    as a fallback solution.  https://github.com/karelzak/util-linux/issues/1266.
+
 script (lib/pty-session.c)
 --------------------------
   - (!) add #ifdefs and optional code for non-signalfd() systems