1.\" $NetBSD: dk.4,v 1.3 2006/08/14 18:58:34 thorpej 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.\" 3. All advertising materials mentioning features or use of this software 18.\" must display the following acknowledgement: 19.\" This product includes software developed by the NetBSD 20.\" Foundation, Inc. and its contributors. 21.\" 4. Neither the name of The NetBSD Foundation nor the names of its 22.\" contributors may be used to endorse or promote products derived 23.\" from this software without specific prior written permission. 24.\" 25.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 26.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 27.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 28.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 29.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 30.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 31.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 32.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 33.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 34.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 35.\" POSSIBILITY OF SUCH DAMAGE. 36.\" 37.\" Jonathan A. Kollasch used vnd(4) as the template for this man page. 38.\" 39.Dd August 13, 2006 40.Dt DK 4 41.Os 42.Sh NAME 43.Nm dk 44.Nd Disk partition 45.Pq wedge 46driver 47.Sh SYNOPSIS 48.Cd "options DKWEDGE_AUTODISCOVER" 49.Cd "options DKWEDGE_METHOD_BSDLABEL" 50.Cd "options DKWEDGE_METHOD_GPT" 51.Cd "options DKWEDGE_METHOD_MBR" 52.Sh DESCRIPTION 53The 54.Nm 55driver provides a disk-like interface to an area of a physical disk. 56Wedges may be configured manually with 57.Xr dkctl 8 58or automatically by the kernel upon the attachment of the physical disk. 59.Sh KERNEL OPTIONS 60.Bl -tag -width DKWEDGE_METHOD_BSDLABEL 61.It Dv DKWEDGE_AUTODISCOVER 62Automatically detect and configure wedges using any available methods. 63.It Dv DKWEDGE_METHOD_BSDLABEL 64BSD disklabel detection method. 65.It Dv DKWEDGE_METHOD_GPT 66Extensible Firmware Interface Globally Unique Identifier Partition Table 67(GPT) detection method. 68.It Dv DKWEDGE_METHOD_MBR 69IBM PC-compatible Master Boot Record (MBR) partitioning detection method, 70with support for Extended MBRs. 71.El 72.Sh FILES 73.Bl -tag -width /dev/XXrXdkX -compact 74.It Pa /dev/{,r}dk* 75.Nm 76device special files. 77.El 78.Sh SEE ALSO 79.Xr config 1 , 80.Xr MAKEDEV 8 , 81.Xr disklabel 8 , 82.Xr dkctl 8 , 83.Xr fdisk 8 84.Sh HISTORY 85The 86.Nm 87driver first appeared in 88.Nx 3.0 . 89.Sh AUTHORS 90The 91.Nm 92driver was written by 93.An Jason R. Thorpe . 94