News for hackers. Stuff that matters.
Re:SanDisk crams 400GB into a microSD card by SAI_Peregrinus on Thursday August 31, 2017 @06:27PM (#15144506)
My phone and tablet work fine with 128GB cards. The phone is a Samsung Galaxy S4 running Android 7.1.1, the tablet is an Amazon Fire HD 5th Gen. Any device that supports sdxc cards must support up to 2TB. The exFAT filesystem is required for these, so you can't use FAT32 anymore. sdxc host devices started coming out in 2010, pretty much everything that uses sd cards these days has support for them.
Re:SanDisk crams 400GB into a microSD card by userbinator on Thursday August 31, 2017 @07:38PM (#15144943)
FAT32 has an individual filesize limit of 4GB, but otherwise works fine for a 2TB partition:

http://www.cdrlabs.com/images/stories/reviews/silicon-power_...

Re:SanDisk crams 400GB into a microSD card by SAI_Peregrinus on Thursday August 31, 2017 @09:44PM (#15145518)
Yes, but SDXC drivers don't necessarily support FAT32 on SDXC cards. The spec only requires exFAT. SDHC used FAT32.
Re:SanDisk crams 400GB into a microSD card by userbinator on Thursday August 31, 2017 @10:59PM (#15145786)
That's interesting. It seems the SD specs (which include SDXC) are mandating a specific filesystem. According to https://en.wikipedia.org/wiki/Secure_Digital#SDXC

Nevertheless, in order to be fully compliant with the SDXC card specification, many SDXC-capable host devices are firmware-programmed to expect exFAT on cards larger than 32 GB. Consequently, they may not accept SDXC cards reformatted as FAT32, even if the device supports FAT32 on smaller cards (for SDHC compatibility).

That seems like a gross "abstraction layer violation" to me --- like making SATA controllers which work with SATA6 HDDs only when formatted with NTFS. The filesystem should have nothing to do with SD, which simply implements a block device abstraction. No doubt Microsoft was involved in this ridiculousness...

Re:SanDisk crams 400GB into a microSD card by derefr on Saturday September 02, 2017 @08:11PM (#15158977)
"SD" is basically the name of a standard stack, not a particular layer. You can reformat an SDHC card to not be FAT32, but then it won't be an SDHC card any more.

There is a point to this: SD cards are used in all sorts of low-level embedded applications, with firmware that uses very inflexible (usually assembler) code to address the card. The assumptions about the SD wire protocol + the FAT32 filesystem + even the particular location of the FAT table on disk are all knotted together in these devices.

Because of this, it's not even just that SDHC requires FAT32; SDHC requires FAT32 done with a specific formatting tool released by the SD standards group. Because your OS might put the FAT anywhere, but the tool puts it in exactly one place, and that's the place that dumb embedded devices expect to find it.

Re:SanDisk crams 400GB into a microSD card by lathiat on Friday September 01, 2017 @12:10AM (#15146058)
since they receive patent licensing on exFAT, you can bet that! :)

which is the same reason that there is no implementation in the kernel, only fuse. ugh.

Re:SanDisk crams 400GB into a microSD card by mmagin on Thursday August 31, 2017 @09:56PM (#15145557)
And exFAT is various sorts of patent encumbered, as I understand it.