remove referenced to raw (block) and cooked (character) devices, since
opendisk(3) doesn't care. the iscooked parameter just changes which paths in /dev are tried if the supplied one doesn't work.
This commit is contained in:
parent
02be0ec37b
commit
5463706383
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: opendisk.3,v 1.7 2001/12/10 22:41:52 lukem Exp $
|
||||
.\" $NetBSD: opendisk.3,v 1.8 2001/12/10 22:50:33 lukem Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1997, 2001 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
@ -34,14 +34,12 @@
|
||||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd September 26, 2001
|
||||
.Dd December 11, 2001
|
||||
.Dt OPENDISK 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
.Nm opendisk
|
||||
.Nd open a disk's
|
||||
.Dq raw
|
||||
partition
|
||||
.Nd open a disk partition
|
||||
.Sh LIBRARY
|
||||
.Lb libutil
|
||||
.Sh SYNOPSIS
|
||||
@ -71,13 +69,10 @@ is the size, in bytes, of the array referenced by
|
||||
(usually
|
||||
.Dv MAXPATHLEN
|
||||
bytes).
|
||||
If
|
||||
.Fa iscooked
|
||||
is non zero, the
|
||||
.Dq cooked
|
||||
partition (block device) is opened, rather than the
|
||||
.Dq raw
|
||||
partition (character device).
|
||||
controls which paths in
|
||||
.Pa /dev
|
||||
are tried.
|
||||
.Pp
|
||||
.Fn opendisk
|
||||
attempts to open the following variations of
|
||||
|
Loading…
x
Reference in New Issue
Block a user