https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260241
Bug ID: 260241
Summary: [feature request] Provide a sysctl or fcntl that would
return the list of paths for a given file descriptor
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
At least two projects are blocked on FreeBSD due to inability of such lookup:
1. sysutils/watchman
2. The USD project:
https://github.com/PixarAnimationStudios/USD/blob/release/pxr/base/arch/fileSystem.cpp#L470
This was discussed in hackers@ around July 2021.
It would be beneficial if sysctl or fcntl would be able to return a list of
file paths for a given file descriptor.
This list of paths can be empty when the file is deleted, or it can have
multiple paths when the file is hard-linked.
Yuri
--
You are receiving this mail because:
You are the assignee for the bug.