Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#10656 - Wrong Free and Disk size when SECTOR_SIZE!=512

Attached to Project: Rockbox
Opened by Laurent Papier (papier) - Tuesday, 06 October 2009, 00:32 GMT+2
Last edited by Frank Gevaerts (fg) - Monday, 09 November 2009, 23:54 GMT+2
Task Type Patches
Category Operating System/Drivers
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

'System'->'Rockbox Info' shows wrong Free and Disk size when SECTOR_SIZE != 512.

Right now, Nano2g is the only target with SECTOR_SIZE != 512, but I guess this could change in the futur.

Here is a simple patch that fixes the problem and should works for any SECTOR_SIZE.

   fix_2048_sector_size.patch (0.6 KiB)
 firmware/drivers/fat.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

This task depends upon

Closed by  Frank Gevaerts (fg)
Monday, 09 November 2009, 23:54 GMT+2
Reason for closing:  Accepted
Additional comments about closing:  accepted in r23595

Loading...