Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2002 11:06:19 -0400
From:      Craig Rodrigues <rodrigc@attbi.com>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Alfred Perlstein <alfred@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/sys aio_cancel.2 aio_error.2 aio_read.2 aio_return.2 aio_suspend.2 aio_waitcomplete.2 aio_write.2
Message-ID:  <20021023110619.A27272@attbi.com>
In-Reply-To: <xzpd6q1poco.fsf@flood.ping.uio.no>; from des@ofug.org on Wed, Oct 23, 2002 at 10:10:31AM %2B0200
References:  <200210221612.g9MGCR1p012070@repoman.freebsd.org> <20021022161820.GA57732@starjuice.net> <20021022164649.GS91539@elvis.mu.org> <20021022132829.A22126@attbi.com> <xzpd6q1poco.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--LQksG6bCIzRHxTLp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Oct 23, 2002 at 10:10:31AM +0200, Dag-Erling Smorgrav wrote:
> It's not really that hard, the attached patch took me all of four
> minutes to write.  I can even commit it for you :) It's a bit on the
> skinny side, but still better than nothing.  You'll have to add Xrefs
> to the aio_* pages though.

I modified your initial aio(4) man page with more information.
You can commit it if you want.
I also modified the other aio man pages.
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@attbi.com

--LQksG6bCIzRHxTLp
Content-Type: text/x-patch; charset=us-ascii
Content-Disposition: attachment; filename="aio.diff"

--- /dev/null	Wed Oct 23 10:55:01 2002
+++ aio.4	Wed Oct 23 10:56:24 2002
@@ -0,0 +1,49 @@
+.\"
+.\" $FreeBSD$
+.\"
+.Dd October 23, 2002
+.Dt AIO 4
+.Os
+.Sh NAME
+.Nm aio
+.Nd asynchronous I/O
+.Sh SYNOPSIS
+.Cd "options VFS_AIO"
+.Sh DESCRIPTION
+The
+.Nm
+kernel module provides system calls for asynchronous I/O.
+.El
+.Sh KERNEL OPTIONS
+The following kernel configuration option
+(see
+.Xr config 8 )
+is required:
+.Pp
+.Dl "options VFS_AIO"
+.Pp
+If you do not want AIO support included in the kernel, but
+want to use it occasionally, do not add the
+.Dv VFS_AIO
+option.  Instead, load the
+.Nm aio
+module as desired:
+.Pp
+.Dl kldload aio
+.Pp
+.Sh SEE ALSO
+.Xr aio_cancel 2 ,
+.Xr aio_error 2 ,
+.Xr aio_read 2 ,
+.Xr aio_return 2 ,
+.Xr aio_suspend 2 ,
+.Xr aio_waitcomplete 2 ,
+.Xr aio_write 2 ,
+.Xr config 8,
+.Xr kld 4 ,
+.Xr kldload 8
+.Sh HISTORY
+The
+.Nm
+facility appeared in
+.Fx 3.0 .

--LQksG6bCIzRHxTLp
Content-Type: text/x-patch; charset=us-ascii
Content-Disposition: attachment; filename="aio2.diff"

--- lib/libc/sys/aio_cancel.2.orig	Wed Oct 23 11:06:25 2002
+++ lib/libc/sys/aio_cancel.2	Wed Oct 23 11:06:59 2002
@@ -99,6 +99,7 @@
 .Dl kldload aio
 .Pp
 .Sh SEE ALSO
+.Xr aio 4,
 .Xr aio_error 2 ,
 .Xr aio_read 2 ,
 .Xr aio_return 2 ,
--- lib/libc/sys/aio_error.2.orig	Wed Oct 23 11:06:25 2002
+++ lib/libc/sys/aio_error.2	Wed Oct 23 11:07:25 2002
@@ -88,6 +88,7 @@
 .Dl kldload aio
 .Pp
 .Sh SEE ALSO
+.Xr aio 4,
 .Xr aio_cancel 2 ,
 .Xr aio_read 2 ,
 .Xr aio_return 2 ,
--- lib/libc/sys/aio_read.2.orig	Wed Oct 23 11:06:25 2002
+++ lib/libc/sys/aio_read.2	Wed Oct 23 11:07:41 2002
@@ -197,6 +197,7 @@
 .Dl kldload aio
 .Pp
 .Sh SEE ALSO
+.Xr aio 4,
 .Xr aio_cancel 2 ,
 .Xr aio_error 2 ,
 .Xr aio_return 2 ,
--- lib/libc/sys/aio_return.2.orig	Wed Oct 23 11:06:25 2002
+++ lib/libc/sys/aio_return.2	Wed Oct 23 11:07:56 2002
@@ -90,6 +90,7 @@
 .Dl kldload aio
 .Pp
 .Sh SEE ALSO
+.Xr aio 4,
 .Xr aio_cancel 2 ,
 .Xr aio_error 2 ,
 .Xr aio_suspend 2 ,
--- lib/libc/sys/aio_suspend.2.orig	Wed Oct 23 11:06:25 2002
+++ lib/libc/sys/aio_suspend.2	Wed Oct 23 11:08:13 2002
@@ -103,6 +103,7 @@
 .Dl kldload aio
 .Pp
 .Sh SEE ALSO
+.Xr aio 4,
 .Xr aio_cancel 2 ,
 .Xr aio_error 2 ,
 .Xr aio_return 2 ,
--- lib/libc/sys/aio_waitcomplete.2.orig	Wed Oct 23 11:06:25 2002
+++ lib/libc/sys/aio_waitcomplete.2	Wed Oct 23 11:08:28 2002
@@ -126,6 +126,7 @@
 .Dl kldload aio
 .Pp
 .Sh SEE ALSO
+.Xr aio 4,
 .Xr aio_cancel 2 ,
 .Xr aio_error 2 ,
 .Xr aio_read 2 ,

--LQksG6bCIzRHxTLp--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021023110619.A27272>