| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: dksubr.9,v 1.6 2017/10/21 21:18:33 wiz Exp $ | | 1 | .\" $NetBSD: dksubr.9,v 1.7 2019/12/08 12:23:00 mlelstv Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2016 The NetBSD Foundation, Inc. | | 3 | .\" Copyright (c) 2016 The NetBSD Foundation, Inc. |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" | | 14 | .\" |
| @@ -297,21 +297,13 @@ The | | | @@ -297,21 +297,13 @@ The |
297 | common disk driver subroutines appeared in | | 297 | common disk driver subroutines appeared in |
298 | .Nx 2.0 | | 298 | .Nx 2.0 |
299 | as a base for the cryptographic disk driver and was extended | | 299 | as a base for the cryptographic disk driver and was extended |
300 | to handle disk wedges in | | 300 | to handle disk wedges in |
301 | .Nx 4.0 . | | 301 | .Nx 4.0 . |
302 | Most functionality provided by | | 302 | Most functionality provided by |
303 | .Xr ld 4 | | 303 | .Xr ld 4 |
304 | was included and extended in | | 304 | was included and extended in |
305 | .Nx 8.0 | | 305 | .Nx 8.0 |
306 | to support other disk drivers. | | 306 | to support other disk drivers. |
307 | The callback interface used by the | | 307 | The callback interface used by the |
308 | .Xr disk 9 | | 308 | .Xr disk 9 |
309 | framework has been merged as well. | | 309 | framework has been merged as well. |
310 | .Sh BUGS | | | |
311 | The framework includes a | | | |
312 | .Nm dk_lookup | | | |
313 | helper function, that is used by the | | | |
314 | .Xr cgd 4 | | | |
315 | driver to open a vnode for a block device. | | | |
316 | This looks too generic | | | |
317 | and should be put somewhere better (and be renamed). | | | |