[Bug 295096] mount fail on remount with tmpfs with extra args

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 08 May 2026 06:11:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295096

            Bug ID: 295096
           Summary: mount fail on remount with tmpfs with extra args
           Product: Base System
           Version: 15.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: rozhuk.im@gmail.com

Command sequence does not work:
mkdir -p /tmp/1234567
mount -o rw -o nomtime -o pgread -o size=10m -o mode=0777 -o noexec -o nosuid
-o inodes=128k -t tmpfs tmpfs /tmp/1234567
mount -u -o ro /tmp/1234567
mount: tmpfs: mount option <pgread> is unknown: Operation not supported
...
mount: tmpfs: mount option <mode> is unknown: Operation not supported
...
mount: tmpfs: mount option <inodes> is unknown: Operation not supported
...

Only
mount -o rw -o nomtime -o size=10m -o noexec -o nosuid -t tmpfs tmpfs
/tmp/1234567
wokrs.


Can it be fixed?

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