DoIO with struct IOExtTD

2 posts / 0 new
Last post
OldFart
OldFart's picture
Offline
Last seen: 9 hours 35 min ago
Joined: 2010-11-30 14:09
DoIO with struct IOExtTD

Hi,

Doing DoIO with struct IOExtTD (with io_Command set to ETD_RAWREAD) results in error -3 (in io_Error). Where can I find what this errorcode means?

From the autodocs:
IO REQUEST RESULT
io_Error - 0 for success, or an error code as defined in "devices/trackdisk.h"

Nope.

  1. struct IOExtTD
  2. {
  3. struct IOStdReq iotd_Req;
  4. ULONG iotd_Count;
  5. ULONG iotd_SecLabel;
  6. };

From the autodocs:
iotd_Count (ETD_RAWREAD only) maximum allowable change counter
value.

Should this latter be set to some value other then 0 in order to get rid of the error?

What is meant with this 'maximum allowable change counter value.'?

OldFart

OldFart
OldFart's picture
Offline
Last seen: 9 hours 35 min ago
Joined: 2010-11-30 14:09
Re: DoIO with struct IOExtTD

An error code of -3 means, accordig to exec/errors.h, that the device does not support the command.

Ok, so that problem has been solved, by replacing it by another problem: how to access a location on disk beyond the limit imposed by a 32bit offset in bytes?

OldFart

Log in or register to post comments