Use faster method to wipe files

Bug #1373528 reported by Andrew Ziem
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BleachBit
Fix Released
Wishlist
Unassigned

Bug Description

To improve speed, use mmap (when available) to wipe overwrite files and overwrite free space.

Changed in bleachbit:
importance: Undecided → Wishlist
Revision history for this message
ROCKNROLLKID (slinger1410-deactivatedaccount) wrote :

Hello Andrew. Have you investigated in this to see if this actually does improve the speed of wiping free space? If so, I would like to see how much of a improvement this is.

Revision history for this message
Andrew Ziem (ahziem1) wrote :

I have not checked in BleachBit, but I expect a significant boost.

Revision history for this message
ROCKNROLLKID (slinger1410-deactivatedaccount) wrote :

Maybe you could also check into what Eraser uses for wipe methods. There might even be something even better then mmap to use.

Eraser is open-source, so it should be easy to figure out how it works and all. Here is there source code: https://sourceforge.net/p/eraser/code/HEAD/tree/

Revision history for this message
Andrew Ziem (ahziem1) wrote :

The new method in the "wipe" branch (not the "master") branch on Windows systems with local NTFS and FAT32 file systems uses a more accurate and probably faster method. The last alpha (January 15) had it, but it was was buggy, so soon I will publish another release.

summary: - use mmap to wipe files/space
+ Use faster method to wipe files
Changed in bleachbit:
milestone: 2.2 → 2.0
status: Triaged → Fix Committed
Revision history for this message
Andrew Ziem (ahziem1) wrote :

I re-scoped this ticket to just wiping files. Feel free to open another ticket for free space. I'm trying to put all new requests in GitHub, so feel free to file it there. Thanks.

Andrew Ziem (ahziem1)
Changed in bleachbit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.