Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libutil remove referenced to raw (block) and cooked (cha...



details:   https://anonhg.NetBSD.org/src/rev/bb8488828018
branches:  trunk
changeset: 519078:bb8488828018
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Dec 10 22:50:33 2001 +0000

description:
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.

diffstat:

 lib/libutil/opendisk.3 |  17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)

diffs (43 lines):

diff -r f8a0d4ae468f -r bb8488828018 lib/libutil/opendisk.3
--- a/lib/libutil/opendisk.3    Mon Dec 10 22:43:34 2001 +0000
+++ b/lib/libutil/opendisk.3    Mon Dec 10 22:50:33 2001 +0000
@@ -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 @@
 (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



Home | Main Index | Thread Index | Old Index