Bug 278624 - mdconfig does not show options set when listing devices
Summary: mdconfig does not show options set when listing devices
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 15.0-CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-27 19:48 UTC by Ricardo Branco
Modified: 2024-04-27 19:48 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ricardo Branco 2024-04-27 19:48:46 UTC
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