LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   What app can REALLY delete a partition? (not fdisk, parted, etc...) (https://www.linuxquestions.org/questions/linux-general-1/what-app-can-really-delete-a-partition-not-fdisk-parted-etc-327959/)

kornerr 05-28-2005 09:15 AM

What app can REALLY delete a partition? (not fdisk, parted, etc...)
 
I can't delete a partition with (c)fdisk, parted or whatever. They only alter my disk partition table.
I need smth like real formatting without mkfs operation.
Thanks.

david_ross 05-28-2005 09:49 AM

If you write rubbish from /dev/random or 0's from /dev/zero enough times it will eliminate what is already stored on the disk/partition:
dd bs=1024 if=/dev/random of=/dev/hdxY

kornerr 05-28-2005 10:39 AM

Thanks, david_ross.

DaWallace 05-28-2005 12:10 PM

you can use the shred command on those devices if you want a nice report on the progress.

kornerr 05-28-2005 12:14 PM

Thanks, DaWallace.
"shred" seems to be an interesting command.


All times are GMT -5. The time now is 07:40 AM.