[ale] duplicating the partition layout?

Joseph A Knapka jknapka at earthlink.net
Thu Oct 18 09:54:59 EDT 2001


"Robert L. Harris" wrote:
> 
> I have to duplicate a bunch of disks.  They need identicle partition
> layouts.
> 
> I don't want to dd if=/dev/sda of=/dev/sdb since we're only actually
> using 2 of the 18 gigs right now.

dd if=/dev/sda of=/dev/sdb bs=512 count=1

ought to do it. You just need to copy the first 512 bytes.

Cheers,

-- Joe 
# "You know how many remote castles there are along the
#  gorges? You can't MOVE for remote castles!" - Lu Tze re. Uberwald
# Linux MM docs:
http://home.earthlink.net/~jknapka/linux-mm/vmoutline.html

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list