Could someone please remind me. Im old and brain dead. There is a command to Zero the empty space on a hard disk into a file and I just forgot it. You set the file size to be bigger then the empty space and it creates a file that is all the empty space zeroed and then you delete the file. Could some kind person please remind me of the command? Thanks john
John N. Alegre wrote:
Could someone please remind me. Im old and brain dead.
There is a command to Zero the empty space on a hard disk into a file and I just forgot it. You set the file size to be bigger then the empty space and it creates a file that is all the empty space zeroed and then you delete the file.
Could some kind person please remind me of the command?
dd if=/dev/zero of=/filename_on_partition Is that the command you were looking for? Sandy
On Fri, 25 Mar 2005 21:19:21 -0600, John N. Alegre <lists@johnalegre.net> wrote:
On Friday 25 March 2005 15:39, Sandy Drobic wrote:
dd if=/dev/zero of=/filename_on_partition
Is that the command you were looking for?
Sandy Thank you Sandy, that be she!
Peace john
A stronger form of the above is scrub. http://www.llnl.gov/linux/scrub/scrub.html But both of the above only clear files. I don't know of a linux tool to wipe deleted space and/or slack space. Those types of tools do exist for Windows. Oh, wait a second the above DD is meant to use all the freespace, so deleted files should get zero'ed, but slack space, directory entries, inodes, etc. will still not be wiped. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century
On Saturday 26 March 2005 10:27 am, Greg Freemyer wrote:
On Fri, 25 Mar 2005 21:19:21 -0600, John N. Alegre <lists@johnalegre.net> wrote:
On Friday 25 March 2005 15:39, Sandy Drobic wrote:
dd if=/dev/zero of=/filename_on_partition
Is that the command you were looking for?
Sandy
Thank you Sandy, that be she!
A stronger form of the above is scrub. http://www.llnl.gov/linux/scrub/scrub.html
But both of the above only clear files. I don't know of a linux tool to wipe deleted space and/or slack space. Those types of tools do exist for Windows.
I wonder if a program like wipe might be helpful for that task? :) There are 2 programs called wipe that run on Linux, one is included with SuSE. I'm using the one from http://wipe.sourceforge.net/ (I'm not sure which is in any given version of SuSE). To securely wipe the free space with the wipe at sourceforge, presuming the partition in question is mounted at /mnt/wipeme: wipe -T -o > /mnt/wipeme/filethatdoesn'texistyet rm /mnt/wipeme/filethatdoesn'texistyet --Danny, with "wipe -DNi /dev/scsi/host5/bus0/target0/lun0/disc" running in the background right now
participants (4)
-
Danny Sauer
-
Greg Freemyer
-
John N. Alegre
-
Sandy Drobic