Skip to content

lsfd: INOTIFY.INODES column for files on btrfs #2349

@masatake

Description

@masatake
          @masatake FYI this fails the testsuite for me reliably:
--- /home/t-8ch/src/util-linux/tests/expected/lsfd/mkfds-inotify	2023-06-22 19:16:23.736001931 +0200
+++ /home/t-8ch/src/util-linux/build-meson/tests/output/lsfd/mkfds-inotify	2023-06-27 14:30:35.634742182 +0200
@@ -1,4 +1,14 @@
 INOTIFY.INODES.RAW: 0
-INOTIFY.INODES.RAW == FSTAB\x0aROOT
+INOTIFY.INODES.RAW: 1261373@0:24\x0a256@0:24
+FSTAB: 1261373@0:26
+ROOT: 256@0:26
 INOTIFY.INODES.RAW (JSON): 0
-INOTIFY.INODES.RAW == EXPECTED_JSON
+INOTIFY.INODES.RAW: {
+   "lsfd": [
+      {
+         "inotify.inodes.raw": [
+             "1261373@0:24", "256@0:24"
+         ]
+      }
+   ]
+}
}}}-diff

Maybe because it's on btrfs.

Originally posted by @t-8ch in #2308 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions