Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 18:41:46 -0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Joe Albowicz <joe@CS.UCLA.EDU>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: aio_read gives ENOSYS 
Message-ID:  <200101300241.f0U2fk459376@mobile.wemm.org>
In-Reply-To: <Pine.SOL.4.10.10101291513330.17386-100000@panther.cs.ucla.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
Joe Albowicz wrote:
> 
> Hi,
> 
> I'm trying to write a sample program to use aio. However, I'm getting
> back "function not implemented."  I *know* I must be doing something
> stupid, but I can't seem to find info on the web.  Help!  
> 
> My code (that works on a Sun box) is below.  The only difference was
> "-lrt" on Sun.  Note that I'm using "4.2-STABLE" and the io in
> question is for a scsi disk.  Thanks in advance!

Please be sure to compile your kernel with the VFS_AIO option.

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5



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




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