Rockbox Development > Feature Ideas
Disk requirements in installer
Scitale:
I just installed Rockbox. Very neat piece of software, but since my e260 was almost full (8 MB free) I had to experiment for a while to get just enough free space for the default installation to succeed. It would be nice if the installer either said how much space it needed, or, better yet, if there was a graphical indicator, maybe similar to a CD burner (green - enough space, red - not enough space).
bluebrother:
That is not easily possible, as the packages get downloaded individually and the size isn't known in advance. Current Rockbox Utility checks the available disk space before installing, but it can only do this individually for each package. As the size of packages changes every now and then we can't use precalculated values. But if you have a good proposal how this could work please tell ...
evilnick:
How about once the install is selected (full/smart/extras) then the Util could ask the build server (by that I mean where the built zipfile resides) for the uncompressed size* and then checks that there is enough freespace on the selected device? Plus a bit of a "safety" buffer perhaps.
For a full install, this would be necessary for the build and the fonts and whatever else needs to be sent to the device.
Just an idea.
* - maybe this could be added to the rockbox-info.txt file, before the build gets compressed? Or added to the location that the build is downloaded from.
cool_walking_:
--- Quote from: evilnick on January 30, 2009, 11:03:46 AM ---Plus a bit of a "safety" buffer perhaps.
--- End quote ---
Seems like if you're going to have a safety buffer, you might as well just save this effort and hard-code some figure like 10MiB. Seems like if you're going to do this, you want it to be exact.
Won't it also have to take into account FAT cluster size (i.e. wasted space caused by file sizes not being an exact multiple of the cluster size)?
gevaerts:
--- Quote from: cool_walking_ on January 30, 2009, 11:39:50 AM ---Won't it also have to take into account FAT cluster size (i.e. wasted space caused by file sizes not being an exact multiple of the cluster size)?
--- End quote ---
Yes. This can be quite large, up to at least 5 MB or so
Navigation
[0] Message Index
[#] Next page
Go to full version