From cd9b534d6b1d432d3c997ccc5b14f630afb9dda6 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 28 Feb 2026 20:18:30 +0900 Subject: container: improve documentation This change removes inconsistencies collected over time in this package. Signed-off-by: Ophestra --- container/path.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'container/path.go') 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 -- cgit v1.3.1