Bug 218412 - add /dev/full to devfsrules_unhide_basic
Summary: add /dev/full to devfsrules_unhide_basic
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-04-05 23:18 UTC by Anton Yuzhaninov
Modified: 2017-04-06 11:52 UTC (History)
0 users

See Also:


Attachments
Add /dev/full (382 bytes, patch)
2017-04-05 23:18 UTC, Anton Yuzhaninov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Yuzhaninov 2017-04-05 23:18:24 UTC
Created attachment 181523 [details]
Add /dev/full

Please add /dev/full to devfs ruleset devfsrules_unhide_basic, alongside with /dev/null and /dev/zero

/dev/full [1] is a devices, which returns ENOSPC on write. It is used e. g. in applications regression tests.

Adding /dev/full to devfsrules_unhide_basic will expose this device into jails by default. Given how this device works it should be safe to do.

Having /dev/full in jail by default will simplify running port tests in jails using 'poudriere testport -i'.

[1] https://lists.freebsd.org/pipermail/svn-src-all/2014-April/084195.html