[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can dd cross device boundaries?
From: |
Francois Marier |
Subject: |
Can dd cross device boundaries? |
Date: |
Mon, 9 Jan 2012 09:42:27 +1300 |
Hi,
(I'm guessing this might be the right list, but feel free to let me know if
there's a better one.)
It looks like I've hosed one of my hard drives through some clueless use of
the dd command (as root of course) and I'd like to understand what I did
wrong.
I was trying to erase /dev/sda entirely so I did this:
dd if=/dev/zero of=/dev/sda bs=8192 count=122095323
(That last number being the size of the drive in bytes divided by 8192.)
My question is: is it possible that it could have gone pass the end of
/dev/sda and continued writing onto /dev/sdb?
Cheers,
Francois
--
Francois Marier identi.ca/fmarier
http://fmarier.org twitter.com/fmarier