AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  Using DKIOCMD ioctl for standard inquiry to a hdisk

    Posted Thu July 01, 2010 10:30 AM

    Originally posted by: randomwords


    I am trying to write a small C program using the DKIOCMD ioctl to send a standard inquiry to a rhdisk or hdisk device. I am stuck getting an EINVAL errno condition from the ioctl when I run the program.

    I attached the source. I would be very grateful for any assistance.

    Thanks,
    Paul


  • 2.  Re: Using DKIOCMD ioctl for standard inquiry to a hdisk

    Posted Fri July 09, 2010 12:19 PM

    Originally posted by: randomwords


    No one has any idea on how do accomplish this? I am completely open other approaches, perhaps using some other ioctl?


  • 3.  Re: Using DKIOCMD ioctl for standard inquiry to a hdisk

    Posted Tue July 13, 2010 11:41 AM

    Originally posted by: randomwords


    I reposted this in the AIX developer forums, I think that will be a better place for it. I will mark it as answered here so it falls off any unanswered searches in this thread.