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

Re: Fdisk screwup



Dave Ihnat wrote:
On Sat, May 09, 2009 at 10:38:08AM +0200, Roberto Ragusa wrote:
  head -c 10000000 /dev/zero >/dev/sdc

will zero a few megabytes and make the disk to appear perfectly clean.

Hmm...just curious; why didn't you just cat /dev/zero >/dev/sdc?

Think about the speed of USB and the size of a useful thumb drive.

(be careful with this stuff!)

Most assuredly; this is 70 caliber, at least.

I would just use fdisk to delete all the partitions, then create a new one (or ones), then mkfs on the partition. I wonder if the OP did a mkfs on the raw device instead of the partition, and that's why it looks so odd.

Doesn't matter now, problem S.B. solved.

Cheers,
--
	Dave Ihnat
	dihnat dminet com



--
Bill Davidsen <davidsen tmr com>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot


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