| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: opendisk.3,v 1.13 2016/06/07 11:20:45 wiz Exp $ | | 1 | .\" $NetBSD: opendisk.3,v 1.14 2017/01/29 05:13:55 snj Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1997, 2001 The NetBSD Foundation, Inc. | | 3 | .\" Copyright (c) 1997, 2001 The NetBSD Foundation, Inc. |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" This code is derived from software contributed to The NetBSD Foundation | | 6 | .\" This code is derived from software contributed to The NetBSD Foundation |
7 | .\" by Luke Mewburn. | | 7 | .\" by Luke Mewburn. |
8 | .\" | | 8 | .\" |
9 | .\" Redistribution and use in source and binary forms, with or without | | 9 | .\" Redistribution and use in source and binary forms, with or without |
10 | .\" modification, are permitted provided that the following conditions | | 10 | .\" modification, are permitted provided that the following conditions |
11 | .\" are met: | | 11 | .\" are met: |
12 | .\" 1. Redistributions of source code must retain the above copyright | | 12 | .\" 1. Redistributions of source code must retain the above copyright |
13 | .\" notice, this list of conditions and the following disclaimer. | | 13 | .\" notice, this list of conditions and the following disclaimer. |
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 14 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| @@ -174,17 +174,17 @@ to any value specified by the | | | @@ -174,17 +174,17 @@ to any value specified by the |
174 | function. | | 174 | function. |
175 | .Sh SEE ALSO | | 175 | .Sh SEE ALSO |
176 | .Xr open 2 , | | 176 | .Xr open 2 , |
177 | .Xr getrawpartition 3 | | 177 | .Xr getrawpartition 3 |
178 | .Sh HISTORY | | 178 | .Sh HISTORY |
179 | The | | 179 | The |
180 | .Fn opendisk | | 180 | .Fn opendisk |
181 | function first appeared in | | 181 | function first appeared in |
182 | .Nx 1.3 . | | 182 | .Nx 1.3 . |
183 | .Pp | | 183 | .Pp |
184 | The lookup order of | | 184 | The lookup order of |
185 | .Fn opendisk | | 185 | .Fn opendisk |
186 | was changed in | | 186 | was changed in |
187 | .Nx 8 | | 187 | .Nx 7.1 |
188 | to first look in | | 188 | to first look in |
189 | .Pa /dev | | 189 | .Pa /dev |
190 | in order to avoid opening random files in the current working directory. | | 190 | in order to avoid opening random files in the current working directory. |