You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mount: Add cwd parameter to run_findmnt and inspect_filesystem_of_dir helper
Add a `cwd: Option<&Dir>` parameter to `run_findmnt()` to support
running findmnt with a working directory context. This allows
inspecting filesystems using a Dir fd rather than requiring
absolute paths.
Also add `inspect_filesystem_of_dir()` as a convenience wrapper
that inspects the filesystem of a Dir by calling findmnt on "."
with the directory as cwd.
Assisted-by: Claude Code (Sonnet 4.5)
Signed-off-by: Colin Walters <[email protected]>
0 commit comments