Currently, we have no way of seeing options set to md(4) devices. Fix: https://github.com/freebsd/freebsd-src/pull/1210 # mdconfig -a -f /root/backup.iso -o readonly -o verify Before: # mdconfig -l -v md0 vnode 1536K /root/backup.iso After: # mdconfig -l -v md0 vnode 1536K /root/backup.iso - readonly,verify
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=b01988d5e570158534110ca309fe93112c5c62f1 commit b01988d5e570158534110ca309fe93112c5c62f1 Author: Ricardo Branco <rbranco@suse.de> AuthorDate: 2024-05-10 04:42:22 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2024-05-10 04:43:09 +0000 mdconfig: Print options when listing devices PR: 278624 Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1210 sbin/mdconfig/mdconfig.c | 90 ++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 76 insertions(+), 14 deletions(-)