Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Disk requirements in installer
« previous next »
  • Print
Pages: [1]

Author Topic: Disk requirements in installer  (Read 1703 times)

Offline Scitale

  • Member
  • *
  • Posts: 2
Disk requirements in installer
« on: January 30, 2009, 02:05:17 AM »
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).
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Disk requirements in installer
« Reply #1 on: January 30, 2009, 03:04:37 AM »
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 ...
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline evilnick

  • Rockbox Expert
  • Member
  • *
  • Posts: 431
Re: Disk requirements in installer
« Reply #2 on: January 30, 2009, 11:03:46 AM »
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.
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: Disk requirements in installer
« Reply #3 on: January 30, 2009, 11:39:50 AM »
Quote from: evilnick on January 30, 2009, 11:03:46 AM
Plus a bit of a "safety" buffer perhaps.

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)?
« Last Edit: January 30, 2009, 11:44:35 AM by cool_walking_ »
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Disk requirements in installer
« Reply #4 on: January 30, 2009, 12:06:07 PM »
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)?
Yes. This can be quite large, up to at least 5 MB or so
Logged

Offline Strife89

  • Member
  • *
  • Posts: 354
  • Michael Carr
    • Strife89's blog
Re: Disk requirements in installer
« Reply #5 on: January 30, 2009, 12:47:57 PM »
A fully-loaded .rockbox folder on my Sansa c250 (with several themes, a voice file, 2 Doom WAD, a dictionary file, etc.) approaches 100 MB. ;)
Logged
Rockbox: Sansa Clip Zip, iPod Color, iRiver H320

Android: Moto X4, Galaxy Tab S2 T710

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Disk requirements in installer
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.101 seconds with 15 queries.