From 9fff4267fecb3e15bce1a20fdc627f0fd65b532f Mon Sep 17 00:00:00 2001 From: aaron <> Date: Fri, 2 Jul 1999 21:13:07 +0000 Subject: [PATCH] remove redundant .Pp macros --- src/lib/libutil/opendev.3 | 33 ++++++++++++++++++++------------- src/lib/libutil/readlabelfs.3 | 11 ++++++----- 2 files changed, 26 insertions(+), 18 deletions(-) diff --git a/src/lib/libutil/opendev.3 b/src/lib/libutil/opendev.3 index fd9a878e..3587b71a 100644 --- a/src/lib/libutil/opendev.3 +++ b/src/lib/libutil/opendev.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: opendev.3,v 1.6 1999/05/27 16:21:00 aaron Exp $ +.\" $OpenBSD: opendev.3,v 1.7 1999/07/02 21:13:07 aaron Exp $ .\" .\" Copyright (c) 1996, Jason Downs. All rights reserved. .\" @@ -36,22 +36,27 @@ .Sh DESCRIPTION The .Fn opendev -function opens a device using the "short form" name. This is typically -"sd0" or "sd0c", for instance, which will be expanded to +function opens a device using the +.Dq short form +name. This is typically +.Dq sd0 +or +.Dq sd0c , +for instance, which will be expanded to .Pa /dev/rsd0c on most architectures. .Pp The -.Ar oflags +.Fa oflags are the same as the -.Ar flags +.Fa flags passed to .Xr open 2 . .Pp The -.Ar dflags +.Fa dflags are specified by -.Em OR Ns 'ing +.Tn OR Ns 'ing the following values: .Pp .Bd -literal -offset indent -compact @@ -60,17 +65,19 @@ OPENDEV_DRCT attempt to open the device itself during expansion .Ed .Pp If -.Ar realpath -is not NULL, it is modified to point at the fully expanded device name. -.Pp +.Fa realpath +is not +.Dv NULL , +it is modified to point at the fully expanded device name. .Sh RETURN VALUES The .Fn opendev return value and errors are the same as the return value and errors of .Xr open 2 . +.Sh SEE ALSO +.Xr open 2 .Sh HISTORY +The .Fn opendev -first appeared in +function first appeared in .Ox 1.2 . -.Sh SEE ALSO -.Xr open 2 diff --git a/src/lib/libutil/readlabelfs.3 b/src/lib/libutil/readlabelfs.3 index e2c4362d..84183c86 100644 --- a/src/lib/libutil/readlabelfs.3 +++ b/src/lib/libutil/readlabelfs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: readlabelfs.3,v 1.2 1998/03/10 04:50:38 millert Exp $ +.\" $OpenBSD: readlabelfs.3,v 1.3 1999/07/02 21:13:07 aaron Exp $ .\" .\" Copyright (c) 1996, Jason Downs. All rights reserved. .\" @@ -38,22 +38,23 @@ The .Fn readlabelfs function attempts to determine the filesystem type of the disk partition specified by -.Ar device +.Fa device and returns it in a short form that can be easily used to construct arguments within .Xr mount 8 and similar high-level filesystem utilties. .Pp If the -.Ar verbose +.Fa verbose argument is not 0, .Fn readlabelfs will print appropiate error messages before returning. Otherwise, it produces no output on the terminal. -.Pp .Sh RETURN VALUES .Fn readlabelfs -returns NULL upon error, or a valid filesystem type upon success. +returns +.Dv NULL +upon error, or a valid filesystem type upon success. .Sh HISTORY .Fn readlabelfs first appeared in