Solved

async I/O functions in HP-UX

Posted on 1998-12-07
4
383 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Tab names are off by one 5 54
difference between String.subString() and String.subSequence() 6 288
modThree challenge 4 155
How do I get Window Title of all opened process? 4 61
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

734 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