git: kernel: Add DSO_NOMBR flag to allow VN(4) disks to have no MBR

Aaron LI aly at crater.dragonflybsd.org
Wed Feb 18 05:49:12 PST 2026


commit f687b277b90809ae7df59f012ba2c7312b608545
Author: Aaron LI <aly at aaronly.me>
Date:   Thu May 15 09:14:36 2025 +0800

    kernel: Add DSO_NOMBR flag to allow VN(4) disks to have no MBR
    
    In that case, the kernel will continue and assume the VN(4) disk has a
    COMPATIBILITY_SLICE (s0) overing the whole disk.  This is actually what
    VN(4) originally behaves.

Summary of changes:
 sys/dev/disk/vn/vn.c    |  4 ++--
 sys/kern/subr_diskmbr.c | 11 +++++++----
 sys/sys/disk.h          |  5 +++++
 sys/sys/param.h         |  3 ++-
 4 files changed, 16 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f687b277b90809ae7df59f012ba2c7312b608545


-- 
DragonFly BSD source repository


More information about the Commits mailing list