Skip to content

Enable formatting not mounted sdcards#306

Merged
ligenxxxx merged 1 commit intohd-zero:mainfrom
antony-weber:format_sd_fix
Aug 3, 2023
Merged

Enable formatting not mounted sdcards#306
ligenxxxx merged 1 commit intohd-zero:mainfrom
antony-weber:format_sd_fix

Conversation

@antony-weber
Copy link

@antony-weber antony-weber commented Jul 3, 2023

Add block device exist check instead of sdcard mounted check. Now googles can format sdcards with unsupported file system to FAT32.
Large capacity sd cards has exFat file system by default.

By the way, it would be nice to add support for exFat and ext4 in future releases.

@antony-weber antony-weber changed the title enable formatting not mounted sdcards Enable formatting not mounted sdcards Jul 4, 2023
@christhomas
Copy link

Yeah this is a pretty good solution. Check the device exists instead of can be mounted. Then cards inserted with the wrong filesystem can be reformatted. I like it.

@ligenxxxx ligenxxxx merged commit 909e54b into hd-zero:main Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants