Sun Jan 29 05:13:55 2017 UTC ()
new lookup order will be in 7.1 before 8.0


(snj)
diff -r1.13 -r1.14 src/lib/libutil/opendisk.3

cvs diff -r1.13 -r1.14 src/lib/libutil/opendisk.3 (expand / switch to unified diff)

--- src/lib/libutil/opendisk.3 2016/06/07 11:20:45 1.13
+++ src/lib/libutil/opendisk.3 2017/01/29 05:13:55 1.14
@@ -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
174function. 174function.
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
179The 179The
180.Fn opendisk 180.Fn opendisk
181function first appeared in 181function first appeared in
182.Nx 1.3 . 182.Nx 1.3 .
183.Pp 183.Pp
184The lookup order of 184The lookup order of
185.Fn opendisk 185.Fn opendisk
186was changed in 186was changed in
187.Nx 8 187.Nx 7.1
188to first look in 188to first look in
189.Pa /dev 189.Pa /dev
190in order to avoid opening random files in the current working directory. 190in order to avoid opening random files in the current working directory.