DK(4) | Device Drivers Manual | DK(4)

# NAME

`dk` —
disk partition (wedge) driver

# SYNOPSIS

`options DKWEDGE_AUTODISCOVER`
`options DKWEDGE_METHOD_BSDLABEL`
`options DKWEDGE_METHOD_GPT`
`options DKWEDGE_METHOD_MBR`
`options DKWEDGE_METHOD_RDB`

# DESCRIPTION

The `dk` driver provides a disk-like interface, or wedge, to an area of a physical disk. Wedges may be configured manually with dkctl(8) or automatically by the kernel upon the attachment of the physical disk.

# KERNEL OPTIONS

`DKWEDGE_AUTODISCOVER`
  Automatically detect and configure wedges using any available methods.
`DKWEDGE_METHOD_BSDLABEL`
  BSD disklabel detection method.
`DKWEDGE_METHOD_GPT`
  Extensible Firmware Interface Globally Unique Identifier Partition Table (GPT) detection method.
`DKWEDGE_METHOD_MBR`
  IBM PC-compatible Master Boot Record (MBR) partitioning detection method, with support for Extended MBRs.
`DKWEDGE_METHOD_RDB`
  Amiga Rigid Disk Block (RDB) partitioning detection method.

# FILES

/dev/{,r}dk*
  `dk` device special files.

# SEE ALSO

config(1), disklabel(8), dkctl(8), fdisk(8), gpt(8), MAKEDEV(8)

# HISTORY

The `dk` driver first appeared in NetBSD 3.0.

# AUTHORS

The `dk` driver was written by Jason R. Thorpe.

February 26, 2017 | NetBSD 9.5