[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Fdisk screwup



On Sat, May 09, 2009 at 10:22:03AM -0400, Tom Horsley wrote:
> > Hmm...just curious; why didn't you just cat /dev/zero >/dev/sdc?
> 
> I don't think cat knows when to stop.

Heh.  It'll stop when the disk is full.

> I always use dd to restrict it to a few disk blocks - I find that
> wiping the first 10K or so ...

Sure.  Actually, my preferred method using Unix/Linux is something like

  dd if=/dev/zero bs=1GB of=/dev/<device>

tuning 'bs' to the device and how much you're going to overwrite.  You
can limit this using 'count=X'.

'Course, these days I just drop the disk on my Diskology DriveJockey and
tell it to wipe it.

Cheers,
--
	Dave Ihnat
	ignatz dminet com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]