From owner-freebsd-hackers Mon Jan 29 18:42: 6 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mobile.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id D00C337B400 for ; Mon, 29 Jan 2001 18:41:49 -0800 (PST) Received: from netplex.com.au (localhost [127.0.0.1]) by mobile.wemm.org (8.11.1/8.11.1) with ESMTP id f0U2fk459376; Mon, 29 Jan 2001 18:41:46 -0800 (PST) (envelope-from peter@netplex.com.au) Message-Id: <200101300241.f0U2fk459376@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Joe Albowicz Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: aio_read gives ENOSYS In-Reply-To: Date: Mon, 29 Jan 2001 18:41:46 -0800 From: Peter Wemm Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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