[Bug 283420] mount -p doesn't display correctly unionfs mounts
Date: Thu, 19 Dec 2024 17:26:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283420
Bug ID: 283420
Summary: mount -p doesn't display correctly unionfs mounts
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: olivier@freebsd.org
mount -p (displaying in fstab format) is buggy with unionfs mounts.
How to reproduce:
$ mkdir -p /tmp/jails/usr/local
$ mount -t unionfs -o below -o noatime /usr/local /tmp/jails/testing/usr/local
$ mount | grep unionfs
<below>:/usr/local on /tmp/jails/usr/local (unionfs, NFS exported, local,
noatime, nfsv4acls)
$ $ mount -p | grep unionfs
/u /tmp/jails/usr/local unionfs rw,noatime,nfsv4acls
0 0
=> It is displaying "/u" in place of "/usr/local".
--
You are receiving this mail because:
You are the assignee for the bug.