xref: /netbsd-src/share/man/man4/dk.4 (revision b1c86f5f087524e68db12794ee9c3e3da1ab17a0)
1.\"	$NetBSD: dk.4,v 1.5 2010/05/18 23:34:40 wiz Exp $
2.\"
3.\" Copyright (c) 2006 The NetBSD Foundation, Inc.
4.\" All rights reserved.
5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Jason R. Thorpe.
8.\"
9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions
11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright
13.\"    notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright
15.\"    notice, this list of conditions and the following disclaimer in the
16.\"    documentation and/or other materials provided with the distribution.
17.\"
18.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28.\" POSSIBILITY OF SUCH DAMAGE.
29.\"
30.\" Jonathan A. Kollasch used vnd(4) as the template for this man page.
31.\"
32.Dd May 19, 2010
33.Dt DK 4
34.Os
35.Sh NAME
36.Nm dk
37.Nd Disk partition
38.Pq wedge
39driver
40.Sh SYNOPSIS
41.Cd "options DKWEDGE_AUTODISCOVER"
42.Cd "options DKWEDGE_METHOD_BSDLABEL"
43.Cd "options DKWEDGE_METHOD_GPT"
44.Cd "options DKWEDGE_METHOD_MBR"
45.Sh DESCRIPTION
46The
47.Nm
48driver provides a disk-like interface to an area of a physical disk.
49Wedges may be configured manually with
50.Xr dkctl 8
51or automatically by the kernel upon the attachment of the physical disk.
52.Sh KERNEL OPTIONS
53.Bl -tag -width DKWEDGE_METHOD_BSDLABEL
54.It Dv DKWEDGE_AUTODISCOVER
55Automatically detect and configure wedges using any available methods.
56.It Dv DKWEDGE_METHOD_BSDLABEL
57BSD disklabel detection method.
58.It Dv DKWEDGE_METHOD_GPT
59Extensible Firmware Interface Globally Unique Identifier Partition Table
60(GPT) detection method.
61.It Dv DKWEDGE_METHOD_MBR
62IBM PC-compatible Master Boot Record (MBR) partitioning detection method,
63with support for Extended MBRs.
64.El
65.Sh FILES
66.Bl -tag -width /dev/XXrXdkX -compact
67.It Pa /dev/{,r}dk*
68.Nm
69device special files.
70.El
71.Sh SEE ALSO
72.Xr config 1 ,
73.Xr disklabel 8 ,
74.Xr dkctl 8 ,
75.Xr fdisk 8 ,
76.Xr gpt 8 ,
77.Xr MAKEDEV 8
78.Sh HISTORY
79The
80.Nm
81driver first appeared in
82.Nx 3.0 .
83.Sh AUTHORS
84The
85.Nm
86driver was written by
87.An Jason R. Thorpe .
88