mount race prevention

Edgar Fuß <[email protected]> Tue, 18 Nov 2025 17:53:50 +0100
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
Is there a way to prevent two processes to mount something to the same 
mount point? I.e., is there a way to call mount(2) in a way that it fails 
if would mount on top of anonther mount?