On Wed, 2 Feb 2000, Antanas Masevicius wrote:

> Hello, 
> 
> i've been experimenting with raid systems. And like many newbies, i've
> formated partitions with mke2fs before i did mkraid. Worked only with
> --force option. What are ways cleaning those patitions?  

If you use -force, then you should be able to just re mke2fs just fine.

If you /really/ want to wipe the drive or a partition to make sure its
gone (good idea if you're experimenting, then you know what you just did
made things work, and not what was left around since yesterday :) Try
these:

for a whole drive:

dd if=/dev/zero of=/dev/hdc bs=8k

For a partition:

dd if=/dev/zero of=/dev/hdc2 bs=8k


Put proper values into the of= parameter, of course. Be careful: There is
NO protection from making mistakes. Triple check the command line before
hitting return. (Yes, I've been burned.)


   ("`-/")_.-'"``-._        Ch'marr, a.k.a.
    . . `; -._    )-;-,_`)  Chris Cogdon <[EMAIL PROTECTED]>
   (v_,)'  _  )`-.\  ``-'
  _.- _..-_/ / ((.'       FC1.3: FFH3cmA+>++C++D++H++M++P++R++T+++WZ++Sm++
((,.-'   ((,/   fL               RLCT acl+++d++e+f+++h++i++++jp-sm++

Reply via email to