[Bug 277027] Null-mount a single file (not a directory)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 14 Feb 2024 13:27:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277027

dfr@rabson.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dfr@rabson.org

--- Comment #11 from dfr@rabson.org ---
(In reply to vini.ipsmaker from comment #10)

It seems reasonable to allow mounting sockets and fifos but certainly not for
devices - having device nodes outside of devfs has not worked since about
FreeBSD 6.0 (as mentioned in the manual for mknod(1)). The correct way of
exposing devices in jails is to use devfs rules to add specific nodes to the
jail's devfs. For podman users, the '--device' argument to 'podman run' and
'podman create' is supported on FreeBSD and under the hood, it adds suitable
devfs rules to the container jail.

-- 
You are receiving this mail because:
You are the assignee for the bug.