-
-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please use ExFAT for majority of partition #646
Comments
What does exFAT have that ext4 doesn't? |
Read/write support for free on all platforms without poor performance of
FAT32
On Mon, May 20, 2019 at 3:37 PM Nathan S. ***@***.***> wrote:
What does exFAT have that ext4 doesn't?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#646?email_source=notifications&email_token=AABYZ6XRCNIQERUC66QVO4TPWL4WTA5CNFSM4HOEZYW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVZ3KLA#issuecomment-494122284>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABYZ6WJBWO74BRKSWWZCDTPWL4WTANCNFSM4HOEZYWQ>
.
--
…--
Jay McCarthy
Associate Professor @ CS @ UMass Lowell
http://jeapostrophe.github.io
Vincit qui se vincit.
|
The thing is, a Linux system can't boot off of an exFAT filesystem. Lakka Switch does it for FAT32 but it requires countless hacks due to the lack of symbolic links, the invalid |
It doesn't need to boot off of it. It could just have a separate boot partition perfectly sized (given that we can compute how much space is needed) and then everything else as a data partition |
Again most services like bluetooth and wifi rely on symbolic links for their configuration. Symbolic links don't work in exFAT so they need to be removed. Bluetooth uses overlayfs, a very important component of Lakka, doesn't work in exFAT, it needs to be replaced by mergerfs. |
This is not a request, but is it possible to create an extra exFAT partition on the SD card that can hold only roms. I was actually thinking of using partitioning software to modify the partitions once the SD card is created. Seems most users would like to just drag and drop roms to their SD card from a Windows machine. |
What kind of ROMs would you put in an exfat partition that you can't already put on a fat32 partition? |
My mistake. I was thinking the storage partition was still ext4. It did not realize it was recently changed to fat32. Apologies. |
I interpret @natinusala question as saying "ExFAT requires installing new code, but we already support FAT32, so we could do what you want more easily if it FAT32". But @Mr-Jake is inferring that the partition already exists. ExFAT's advantage is that it is faster and supports bigger files, but is probably not much better than FAT32. |
No I was literally asking what is the point of using exFAT, we currently have zero needs for files over 4gb |
AFAIK, for the second/data partition, which is mounted to Some of the reason (why ext4) were already mentioned:
FAT32 is used for the first/boot partition on which the kernel and system/rootfs (readonly squashfs in a single file) reside. But you are free to repartition your media and add ExFAT partition for your needs and mount it to Fun fact: The FAT32 (boot) partition is mounted to /flash (as read-only by default) and can be remounted to read-write:
|
is this still need to stay open? |
Can load rom from exFat USB?? exFat can easy read-write on mac os, windows, linux (?)... |
Try it and see |
I think that one of the best things in Recalbox is its exFAT data partition... I'm able to copy games at about 70MB/s to my SD card, instead the never ending copy at 1MB/s using the Wifi connection (i'm using a RaspberryPi Zero). |
You know that you can use USB with Lakka too right |
Yes, but I'm using Lakka on a Retroflag GPi and connecting anything by USB is a bit hard and dangerous (the USB can be broken). |
"Accessing ext4 partitions from windows is not supported natively but you can install a driver." The replies here are not helpful and ignore Windows compatibility. It is obvious we want at least an option to format the rom storage folder as exfat so file transfers using Wiindows can be fast. Wifi transfer on a pi is a pain, ext4 on Windows is a pain. Reality check: most people use Windows. Seems Recalbox gets that. |
Just put your roms on extra USB thumb drive formatted with ExFAT using Windows and stick it to a free USB port on your Lakka device. There are objective reasons for using ext4 already explained. Yes, there is a possibility to add additional partition (i.e. reduce the ext4 to a smaller size - ~4G or less) and use the remaining space for FAT32/ExFAT partition. This could be done during the first boot, but would introduce incompatibility to older installations. For now it still remains a nice to have, as there is very easy workaround (i.e. using the aforementioned method with additional USB drive with roms). Also using separate drive for your roms makes it easier in case of full reinstall of the system. Any additional storage partition connected to Lakka will be mounted in its own subfolder under |
As I said in my other comment, when I asked for this my intention was to use it on a GPi case, which uses a RPi zero. This RPi is quite slow in wifi access, and to have an external thumb is dangerous (the connector is exposed and can be broken), reduces the autonomy, and forces me to buy an USB connector for the case. All the solutions proposed are very bad, but luckily there are alternatives and I'm using one of them right now. Anyway, my intention was to simplify the life to all the Windows users (and also a bit mine because my main gaming laptop is using Windows), because I have knowledge of Linux and two laptops with it (I work every day with it), and to rid with this is not a big problem for me. |
Exfat doesn't support symlinks . Blame Microsoft ¯_(ツ)_/¯ |
Exactly - easy and dirty solution is to shrink the ext4 partition and add new fat32/exfat partition. This can be done during the first boot, but:
I will prepare POC and test, if this new partition will be automounted under /storage/roms by udevil, or an additional mount unit is required. |
many users request a partition, that is also accessible on operating system, that does not natively support ext4 system, to be able transfer their game files to the storage device (see libretro#646). by reducing the size of the ext4 partition (which mostly stores configuration and setting files) to roughly 2GiB, the remaining space of the storage device can be used as exFAT partition, which is accessible on most (if not all) operating systems. the partition is mounted by udevil to /storage/roms/EXFAT. if for some reason the size of the first (FAT32) partition will be increased in the future, then also the value (4GiB) for the end of the ext4 partition needs to be adjusted. this does not break existing installations of Lakka, but it also does not add the partition to existing installation of Lakka. the partition is created only on the first boot of the freshly flashed image.
Perrrfect Windows SD card copy/paste support DUH ; which you try hard to ignore because possibly you hate Windows and everything with it and thereby ignoring the purpose of this whole thread? Which hurts this great project, a workable out-of-the-box experience for us poor Windows users (the majority). Yes, a lot just buy a preconfigured device with lots of illegal roms preloaded. But the rest wiith a clean pi... which is a major use-case. Think it over. Thank you. |
And what is the problem?, roms, configurations, saves... I'm pretty sure that if not all, most of them don't need symlinks. This is a good feature, but looks like you have any kind of problem with Microsoft products and you don't want to even consider it. I don't like Windows, but is what we have if we want to play games and is the most used SO, so to simplify the life to all that persons which have to use it is not a bad idea. |
@Danixu @rinzwind5 no need for such comments, nobody expressed any hate towards Microsoft or Windows. as mentioned, we cannot drop the ext4 partition, but I am doing last tests with additional exFAT partition. |
@ToKe79 Sorry, but considering how useful can be and the reasons used to say no... I can only think about any hate against Microsoft, avoiding the use any of their filesystems at any cost. We know that ExFAT is far away from perfection, but it's the only filesystem that is compatible with all platforms. |
many users request a partition, that is also accessible on operating system, that does not natively support ext4 system, to be able transfer their game files to the storage device (see libretro#646). by reducing the size of the ext4 partition (which mostly stores configuration and setting files) to roughly 2GiB, the remaining space of the storage device can be used as exFAT partition, which is accessible on most (if not all) operating systems. the partition is mounted by udevil to /storage/roms/EXFAT. if for some reason the size of the first (FAT32) partition will be increased in the future, then also the value (4GiB) for the end of the ext4 partition needs to be adjusted. this does not break existing installations of Lakka, but it also does not add the partition to existing installation of Lakka. the partition is created only on the first boot of the freshly flashed image.
@Danixu I have finished the changes needed for optional exFAT partition. I am preparing test images for some devices, including both GPICase (zero (w) and zero 2w) images from 4.x branch. As soon as these are ready, they will be available at https://nightly.builds.lakka.tv/members/vudiq/exfat-test/ It is not possible to add exFAT partition to already existing installation (i.e. where the whole space is already taken by the ext4 partition) - it is too risky for automated script. However for any new "installation" you can add exFAT partition following these steps:
The ext4 partition will occupy ~2GB and the exFAT partition will take over the remaining space. BIOS files: You can use the exFAT partition to transfer bios files - using your computer create |
This is not a bug, but a feature request.
This page talks about how to access the Lakka drive --- https://github.com/libretro/Lakka-LibreELEC/wiki/Accessing-Lakka-filesystem#direct-drive-access --- but I think it would be easier for users if the data partition were just already in a format like ExFat that is a standard for SD cards.
I use Lakka with a Pi3B+. I would love if it were easier to access, given that the network and drive access are so slow using the Pi hardware.
The text was updated successfully, but these errors were encountered: