pread and EACCES error?
pread and EACCES error?
- Subject: pread and EACCES error?
- From: Brian Bergstrand <email@hidden>
- Date: Wed, 20 May 2009 12:55:28 +0300
Hi all, I'm seeing a weird error from pread in the following setup:
Copying from a 300GB PATA drive connected via USB to another 300GB ATA
drive connected via Firewire using the raw char devices for each.
After copying about 37GB of data, pread fails on the source USB drive
with EACCES (13). According to the man page, this is not a valid error
return (although the man page may be out of date).
The copy is done in DKIOCGETMAXBLOCKCOUNTREAD chunks (128KB for ATA).
So where is the EACCES coming from? The IOKit block drivers? And what
does it mean in this situation?
Mac OS X 10.5.7 (Darwin 9.7) on Intel.
Thanks for any help?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden