FS#6354 - Better rescan of disk space (was bugreport: Free space below 2GB is shown as 2GB)

Attached to Project: Rockbox
Opened by Hussein Patwa (patwa) - Friday, 17 November 2006, 17:33 GMT
Last edited by Peter D'Hoye (petur) - Tuesday, 31 July 2007, 07:36 GMT
Task Type Feature Requests
Category Operating System/Drivers
Status Closed
Assigned To No-one
Operating System iPod 5G
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


When the free space on the drive is less than 2GB, this is not accurately reported in the info>rockbox info page. i do not know about other sources of drive info, but as this page works with voice, it's rather essential for blind/partially sighted users. When free space falls below 2GB, this is still reported as 2GB. I have 264MB of free space at the moment (according to Windows XP, but this is shown as 2GB by rockbox.

A fix when convenient would be appreciated.


This task depends upon

Closed by  Bj√∂rn Stenberg (zagor)
Tuesday, 31 July 2007, 07:36 GMT
Reason for closing:  Rejected
Additional comments about closing:  Closing all feature requests.
Comment by Paul Louden (darkkone) - Friday, 17 November 2006, 22:51 GMT
Have you tried forcing Rockbox to scan the drive, as due to windows not properly updating some things, Rockbox can believe that you have more space than you do. At the screen that shows free space, press the Play button.
Comment by Peter D'Hoye (petur) - Friday, 08 December 2006, 22:03 GMT
I recently had my drive filled up pretty much and rockbox reported free space correctly.
So this probably is a matter of needing a scan to update free space.

I propose to close this report around 17 december unless the OP claims that scanning did not help.
Comment by Hussein Patwa (patwa) - Friday, 08 December 2006, 22:08 GMT
Hello. Apologies for the delay in getting back on this. Yes, your solution on holding down the 'play' button does work, however does the fact that the system still does not automatically update the info screen not constitute a fault? OK, this is only a minor thing, but the default information given by the Info screen is still inaccurate at first glance.

Comment by Peter D'Hoye (petur) - Friday, 08 December 2006, 22:13 GMT
Well we could always scan on entering that screen, but the real bug lies within windows because it doesn't update the free space info on the drive. And it doesn't always act that way, as it works ok here most of the time. Go figure ;)

Let me change this report into a feature request for always scanning the disk. Would that be ok for you?
Comment by Peter D'Hoye (petur) - Friday, 08 December 2006, 22:49 GMT
I think the reason this issue comes up on ipod is because USB access isn't done from within RockBox. On most other devices, the disk is scanned after a USB disconnect.
Comment by Hussein Patwa (patwa) - Friday, 08 December 2006, 23:55 GMT
Hi. A feature request certainly seems like it could enable the issue being looked into. Sorry, I didn't mean to throw a wrench in the works.

Just a thought from someone not as technically prowess as you guys, but could we not replicate the operation that is carried out when one presses the play button in the info screen whenever rockbox starts? That would then automatically scan (or whatever it does) the drive providing a more accurate result. Also, have the same scan carried out whenever the info screen is called, rather than require it to be done manually using the play button.

Hope this makes sense.