disk.9 (083c8ded054841f6b1a197acf6867e16fd044a7c) disk.9 (8c63b2db53862c523bc2cb3f7c4d0243018eb3de)
1.\"
2.\" Copyright (c) 2003 Robert N. M. Watson
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

--- 13 unchanged lines hidden (view full) ---

22.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
26.\" DAMAGE.
27.\"
28.\" $FreeBSD$
29.\"
1.\"
2.\" Copyright (c) 2003 Robert N. M. Watson
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

--- 13 unchanged lines hidden (view full) ---

22.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
26.\" DAMAGE.
27.\"
28.\" $FreeBSD$
29.\"
30.Dd August 3, 2017
30.Dd April 30, 2020
31.Dt DISK 9
32.Os
33.Sh NAME
34.Nm disk
35.Nd kernel disk storage API
36.Sh SYNOPSIS
37.In geom/geom_disk.h
38.Ft struct disk *

--- 197 unchanged lines hidden (view full) ---

236private data to implement the disk service.
237.Bl -tag -width indent
238.It Vt "void *" Va d_drv1
239Private data pointer.
240Typically used to store a pointer to the drivers
241.Vt softc
242structure for this disk device.
243.El
31.Dt DISK 9
32.Os
33.Sh NAME
34.Nm disk
35.Nd kernel disk storage API
36.Sh SYNOPSIS
37.In geom/geom_disk.h
38.Ft struct disk *

--- 197 unchanged lines hidden (view full) ---

236private data to implement the disk service.
237.Bl -tag -width indent
238.It Vt "void *" Va d_drv1
239Private data pointer.
240Typically used to store a pointer to the drivers
241.Vt softc
242structure for this disk device.
243.El
244.Sh HISTORY
245The
246.Nm kernel disk storage API
247first appeard in
248.Fx 4.9 .
244.Sh SEE ALSO
245.Xr GEOM 4 ,
246.Xr devfs 5 ,
247.Xr MAKE_DEV 9
248.Sh AUTHORS
249This manual page was written by
250.An Robert Watson .
251.Sh BUGS
252Disk aliases are not a general purpose aliasing mechanism, but are
253intended only to ease the transition from one name to another.
254They can be used to ensure that nvd0 and nda0 are the same thing.
255They cannot be used to implement the diskX concept from macOS.
249.Sh SEE ALSO
250.Xr GEOM 4 ,
251.Xr devfs 5 ,
252.Xr MAKE_DEV 9
253.Sh AUTHORS
254This manual page was written by
255.An Robert Watson .
256.Sh BUGS
257Disk aliases are not a general purpose aliasing mechanism, but are
258intended only to ease the transition from one name to another.
259They can be used to ensure that nvd0 and nda0 are the same thing.
260They cannot be used to implement the diskX concept from macOS.