diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-02-28 20:18:30 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-02-28 20:18:30 +0900 |
| commit | cd9b534d6b1d432d3c997ccc5b14f630afb9dda6 (patch) | |
| tree | fcf2e26356d614bb081e94285a1a8eb19cb8283c /container/path.go | |
| parent | 84e6922f3073ec09756df6075a801529ecd202f6 (diff) | |
container: improve documentation
This change removes inconsistencies collected over time in this package.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/path.go')
| -rw-r--r-- | container/path.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/container/path.go b/container/path.go index bc0000ad..965ad494 100644 --- a/container/path.go +++ b/container/path.go @@ -15,7 +15,10 @@ import ( const ( // Nonexistent is a path that cannot exist. - // /proc is chosen because a system with covered /proc is unsupported by this package. + // + // This path can never be presented by the kernel if proc is mounted on + // /proc/. This can only exist if parts of /proc/ is covered, or proc is not + // mounted at all. Neither configuration is supported by this package. Nonexistent = fhs.Proc + "nonexistent" hostPath = fhs.Root + hostDir |
