DKSCAN_BSDLABEL(8) System Manager's Manual DKSCAN_BSDLABEL(8)

dkscan_bsdlabel
program to create wedges from a BSD disklabel

dkscan_bsdlabel [-nv] device

dkscan_bsdlabel scans a disk for a BSD disklabel, which does not need to be the label variant used on the architecture currently running, or even the same endianess.

The following options are supported:

No execution - list the wedges, but do not create them.
Be more verbose - print additional information.
The argument device specifices the disk on which the disklabel is scanned and to which the wedges are added.

dkscan_bsdlabel -v wd1
Create wedges from all recognized partitions on wd1

dk(4), disklabel(5), dkctl(8)

The dkscan_bsdlabel command first appeared in NetBSD 5.0.

Martin Huseman wrote the dkscan_bsdlabel utility. It is reusing a lot of kernel code written by Jason R. Thorpe.
February 27, 2007 NetBSD 9.4