Full Disclosure mailing list archives
Re: Erasing a hard disk easily
From: Larry Apolonio <fulldisc () rh73 com>
Date: Wed, 14 Jul 2004 10:03:05 -0700
Darren Reed wrote:
Too bad the pc Unixes don't have a format command like Sun has had for Solaris/SunOS....tells the hard drive to 'format' and then tests with a number of test patterns. Darren _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html
Been wondering why no one mentioned mke2fs From the mke2fs man page-c Check the device for bad blocks before creating the file system. If this option is specified twice, then a slower, destructive,
read-write test is used instead of a fast read-only test. From the badblocks man page-w Use write-mode test. With this option, badblocks scans for bad blocks by writing some patterns (0xaa, 0x55, 0xff, 0x00) on every block of the device, reading every block and comparing the contents. This option may not be combined with the -n option,
as they are mutually exclusive. Isn't writing 10101010 then 01010101 then 11111111 finall 00000000 enough I guess you would do (assuming a single partition on an ide drive) mke2fs -c -c /dev/hda1 then dd if=/dev/zero of=/dev/hda just to clean out the parition info. Larry _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html
Current thread:
- RE: Erasing a hard disk easily, (continued)
- RE: Erasing a hard disk easily Marek Isalski (Jul 13)
- RE: Erasing a hard disk easily amilabs (Jul 13)
- Re: Erasing a hard disk easily Doug White (Jul 13)
- RE: Erasing a hard disk easily amilabs (Jul 13)
- Re: Erasing a hard disk easily Denis McMahon (Jul 13)
- Re: Re: Erasing a hard disk easily Maarten (Jul 13)
- RE: Erasing a hard disk easily Jos Osborne (Jul 13)
- Re: Erasing a hard disk easily Aditya, ALD [ Aditya Lalit Deshmukh ] (Jul 13)
- Re: Erasing a hard disk easily Maarten (Jul 14)
- Re: Erasing a hard disk easily Darren Reed (Jul 14)
- Re: Erasing a hard disk easily James Sneeringer (Jul 14)
- Re: Erasing a hard disk easily Larry Apolonio (Jul 14)
- Re: Erasing a hard disk easily Gary E. Miller (Jul 14)
- Re: Erasing a hard disk easily Darren Reed (Jul 15)
- Re: Erasing a hard disk easily Gary E. Miller (Jul 15)
- Re: Erasing a hard disk easily Darren Reed (Jul 16)
- Re: Erasing a hard disk easily Kurt Seifried (Jul 16)
- Re: Erasing a hard disk easily Gary E. Miller (Jul 16)
- Re: Erasing a hard disk easily Aditya, ALD [ Aditya Lalit Deshmukh ] (Jul 13)
- Re: Erasing a hard disk easily Dave Horsfall (Jul 15)
- Re: Erasing a hard disk easily Vincent Archer (Jul 15)
- Re: Erasing a hard disk easily José María Mateos (Jul 15)
- RE: Erasing a hard disk easily Marek Isalski (Jul 13)
- Re: Erasing a hard disk easily wszumera (Jul 15)