You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately SDFormatter isn't available for Linux so i made this. It is a tool to format your SD card the way the SD Association intended but under Linux.
3
+
4
+
Multiple SD cards with different capacities have been tested and this tool formats them 1:1 the same as SDFormatter with the following exceptions:
5
+
* SDFormatter sets end head in the MBR to 254 for a card with 31074304 sectors (16 GB) which is a bug i believe. sdFormatLinux uses 255.
6
+
* sdFormatLinux does not support exFAT right now.
7
+
8
+
## Examples
9
+
Erase (TRIM) and format SD card (recommended). TRIM will not work with USB card readers and is ignored.
10
+
`sudo sdFormatLinux -e trim /dev/mmcblkX` where X is a number.
11
+
12
+
Erase and format with label.
13
+
`sudo sdFormatLinux -l 'MY LABEL' -e trim /dev/mmcblkX`
14
+
15
+
## Compiling
16
+
Just run `make`. It automatically builds a hardened version.
17
+
18
+
## License
19
+
This software is licensed under the MIT license. See LICENSE.txt for details.
0 commit comments