27 October 2018, 04:48 | #1 |
Registered User
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
|
HDD: Wipe (Zero) unused Blocks
Is there any tool that clears unused blocks (i.e. overwrites them with zeros) on an amiga hdd?
|
28 October 2018, 18:59 | #3 |
Registered User
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
|
Thanks. But it does not work for me, as I'm using PFS3.
So, is there any wipe tool that works for this filesystem? |
28 October 2018, 23:22 | #4 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Check the PFS3 tools in the official archive on Aminet.
If there's no tool for it there then you can do it manually by copying (cloning) all files to a second partition or drive, doing a full format on the first partition, and copying the files back. As a bonus this will also give you a fully defragmented and optimized file system. |
29 October 2018, 08:32 | #5 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
No, that does not work. Format does not fill blocks with zeros but with a random pattern.
Even worse, if you do a full format on a VHD file, it will grow to its maximum size which is the opposite of what was asked for. You better create a new HDF or VHD and copy all files to that. |
29 October 2018, 09:18 | #6 | |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Quote:
I didn't know that, but if the purpose is to remove all traces of deleted files then it is perfectly fine. |
|
29 October 2018, 12:06 | #7 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
You have to know that he already asked the question and because of answers he knows some/most things already. He wants to pack the partition image with best results, hence the zero all free space approach. WinUAE and HDF was already suggested. Which seems a good solution IMHO. Then he can copy zero files to fill up the HD and delete it later. PFS also contains dd (known from linux) with a zero device that can be used. A small script could automate that.
|
01 November 2018, 16:01 | #8 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
There are a couple of tools on Aminet:
FillDisk on Fish disk 61 CleanDisk FillDisk doesn't fill with zeros, but you could hex-edit the executable to replace the string it does fill with with zeros. CleanDisk probably does fill with zeros but I didn't bother to test it. [It would be nice if WinUAE could support checking if data to be written is all-zero. Then instead of actually writing the data, it could free up the corresponding space on the host (Windows) drive (if using a sparse HDF).] |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wipe Out | Hungry Horace | Games images which need to be WHDified | 119 | 13 February 2021 16:35 |
Selling some unused parts | McVenco | MarketPlace | 3 | 18 October 2008 15:16 |
If WinUAE cannot detect your supposedly empty HDD, look for zap.exe or wipe.exe. | fmcpma | support.WinUAE | 5 | 08 August 2006 00:35 |
Unused Connectors/Ports | BippyM | support.Hardware | 16 | 26 July 2006 13:56 |
check HDD bad blocks | rare_j | support.Apps | 3 | 21 February 2006 00:04 |
|
|