-
Notifications
You must be signed in to change notification settings - Fork 434
Support for ExFAT filesystem? #597
Comments
Just to be clear, I'd be happy to provide a PR to support this (let me know if you want it!), but it doesn't sound like a good solution to me because it's not backward compatible: people who own (or receive from a manufacturer) a NOOBS SD-card created with an older version would not be able to install our OS. |
You can run your own arbitrary commands as post-installation (partition_setup) script. Regarding partitions.json:
Neither does NOOBS. |
Awesome idea, I'll try that 🙌 |
I hope you don't mind me asking, purely out of curiosity...
Why? :) I've just googled and found https://en.wikipedia.org/wiki/ExFAT#Adoption and to answer your original query NOOBS doesn't (yet) use a 5.4 kernel 😉 (Although apparently it does support FUSE, which I didn't realise!) |
We've had similar backwards-compatibility problems in the past, and that's why current versions of NOOBS download os_list_v3.json with older versions still being supported. |
Ahah sure, feel free to ask 🤗 This partition is the one where users can store their media content (roms (games), music, movies, …). Some users have a lot of content. Since we are targeting non-technical users, we need this partition to be readable/writable on Windows, thus we excluded EXT4. We also excluded FAT32 due to technical limitations (partition size, file size, access rights, no journaling, …). We've been supporting NTFS for some time too, but have a few issues with it (mounting is slow, partitions are randomly not detected, …). It's probably an issue on our side, since NTFS seems quite mature, but we never had time to properly track that kind of not reproductible bugs. Finally, we recently tried ExFAT, which is well supported on both Windows (natively) and Linux, and is quite solid/stable, from what we can see. Anyway, we may move back to NTFS at some point (since NTFS optimizes space better than ExFAT, iirc), but for now, we're quite happy with ExFAT broad support and performance. Regarding the driver, we are using this FUSE-based driver which is actually provided by Buildroot. We may switch to native Linux 5.4 support, but we didn't bump to 5.4 on all architectures yet (only on Pi4 at the moment, actually). |
It worked 🙌 Well, actually, I also had to add Actually, I was expecting Let me try to make this more Current behaviour pseudo-code:
Shouldn't it rather be:
Anyway, thanks a lot for your help 🙏 |
Hello,
Recalbox core team member here 👋
We are switching one of our partition filesystem to ExFAT in our next release (due in a few weeks), but from what I can see in this piece of code there's no way to ask NOOBS to create an ExFAT filesystem from our
partitions.json
file 😭Are there any plans to support this? Or at least any custom filesystem creation command? If not, which approach do you think we should consider?
Thanks a lot in advance for your help.
PS: I've tried a few things already to reformat and create the filesystem on first boot, but all my attempts failed:
parted
refuses to resize the extended partition that contains the logical partition mounted as/
fdisk
is made for humans and thus its input is highly inconsistent and not reliably usable by a scriptsfdisk
doesn't seem to support GPTThe text was updated successfully, but these errors were encountered: