Skip to content

Instantly share code, notes, and snippets.

@Dsibe
Created August 29, 2024 18:16
Show Gist options
  • Save Dsibe/d8f4ebe2b9b6c3b330279dcb31d83ed1 to your computer and use it in GitHub Desktop.
Save Dsibe/d8f4ebe2b9b6c3b330279dcb31d83ed1 to your computer and use it in GitHub Desktop.
script output w\ debug
>>> py test_run.py
FATtools - DEBUG - vopen in 'auto' mode
FATtools - DEBUG - Successfully opened HANDLE to Win32 Disk \\.\h: (size 959 MB) for exclusive access
FATtools - DEBUG - Opened disk type 'Python disk '\\.\h:' (mode 'r+b') @0000000000000000h', size 3BF00000h (1DF800h sectors)
FATtools - DEBUG - disk pointer to set @0h
FATtools - DEBUG - si=0h lastsi=0h so=0h
FATtools - DEBUG - read(512) bytes @0h
FATtools - DEBUG - disk pointer to set @0h
FATtools - DEBUG - si=0h lastsi=0h so=0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000000000h: cache_retrieve missed #0
FATtools - DEBUG - loading disk sector #0 into cache[0]
FATtools - DEBUG - Opened MBR: Master/Extended Boot Record @0
1fe: wBootSignature = 0xaa55
DOS Primary Partition
1be: bStatus = 0xff
1bf: sFirstSectorCHS = b'\xff\xff\xff'
1c2: bType = 0xff
1c3: sLastSectorCHS = b'\xff\xff\xff'
1c6: dwFirstSectorLBA = 0xffffffff
1ca: dwTotalSectors = 0xffffffff
DOS Extended Partition
1ce: bStatus = 0xff
1cf: sFirstSectorCHS = b'\xff\xff\xff'
1d2: bType = 0xff
1d3: sLastSectorCHS = b'\xff\xff\xff'
1d6: dwFirstSectorLBA = 0xffffffff
1da: dwTotalSectors = 0xffffffff
FATtools - DEBUG - Invalid Primary partition size in MBR
FATtools - DEBUG - Invalid Master Boot Record
FATtools - DEBUG - Trying to open a File system (Volume) in plain disk
FATtools - DEBUG - disk pointer to set @0h
FATtools - DEBUG - si=0h lastsi=0h so=0h
FATtools - DEBUG - disk pointer to set @0h
FATtools - DEBUG - si=0h lastsi=0h so=0h
FATtools - DEBUG - read(512) bytes @0h
FATtools - DEBUG - disk pointer to set @0h
FATtools - DEBUG - si=0h lastsi=0h so=0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000000000h: cache_retrieve hit #0
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Boot sector:
FAT12/16 Boot Sector @0
0: chJumpInstruction = b'\xebv\x90'
3: chOemID = b'EXFAT '
b: wBytesPerSector = 0x0
d: uchSectorsPerCluster = 0x0
e: wReservedSectors = 0x0
10: uchFATCopies = 0x0
11: wMaxRootEntries = 0x0
13: wTotalSectors = 0x0
15: uchMediaDescriptor = 0x0
16: wSectorsPerFAT = 0x0
18: wSectorsPerTrack = 0x0
1a: wHeads = 0x0
1c: dwHiddenSectors = 0x0
20: dwTotalSectors = 0x0
24: chPhysDriveNumber = 0x0
25: uchCurrentHead = 0x0
26: uchSignature = 0x0
27: dwVolumeID = 0x0
2b: sVolumeLabel = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
36: sFSType = b'\x00\x00\x00\x00\x00\x00\x00\x00'
1fe: wBootSignature = 0xaa55
FATtools - DEBUG - FSguess guessed FS type: EXFAT
FATtools - DEBUG - disk pointer to set @0h
FATtools - DEBUG - si=0h lastsi=0h so=0h
FATtools - DEBUG - read(5632) bytes @0h
FATtools - DEBUG - disk pointer to set @0h
FATtools - DEBUG - si=0h lastsi=0h so=0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000000000h: cache_retrieve (multisector) miss-not cached 1
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000000000h: cache_retrieve (multisector) miss-not cached 2
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000000000h: cache_retrieve (multisector) miss-not cached 3
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000000000h: cache_retrieve (multisector) miss-not cached 4
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000000000h: cache_retrieve (multisector) miss-not cached 5
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000000000h: cache_retrieve (multisector) miss-not cached 6
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000000000h: cache_retrieve (multisector) miss-not cached 7
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000000000h: cache_retrieve (multisector) miss-not cached 8
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000000000h: cache_retrieve (multisector) miss-not cached 9
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000000000h: cache_retrieve (multisector) miss-not cached 10
FATtools - DEBUG - reading 5632 bytes directly from disk @0h
FATtools - DEBUG - read(512) bytes @1600h
FATtools - DEBUG - disk pointer to set @1600h
FATtools - DEBUG - si=Bh lastsi=0h so=0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000001600h: cache_retrieve missed #11
FATtools - DEBUG - loading disk sector #11 into cache[1]
FATtools - DEBUG - Inited BOOT object: exFAT Boot sector @0
0: chJumpInstruction = b'\xebv\x90'
3: chOemID = b'EXFAT '
b: chDummy = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
40: u64PartOffset = 0x74506800
48: u64VolumeLength = 0x1df800
50: dwFATOffset = 0x80
54: dwFATLength = 0x100
58: dwDataRegionOffset = 0x180
5c: dwDataRegionLength = 0x77da
60: dwRootCluster = 0x4
64: dwVolumeSerial = 0xee608a8d
68: wFSRevision = 0x100
6a: wFlags = 0x0
6c: uchBytesPerSector = 0x9
6d: uchSectorsPerCluster = 0x6
6e: uchFATCopies = 0x1
6f: uchDriveSelect = 0x80
70: uchPercentInUse = 0x0
71: chReserved = b'\x00\x00\x00\x00\x00\x00\x00'
1fe: wBootSignature = 0xaa55
FATtools - DEBUG - Inited FAT object: 32-bit exFAT table of 30682 clusters starting @10000h
FATtools - DEBUG - disk pointer to set @10000h
FATtools - DEBUG - si=80h lastsi=Bh so=10h
FATtools - DEBUG - read(4) bytes @10010h
FATtools - DEBUG - disk pointer to set @10000h
FATtools - DEBUG - si=80h lastsi=Bh so=10h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000010010h: cache_retrieve missed #128
FATtools - DEBUG - loading disk sector #128 into cache[2]
FATtools - DEBUG - Got FAT1[0x4]=0xFFFFFFFF @0x10010
FATtools - DEBUG - Runs map for Chain of 32768 (32768) bytes from LCN 4h (LBA 40000h): OrderedDict([(4, 1)])
FATtools - DEBUG - Cluster chain of 32768 bytes (32768 bytes) @LCN 4h:LBA 40000h
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 0h (0)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=80h so=0h
FATtools - DEBUG - Chain00000004: read(32) called from offset 0h (0) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 0h (0)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=80h so=0h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40000h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=80h so=0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040000h: cache_retrieve missed #512
FATtools - DEBUG - loading disk sector #512 into cache[3]
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [0:20]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 20h (32)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=20h
FATtools - DEBUG - updating Dirtable name cache with ''
FATtools - DEBUG - Chain00000004: read(32) called from offset 20h (32) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 20h (32)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=20h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40020h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=20h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040020h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [20:40]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 40h (64)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=40h
FATtools - DEBUG - updating Dirtable name cache with ''
FATtools - DEBUG - Chain00000004: read(32) called from offset 40h (64) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 40h (64)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=40h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40040h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=40h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040040h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [40:60]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 60h (96)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=60h
FATtools - DEBUG - updating Dirtable name cache with ''
FATtools - DEBUG - Chain00000004: read(32) called from offset 60h (96) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 60h (96)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=60h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40060h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=60h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040060h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [60:80]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 80h (128)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=80h
FATtools - DEBUG - Chain00000004: read(32) called from offset 80h (128) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 80h (128)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=80h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40080h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=80h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040080h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [80:A0]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset A0h (160)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=A0h
FATtools - DEBUG - Chain00000004: read(32) called from offset A0h (160) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset A0h (160)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=A0h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @400A0h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=A0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @00000000000400A0h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [A0:C0]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset C0h (192)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=C0h
FATtools - DEBUG - updating Dirtable name cache with '1.txt'
FATtools - DEBUG - Chain00000004: read(32) called from offset C0h (192) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset C0h (192)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=C0h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @400C0h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=C0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @00000000000400C0h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [C0:E0]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset E0h (224)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=E0h
FATtools - DEBUG - Chain00000004: read(32) called from offset E0h (224) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset E0h (224)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=E0h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @400E0h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=E0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @00000000000400E0h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [E0:100]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 100h (256)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=100h
FATtools - DEBUG - Chain00000004: read(32) called from offset 100h (256) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 100h (256)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=100h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40100h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=100h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040100h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [100:120]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 120h (288)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=120h
FATtools - DEBUG - updating Dirtable name cache with '2.txt'
FATtools - DEBUG - Chain00000004: read(32) called from offset 120h (288) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 120h (288)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=120h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40120h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=120h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040120h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [120:140]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 140h (320)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=140h
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 0h (0)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=0h
FATtools - DEBUG - Directory table @LCN 4 (LBA 40000h) collected slots map: {288: 8388599}
FATtools - DEBUG - Directory table @LCN 4 (LBA 40000h) dirtable: {'Names': {'': <FATtools.exFAT.exFATDirentry object at 0x0000019283F05820>, '1.txt': <FATtools.exFAT.exFATDirentry object at 0x0000019283F058B0>, '2.txt': <FATtools.exFAT.exFATDirentry object at 0x0000019283F058E0>}, 'Handle': None, 'slots_map': {288: 8388599}, 'Open': []}
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 0h (0)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=0h
FATtools - DEBUG - Chain00000004: read(32) called from offset 0h (0) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 0h (0)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=0h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40000h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040000h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [0:20]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 20h (32)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=20h
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 20h (32)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=20h
FATtools - DEBUG - Chain00000004: read(32) called from offset 20h (32) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 20h (32)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=20h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40020h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=20h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040020h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [20:40]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 40h (64)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=40h
FATtools - DEBUG - disk pointer to set @10000h
FATtools - DEBUG - si=80h lastsi=200h so=8h
FATtools - DEBUG - read(4) bytes @10008h
FATtools - DEBUG - disk pointer to set @10000h
FATtools - DEBUG - si=80h lastsi=200h so=8h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000010008h: cache_retrieve hit #128
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Got FAT1[0x2]=0xFFFFFFFF @0x10008
FATtools - DEBUG - Runs map for exFAT Bitmap of 3836 bytes (30682 clusters) @2h: OrderedDict([(2, 1)])
FATtools - DEBUG - Chain00000002: maxrun4len(32768) on OrderedDict([(2, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - Chain00000002: mapped VCN 0 to LCN 2h (2), LBA 30000h
FATtools - DEBUG - Chain00000002: seeking cluster offset 0h (0)
FATtools - DEBUG - disk pointer to set @30000h
FATtools - DEBUG - si=180h lastsi=80h so=0h
FATtools - DEBUG - Chain00000002: read(3836) called from offset 0h (0) of 3836
FATtools - DEBUG - Chain00000002: adjusted size is 3836
FATtools - DEBUG - Chain00000002: mapped VCN 0 to LCN 2h (2), LBA 30000h
FATtools - DEBUG - Chain00000002: seeking cluster offset 0h (0)
FATtools - DEBUG - disk pointer to set @30000h
FATtools - DEBUG - si=180h lastsi=80h so=0h
FATtools - DEBUG - Chain00000002: maxrun4len(3836) on OrderedDict([(2, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(3836) bytes @30000h
FATtools - DEBUG - disk pointer to set @30000h
FATtools - DEBUG - si=180h lastsi=80h so=0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000030000h: cache_retrieve (multisector) miss-not cached 384
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000030000h: cache_retrieve (multisector) miss-not cached 385
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000030000h: cache_retrieve (multisector) miss-not cached 386
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000030000h: cache_retrieve (multisector) miss-not cached 387
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000030000h: cache_retrieve (multisector) miss-not cached 388
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000030000h: cache_retrieve (multisector) miss-not cached 389
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000030000h: cache_retrieve (multisector) miss-not cached 390
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000030000h: cache_retrieve (multisector) miss-not cached 391
FATtools - DEBUG - reading 4096 bytes directly from disk @30000h
FATtools - DEBUG - Chain00000002: read 3836 (3836) bytes @VCN 0h [0:EFC]
FATtools - DEBUG - Chain00000002: mapped VCN 0 to LCN 2h (2), LBA 30000h
FATtools - DEBUG - Chain00000002: seeking cluster offset EFCh (3836)
FATtools - DEBUG - disk pointer to set @30E00h
FATtools - DEBUG - si=187h lastsi=80h so=FCh
FATtools - DEBUG - map_free_space: loaded Bitmap page of 3836 bytes @0x0
FATtools - DEBUG - map_free_space: appended run (7, 30683)
FATtools - DEBUG - map_free_space: Bitmap rounded by 6 bits, correcting total and last run count
FATtools - DEBUG - map_free_space: 30677 clusters free in 1 run(s)
FATtools - DEBUG - exFAT Bitmap of 3836 bytes (30682 clusters) @2h
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 0h (0)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=80h so=0h
FATtools - DEBUG - Chain00000004: read(32) called from offset 0h (0) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 0h (0)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=80h so=0h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40000h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=80h so=0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040000h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [0:20]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 20h (32)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=20h
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 20h (32)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=20h
FATtools - DEBUG - Chain00000004: read(32) called from offset 20h (32) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 20h (32)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=20h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40020h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=20h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040020h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [20:40]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 40h (64)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=40h
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 40h (64)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=40h
FATtools - DEBUG - Chain00000004: read(32) called from offset 40h (64) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 40h (64)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=40h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40040h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=40h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040040h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [40:60]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 60h (96)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=60h
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 60h (96)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=60h
FATtools - DEBUG - Chain00000004: read(32) called from offset 60h (96) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 60h (96)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=60h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40060h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=60h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040060h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [60:80]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 80h (128)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=80h
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 80h (128)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=80h
FATtools - DEBUG - Chain00000004: read(32) called from offset 80h (128) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 80h (128)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=80h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40080h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=80h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040080h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [80:A0]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset A0h (160)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=A0h
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset A0h (160)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=A0h
FATtools - DEBUG - Chain00000004: read(32) called from offset A0h (160) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset A0h (160)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=A0h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @400A0h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=A0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @00000000000400A0h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [A0:C0]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset C0h (192)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=C0h
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset C0h (192)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=C0h
FATtools - DEBUG - Chain00000004: read(32) called from offset C0h (192) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset C0h (192)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=C0h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @400C0h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=C0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @00000000000400C0h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [C0:E0]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset E0h (224)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=E0h
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset E0h (224)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=E0h
FATtools - DEBUG - Chain00000004: read(32) called from offset E0h (224) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset E0h (224)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=E0h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @400E0h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=E0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @00000000000400E0h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [E0:100]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 100h (256)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=100h
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 100h (256)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=100h
FATtools - DEBUG - Chain00000004: read(32) called from offset 100h (256) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 100h (256)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=100h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40100h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=100h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040100h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [100:120]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 120h (288)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=120h
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 120h (288)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=120h
FATtools - DEBUG - Chain00000004: read(32) called from offset 120h (288) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 120h (288)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=120h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40120h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=120h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040120h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [120:140]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 140h (320)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=140h
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 40h (64)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=40h
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 0h (0)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=0h
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 40h (64)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=40h
FATtools - DEBUG - Chain00000004: write(buf[:32]) called from offset 40h (64), VCN 0h(0)[40h:]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 40h (64)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=40h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - request to write 32 bytes @40040h
FATtools - DEBUG - writing middle sector 512[64:96]
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040040h: cache_retrieve hit #512
FATtools - DEBUG - len(s) is now 0
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=60h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=60h
FATtools - DEBUG - Chain00000004: written 32 bytes (32 of 32) @VCN 0 [40h:60h]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 60h (96)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=60h
FATtools - DEBUG - Chain00000004: write(buf[:96]) called from offset 60h (96), VCN 0h(0)[60h:]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 60h (96)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=60h
FATtools - DEBUG - Chain00000004: maxrun4len(96) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - request to write 96 bytes @40060h
FATtools - DEBUG - writing middle sector 512[96:192]
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040060h: cache_retrieve hit #512
FATtools - DEBUG - len(s) is now 0
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=C0h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=C0h
FATtools - DEBUG - Chain00000004: written 96 bytes (96 of 96) @VCN 0 [60h:C0h]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset C0h (192)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=C0h
FATtools - DEBUG - Chain00000004: write(buf[:96]) called from offset C0h (192), VCN 0h(0)[C0h:]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset C0h (192)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=C0h
FATtools - DEBUG - Chain00000004: maxrun4len(96) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - request to write 96 bytes @400C0h
FATtools - DEBUG - writing middle sector 512[192:288]
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @00000000000400C0h: cache_retrieve hit #512
FATtools - DEBUG - len(s) is now 0
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=120h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=120h
FATtools - DEBUG - Chain00000004: written 96 bytes (96 of 96) @VCN 0 [C0h:120h]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 120h (288)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=120h
FATtools - DEBUG - Chain00000004: write(buf[:32480]) called from offset 120h (288), VCN 0h(0)[120h:]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 120h (288)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=120h
FATtools - DEBUG - Chain00000004: maxrun4len(32480) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - request to write 32480 bytes @40120h
FATtools - DEBUG - writing middle sector 512[288:512]
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040120h: cache_retrieve hit #512
FATtools - DEBUG - len(s) is now 32256
FATtools - DEBUG - disk pointer to set @40200h
FATtools - DEBUG - si=201h lastsi=200h so=0h
FATtools - DEBUG - writing 63 sector(s) directly to disk
FATtools - DEBUG - disk pointer to set @48000h
FATtools - DEBUG - si=240h lastsi=200h so=0h
FATtools - DEBUG - len(s) is now 0
FATtools - DEBUG - disk pointer to set @48000h
FATtools - DEBUG - si=240h lastsi=200h so=0h
FATtools - DEBUG - Chain00000004: written 32480 bytes (32480 of 32480) @VCN 0 [120h:8000h]
FATtools - DEBUG - Chain00000004: reached chain's end seeking VCN 1h
FATtools - DEBUG - Directory table @LCN 4 (LBA 40000h): sorted 9 slots, blanked 1015
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 0h (0)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=240h so=0h
FATtools - DEBUG - Chain00000004: read(32) called from offset 0h (0) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 0h (0)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=240h so=0h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40000h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=240h so=0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040000h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [0:20]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 20h (32)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=20h
FATtools - DEBUG - updating Dirtable name cache with ''
FATtools - DEBUG - Chain00000004: read(32) called from offset 20h (32) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 20h (32)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=20h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40020h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=20h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040020h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [20:40]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 40h (64)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=40h
FATtools - DEBUG - updating Dirtable name cache with ''
FATtools - DEBUG - Chain00000004: read(32) called from offset 40h (64) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 40h (64)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=40h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40040h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=40h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040040h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [40:60]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 60h (96)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=60h
FATtools - DEBUG - updating Dirtable name cache with ''
FATtools - DEBUG - Chain00000004: read(32) called from offset 60h (96) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 60h (96)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=60h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40060h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=60h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040060h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [60:80]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 80h (128)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=80h
FATtools - DEBUG - Chain00000004: read(32) called from offset 80h (128) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 80h (128)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=80h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40080h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=80h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040080h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [80:A0]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset A0h (160)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=A0h
FATtools - DEBUG - Chain00000004: read(32) called from offset A0h (160) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset A0h (160)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=A0h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @400A0h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=A0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @00000000000400A0h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [A0:C0]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset C0h (192)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=C0h
FATtools - DEBUG - updating Dirtable name cache with '1.txt'
FATtools - DEBUG - Chain00000004: read(32) called from offset C0h (192) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset C0h (192)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=C0h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @400C0h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=C0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @00000000000400C0h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [C0:E0]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset E0h (224)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=E0h
FATtools - DEBUG - Chain00000004: read(32) called from offset E0h (224) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset E0h (224)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=E0h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @400E0h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=E0h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @00000000000400E0h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [E0:100]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 100h (256)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=100h
FATtools - DEBUG - Chain00000004: read(32) called from offset 100h (256) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 100h (256)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=100h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40100h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=100h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040100h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [100:120]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 120h (288)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=120h
FATtools - DEBUG - updating Dirtable name cache with '2.txt'
FATtools - DEBUG - Chain00000004: read(32) called from offset 120h (288) of 32768
FATtools - DEBUG - Chain00000004: adjusted size is 32
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 120h (288)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=120h
FATtools - DEBUG - Chain00000004: maxrun4len(32) on OrderedDict([(4, 1)]), maxchunk of 32768 bytes, lastvlcn=(1, 4294967295)
FATtools - DEBUG - read(32) bytes @40120h
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=120h
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040120h: cache_retrieve hit #512
FATtools - DEBUG - 512 bytes read from cache
FATtools - DEBUG - Chain00000004: read 32 (32) bytes @VCN 0h [120:140]
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 140h (320)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=140h
FATtools - DEBUG - Chain00000004: mapped VCN 0 to LCN 4h (4), LBA 40000h
FATtools - DEBUG - Chain00000004: seeking cluster offset 0h (0)
FATtools - DEBUG - disk pointer to set @40000h
FATtools - DEBUG - si=200h lastsi=200h so=0h
FATtools - DEBUG - Directory table @LCN 4 (LBA 40000h) collected slots map: {288: 8388599}
FATtools - DEBUG - Directory table @LCN 4 (LBA 40000h) dirtable: {'Names': {'': <FATtools.exFAT.exFATDirentry object at 0x0000019283F05820>, '1.txt': <FATtools.exFAT.exFATDirentry object at 0x0000019283F05490>, '2.txt': <FATtools.exFAT.exFATDirentry object at 0x0000019283F05400>}, 'Handle': None, 'slots_map': {288: 8388599}, 'Open': []}
FATtools - DEBUG - Closing volume Directory table @LCN 4 (LBA 40000h)
FATtools - DEBUG - Flushing root dirtable
FATtools - DEBUG - No opened files!
FATtools - DEBUG - Closing Python disk '\\.\h:' (mode 'r+b') @0000000000040000h
FATtools - DEBUG - Cache items/hits/misses: 4/37/22
FATtools - DEBUG - Python disk '\\.\h:' (mode 'r+b') @0000000000040000h: committing 1 dirty sectors to disk
Error writing.
Traceback (most recent call last):
File "test_run.py", line 31, in <module>
with open("H:\\test.txt", "w") as f:
PermissionError: [Errno 13] Permission denied: 'H:\\test.txt'
Error renaming.
Traceback (most recent call last):
File "test_run.py", line 39, in <module>
os.rename("H:\\1.txt", "H:\\a.txt")
PermissionError: [WinError 19] The media is write protected: 'H:\\1.txt' -> 'H:\\a.txt'
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment