Re: [SLUG] formatting hard drive

From: Eben King (eben1@tampabay.rr.com)
Date: Wed Jan 26 2005 - 19:17:48 EST


On Wed, 26 Jan 2005, Logan Tygart wrote:

> On Wed, 2005-01-26 at 11:49 -0800, gregory ogden wrote:
> > Hello,
> > Is there a command for wiping a hard drive clean
> > of all data?. I want to start over installing the OS
> > with a clean slate. I'm a complete novice, running
> > Fedora and having some problems, so would like to
> > start over. Thanks
>
> There is always my favorite:
>
> rm -rf /

Leaves the partition data and the filesystem intact, and it's slower than

umount /dev/hda1 # or whichever partition
mkfs -t <whatever> /dev/hda1
mount /dev/hda1 # if it's listed in /etc/fstab

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar

Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." - Albert Einstein

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:27:03 EDT