Thanks for the reply. but this was not what I wanted
Sorry that I was not very specific in my question.
The fact is that format, newfs, and rm will not erase all the data blocks. anybody who is interested in the data can still retrieve it using some tools.
what I wanted to do was to rewrite all the datablocks with some random numbers or zeros.
finally I found a way out using the following command
dd if=/dev/zero of=/dev/rdsk/c0t1d0
this rewrites all the blocks with zeros..I tested it with a third party tool to view sectors(Expert Eraser-a dos program)after connecting the same disk to a PC.
Its not that the question was put wrongly but
the fact was ignored by us all that you needed
Data Block void of all the previous data. Right !!
Yes dd will do the trick LOL.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.