git: kernel - Add DIOCGMEDIASIZE and DIOCGSECTORSIZE

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Dec 30 13:16:31 PST 2021


commit 853408102638f879124210299f70d3db026715a3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Dec 30 13:15:44 2021 -0800

    kernel - Add DIOCGMEDIASIZE and DIOCGSECTORSIZE
    
    * Add DIOCGMEDIASIZE and DIOCGSECTORSIZE for 'go' and other dports.
      At the moment this requires #include <sys/diskslice.h>.
    
    Requested-by: zrj (for dports)

Summary of changes:
 sys/kern/subr_diskslice.c | 41 +++++++++++++++++++++++++++++++++++++++++
 sys/sys/diskslice.h       |  2 ++
 2 files changed, 43 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/853408102638f879124210299f70d3db026715a3


-- 
DragonFly BSD source repository



More information about the Commits mailing list