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

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 13 Feb 2024 15:12:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277027

rob2g2 <rob2g2-freebsd@bitbert.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rob2g2-freebsd@bitbert.com

--- Comment #3 from rob2g2 <rob2g2-freebsd@bitbert.com> ---
with FreeBSD 14 it works:
# echo "foobar" > /tmp/foobar.txt
# touch /tmp/mount.txt
# mount_nullfs /tmp/foobar.txt /tmp/mount.txt
# cat /tmp/mount.txt
foobar
# echo "more-foobar" > /tmp/mount.txt
# cat /tmp/foobar.txt
more-foobar
# umount /tmp/mount.txt

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