Solved

async I/O functions in HP-UX

Posted on 1998-12-07
4
381 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.

828 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