xref: /freebsd/share/man/man4/nvd.4 (revision fcb560670601b2a4d87bb31d7531c8dcc37ee71b)
1.\"
2.\" Copyright (c) 2012-2014 Intel Corporation
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\"    notice, this list of conditions, and the following disclaimer,
10.\"    without modification.
11.\" 2. Redistributions in binary form must reproduce at minimum a disclaimer
12.\"    substantially similar to the "NO WARRANTY" disclaimer below
13.\"    ("Disclaimer") and any redistribution must be conditioned upon
14.\"    including a substantially similar Disclaimer requirement for further
15.\"    binary redistribution.
16.\"
17.\" NO WARRANTY
18.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19.\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
21.\" A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22.\" HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
27.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28.\" POSSIBILITY OF SUCH DAMAGES.
29.\"
30.\" nvd driver man page.
31.\"
32.\" Author: Jim Harris <jimharris@FreeBSD.org>
33.\"
34.\" $FreeBSD$
35.\"
36.Dd March 18, 2014
37.Dt NVD 4
38.Os
39.Sh NAME
40.Nm nvd
41.Nd NVM Express disk driver
42.Sh SYNOPSIS
43To compile this driver into your kernel,
44place the following lines in your kernel configuration file:
45.Bd -ragged -offset indent
46.Cd "device nvme"
47.Cd "device nvd"
48.Ed
49.Pp
50Or, to load the driver as a module at boot, place the following lines in
51.Xr loader.conf 5 :
52.Bd -literal -offset indent
53nvme_load="YES"
54nvd_load="YES"
55.Ed
56.Sh DESCRIPTION
57The
58.Nm
59driver exposes NVM Express (NVMe) namespaces as disks to the kernel disk
60storage API.
61It depends on the
62.Xr nvme 4
63driver for notification of existing NVMe namespaces and submission of NVM
64I/O commands.
65.Pp
66Device nodes from the
67.Nm
68driver will have the format /dev/nvdX and are
69.Xr GEOM 4
70disks which can be partitioned by
71.Xr geom 8 .
72Note that device nodes from the
73.Xr nvme 4
74driver are not
75.Xr GEOM 4
76disks and cannot be partitioned.
77.Sh SEE ALSO
78.Xr GEOM 4 ,
79.Xr nvme 4 ,
80.Xr geom 8 ,
81.Xr nvmecontrol 8 ,
82.Xr disk 9
83.Sh HISTORY
84The
85.Nm
86driver first appeared in
87.Fx 9.2 .
88.Sh AUTHORS
89.An -nosplit
90The
91.Nm
92driver was developed by Intel and originally written by
93.An Jim Harris Aq Mt jimharris@FreeBSD.org ,
94with contributions from Joe Golio at EMC.
95.Pp
96This man page was written by
97.An Jim Harris Aq Mt jimharris@FreeBSD.org .
98