Bug 218336
Summary: | mount(2) doesn't document ENOSPC when /proc/sys/fs/mount-max is exceeded | ||
---|---|---|---|
Product: | Documentation | Reporter: | Simon McVittie (smcv) |
Component: | man-pages | Assignee: | documentation_man-pages (documentation_man-pages) |
Status: | NEW --- | ||
Severity: | normal | CC: | alx |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: |
Description
Simon McVittie
2024-01-03 15:32:05 UTC
The bubblewrap PR is https://github.com/containers/bubblewrap/pull/615. The text I would hope to see in the man page could perhaps be something like: **ENOSPC** The mount operation would cause the current mount namespace to have more mount points than allowed by _/proc/sys/fs/mount-max_. ... **SEE ALSO** ..., https://www.kernel.org/doc/html/latest/admin-guide/sysctl/fs.html#mount-max Or if the man-pages maintainers would prefer to have text that anticipates potential future kernel changes, perhaps more generally: **ENOSPC** The mount operation would cause a resource limit to be exceeded, for example more mount points than allowed by _/proc/sys/fs/mount-max_ in the current mount namespace. Would you mind sending a patch? Please check this: <https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING>. Thanks! |