Bug 218412

Summary: add /dev/full to devfsrules_unhide_basic
Product: Base System Reporter: Anton Yuzhaninov <citrin+pr>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me Keywords: patch
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Add /dev/full none

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