Bug 233401

Summary: Is it safe now to use "mount -t nullfs" instead of mount_nullfs in makefiles (does it return non 0 values reliably on errors)?
Product: Base System Reporter: Mateusz Piotrowski <0mp>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me CC: 0mp, trasz
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Mateusz Piotrowski freebsd_committer 2018-11-22 10:29:57 UTC
I've stumbled upon the following comment in ports/Mk/bsd.commands.mk[1]:

> # XXX: this is a work-around for an obscure bug where
> # mount -t nullfs returns zero status on errors within
> # a make target

I cannot find a bug report for that. Is this comment still relevant after over 10 years?
[1]: https://svnweb.freebsd.org/ports/head/Mk/bsd.commands.mk?view=markup&pathrev=462459#l64
Comment 1 Mateusz Piotrowski freebsd_committer 2020-11-02 09:01:02 UTC
trasz@, you've done some work recently on nullfs. Could it be related?