Skip to content

Call getfsstat() and strip mount paths from provided paths ; resolves 49 - #58

Open
marklr wants to merge 3 commits into
fsnotify:mainfrom
marklr:relpath
Open

Call getfsstat() and strip mount paths from provided paths ; resolves 49#58
marklr wants to merge 3 commits into
fsnotify:mainfrom
marklr:relpath

Conversation

@marklr

@marklr marklr commented Jan 22, 2022

Copy link
Copy Markdown

Call getfsstat() and strip mount paths from provided paths ; resolves #49

What does this pull request do?

Creates a map of mounted devices and their mount points and uses this information to ensure passed paths are relative to each device.

Where should the reviewer start?

setupStream() and onwards to createPaths

How should this be manually tested?

As described in #49

@marklr

marklr commented Jan 22, 2022

Copy link
Copy Markdown
Author

This is still a tentative POC, as we should probably coalesce all paths per-device and only call EventStreamCreateRelativeToDevice or EventStream once. Also, I haven't tried mixing multiple paths, each from a different Volume.

@marklr marklr self-assigned this Jan 22, 2022
@marklr

marklr commented Jun 5, 2025

Copy link
Copy Markdown
Author

@WALLACE251 would be great to get rid of this PR somehow :)

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.

Do not force absolute Paths

2 participants