after a few tests, it appears that the file is read in pieces:
read[0] 131072 bytes from 0 flags: 0x8000
read[0] 131072 bytes from 131072 flags: 0x8000
read[0] 131072 bytes from 262144 flags: 0x8000
...
read[0] 8192 bytes from 917504 flags: 0x8000
read[0] 4096 bytes from 925696 flags: 0x8000
so t
hello,
my xb360hd module allows me to browse a xtaf partition (xbox360) and extract
files.
a file can be large (and discontinuous), so the readFile function of the module
returns a generator.
from a console, I can "easily" copy a file with this piece of code:
partition = xb360hd.Xtaf('/dev/sd