Skip to content

Conversation

@TatsuyaHayashino
Copy link
Contributor

This change fixes the issue where inotify events are not properly detected when mount location and mountPoint differ.

Fixes #3871

@TatsuyaHayashino
Copy link
Contributor Author

E2E Tests result

Test configuration:

mounts:
  - location: "~/lima-test-source"
    mountPoint: "/mnt/test-destination"
    writable: true
mountInotify: true

test result

run inotifywait command and run touch ~/lima-test-source/file.txt

❯ ./_output/bin/limactl shell default -- inotifywait -m /mnt/test-destination/
WARN[0000] treating lima version "08ee74e8" from "/Users/tatsuya/.lima/default/lima-version" as very latest release 
Setting up watches.
Watches established.
/mnt/test-destination/ ATTRIB file.txt

This change fixes the issue where inotify events are not properly
detected when mount location and mountPoint differ.

Fixes lima-vm#3871

Signed-off-by: Tatsuya Hayashino <tatsuya.hayashino@gmail.com>
@AkihiroSuda AkihiroSuda requested a review from balajiv113 January 6, 2026 15:46
@AkihiroSuda AkihiroSuda added this to the v2.1.0 milestone Jan 6, 2026
Copy link
Member

@balajiv113 balajiv113 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@AkihiroSuda
Copy link
Member

@balajiv113 You can merge PRs 🙂

@balajiv113 balajiv113 merged commit 1dd6133 into lima-vm:master Jan 12, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iNotify only works when mountPoint is the same as location

3 participants