xref: /netbsd-src/share/man/man4/dk.4 (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
1.\"	$NetBSD: dk.4,v 1.6 2012/07/13 22:58:45 abs 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, or
49.Em wedge ,
50to an area of a physical disk.
51Wedges may be configured manually with
52.Xr dkctl 8
53or automatically by the kernel upon the attachment of the physical disk.
54.Sh KERNEL OPTIONS
55.Bl -tag -width DKWEDGE_METHOD_BSDLABEL
56.It Dv DKWEDGE_AUTODISCOVER
57Automatically detect and configure wedges using any available methods.
58.It Dv DKWEDGE_METHOD_BSDLABEL
59BSD disklabel detection method.
60.It Dv DKWEDGE_METHOD_GPT
61Extensible Firmware Interface Globally Unique Identifier Partition Table
62(GPT) detection method.
63.It Dv DKWEDGE_METHOD_MBR
64IBM PC-compatible Master Boot Record (MBR) partitioning detection method,
65with support for Extended MBRs.
66.El
67.Sh FILES
68.Bl -tag -width /dev/XXrXdkX -compact
69.It Pa /dev/{,r}dk*
70.Nm
71device special files.
72.El
73.Sh SEE ALSO
74.Xr config 1 ,
75.Xr disklabel 8 ,
76.Xr dkctl 8 ,
77.Xr fdisk 8 ,
78.Xr gpt 8 ,
79.Xr MAKEDEV 8
80.Sh HISTORY
81The
82.Nm
83driver first appeared in
84.Nx 3.0 .
85.Sh AUTHORS
86The
87.Nm
88driver was written by
89.An Jason R. Thorpe .
90