|
|
10.3: Install an older extension to fix broken USB drives
Two years went by, and still no fix from apple...
I found out that a lot of devices still have this limitation, for example most of the SD/MMC/CF/MS readers, the "drive mode" of palm compatible hand helds, and even some Sony Ericsson phones. The bug was not that evident two years ago, because the devices had far less storage space... I'm able to compile msdosfs.kext again, for macos 10.4.x PPC. I've no idea about how to compile it for x86 macs... The patch is still the same:
--- msdosfs_fat-orig.c 2006-08-27 15:34:28.000000000 +0200
+++ msdosfs_fat.c 2006-08-27 15:34:29.000000000 +0200
@@ -505,8 +505,16 @@
}
}
- if (sp)
- *sp = (i - findcn + 1) * pmp->pm_bpcluster;
+if 0
+ *sp = (i - findcn + 1) * pmp->pm_bpcluster;
+else
+ {
+ u_long calcmax=131071/pmp->pm_bpcluster;
+
+ // printf("number=%d max=%d calculated max=%d/%dn",(i - findcn + 1),numclusters,MIN(i - findcn + 1,calcmax),calcmax);
+ *sp = MIN(i - findcn + 1,calcmax) * pmp->pm_bpcluster;
+ }
+endif
fc_setcache(dep, FC_LASTMAP, i, cn);
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.19 seconds |
|