Solved

async I/O functions in HP-UX

Posted on 1998-12-07
4
376 Views
Last Modified: 2013-12-26
Please give me some inoformation about how to use asynchronous I/O
functions properly(aio_read,aio_write etc.) in Unix.I am using HP-UX 10.30 .
Are there  any restrictions applicable  to aio related functions.I tried
one simple program using files & got the following error.

Unsupported file system operation(ENOSYS)
     
If possible please send me a sample code to enable me to try a simple
example using asynchronous I/O.

Please help

Regards
NewtonJJ
0
Comment
Question by:Newtonjj
  • 2
4 Comments
 
LVL 3

Expert Comment

by:elfie
ID: 1294645
try "man 5 ioctl", and read some other (referred) man pages.

Concerning your ENOSYS, which call generated this error?
0
 
LVL 3

Expert Comment

by:elfie
ID: 1294646
Can you share your simple program that generated this ENOSYS?
Preferable with an indication which call generated the error
0
 

Accepted Solution

by:
richardsonja earned 200 total points
ID: 1294647
You use Kernel Asynchronous IO (KAIO) you need to enable this specifically. This is done by:

1) Check KAIO driver "asyncdsk" is loaded into the kernel
2) su
   mknod /dev/async c 101 1
   chmod 0666 /dev/async

If you dont have root permissions, you are stuck.

0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6823608
This question was awarded, but never cleared due to the JSP-500 errors of that time.  It was "stuck" against userID -1 versus the intended expert whom you awarded.  This corrects the problem and the expert will now receive these points; points verified.

Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them.

This is the Community Support link, if help is needed, along with the link to All Topics since many new ones were recently added.

http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
http://www.experts-exchange.com/jsp/zonesAll.jsp
 
Thanks,
Moondancer
Moderator @ Experts Exchange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
conditional code and condition difference 9 75
fizzArray  challenge 1 57
twoTwo  challenge 35 92
withoutTen challenge 14 97
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now