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
I'd like to support passing a file descriptor root for the
container storage, and not an absolute path.
In the bootc codebase (partially a philosophy inherited
from ostree) we've heavily invested in fd-relative accesses,
primarily because it's common for us to operate in different
namespaces/roots, and fd-relative access avoids a lot of
possible footguns when dealing with absolute paths. It's
also more efficient, avoiding the need for the kernel to
traverse full paths a lot.
This is just one of a few preparatory changes necessary
in making it work to do:
`podman --root=/proc/self/fd/3 --runroot=... pull busybox`
Note that as part of doing this, I refactored code here
to move the "split root and dest" logic into the caller...
there was some logically dead code here because
Signed-off-by: Colin Walters <[email protected]>
0 commit comments