This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9945 - Copy/paste of files doesn't detect disk full condition
Attached to Project:
Rockbox
Opened by Jonas Häggqvist (rasher) - Monday, 23 February 2009, 03:26 GMT+2
Last edited by Jonas Häggqvist (rasher) - Thursday, 26 February 2009, 23:55 GMT+2
Opened by Jonas Häggqvist (rasher) - Monday, 23 February 2009, 03:26 GMT+2
Last edited by Jonas Häggqvist (rasher) - Thursday, 26 February 2009, 23:55 GMT+2
|
DetailsWhen copying a file from one volume to another, the disk full condition isn't detected, and the copying never finishes.
I used the following method: * Create 2 files on the player - one 110MB file of zeroes (0x0) and a 20MB file of ones (0x1) * Copy the 110MB file to a 128MB microsd card * Copy the 20MB file The latter operation never finished (after 15 minutes), and I had to forcefully shut down by holding power for 15 seconds. After mounting the card, I see the 110MB file transferred correctly (MD5 sum matched), and a 0-byte file with the filename of the 20MB file. Users on http://anythingbutipod.com/forum/showthread.php?t=34458 hypothesized that corruption might occur, but this doesn't seem to be the case. At least for this 128MB microsd card. Tested on a Sansa E280 - I expect this might be true for all multivolume targets. |
This task depends upon
Closed by Jonas Häggqvist (rasher)
Thursday, 26 February 2009, 23:55 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fix committed in r20121.
Thursday, 26 February 2009, 23:55 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fix committed in r20121.
I'm seeing what appears to be another bug where paste fails to clean up after itself when pasting a directory fails and creating possible corruption (not visible in Linux though), but I don't think that's directly related - just another bug that's been uncovered by this check actually working and the paste operation stopping.