What is the best way to wipe partition from command line?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
There are very few situations that have a "best" for any significant time.
This one depends on who you are trying to hide from - a mug user, your girlfriend, the NSA, ...
Why? If you ofended a country's intellegence services then you've probably leaked too much already if hard-drive cleaning is something you need to use (hint, encryption).
For just giving away a hard drive nobody can recover overwritten information from a modern hard drive. My source? Try to find somebody willing to do it, even for the multiple-thousand dollars which data recovery companies charge..
Why? If you ofended a country's intellegence services then you've probably leaked too much already if hard-drive cleaning is something you need to use (hint, encryption).
For just giving away a hard drive nobody can recover overwritten information from a modern hard drive. My source? Try to find somebody willing to do it, even for the multiple-thousand dollars which data recovery companies charge..
what are you rambling on about? I am not the one wanting to know how to wipe a dive for one. the other, using dod wipe, if this government came up with it to keep its secrets safe so its own people and others cannot find out about them, then why cannot its own people use the same method to keep there secrets away from others and the country that has secrets that it does not want its own people to know, so badly does this very country does not want its own people to know theses secrets it developed a method called department of defense wipe, to clean the hard drive well enough to keep these secrets from its own people to not find out about?
why, what have they done that is so bad it does not want its own people to know about it?
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by BW-userx
what are you rambling on about? I am not the one wanting to know how to wipe a dive for one. the other, using dod wipe, if this government came up with it to keep its secrets safe so its own people and others cannot find out about them, then why cannot its own people use the same method to keep there secrets away from others and the country that has secrets that it does not want its own people to know, so badly does this very country does not want its own people to know theses secrets it developed a method called department of defense wipe, to clean the hard drive well enough to keep these secrets from its own people to not find out about?
why, what have they done that is so bad it does not want its own people to know about it?
the DOD wipe is a relic from the past and just serves to make the drive more worn.
Look up data recovery from overwritten files and see how many people claim to be able to do it with modern drives. I'll give you a clue: it's less than one.
As for being allowed to use the wipe that the government recomended last century -- you're welcome to do so but a better way of doing things would be to encrypt the data so you don't need to do that. If you have to ask about wiping so that the NSA can't read a drive then you're likely too stupid not to have given the game away in some other manner and should not be looking to resell something which could get you or other people imprrisoned or worse if you used the wrong commandline parameters -- there's a reason people use things like thermite to destry drives.
"So, I want to sell this hard drive on Craigslist for $10 but, the thing is, the NSA want some of the data on it...". Do you not see the farce in that?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.