View Single Post
Posts: 248 | Thanked: 1,142 times | Joined on Dec 2014 @ Earth
#1754
Originally Posted by Drekkie View Post
Thanks again DrYak for the idea about UDF. There seems to be little discusion about using UDF and Sailfish, but so far its working well for me.

For those interested, i ran a simple format command with admin rights on Windows 10 cmd prompt (where my microsd was drive F: ) :

format F: /fs:UDF

https://technet.microsoft.com/en-us/...(v=ws.11).aspx
Warning : the resulting card is compatible with Linux (obviously, that's what your Xperia runs) and Windows, but not Mac OS X.

Windows MUST have UDF in a partition (the previous exFAT partition that you reformatted)
Mac OS X MUST have UDF *raw* on the flash, starting at block 0 (not WITHIN a partition).

(Linux doesn't give a damn, it works both ways).

If you want the partition to work BOTH on Mac OS X and Windows, you should use a small trick

(There's free room at the beginning of an UDF partition - for booting a BootCD, etc.
Thus you can put the UDF partition at block 0 - so Mac OS X is happy,
and you can use the free space to make a partition that points back to block 0 - so Windows is happy too)


Also, the nice thing : just like F2FS, UDF too is a log-structured filesystem, and thus is nicer to flash media.
(Also like CoW systems such as btrfs and zfs)
 

The Following 3 Users Say Thank You to DrYak For This Useful Post: