Skip to content

Commit 41e6e15

Browse files
committed
Added a proper README.
1 parent 37480ed commit 41e6e15

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
1-
TODO
1+
# sdFormatLinux
2+
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

Comments
 (0)