From owner-freebsd-questions@FreeBSD.ORG Thu Jul 24 14:59:13 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B17A37B401 for ; Thu, 24 Jul 2003 14:59:13 -0700 (PDT) Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D09543F75 for ; Thu, 24 Jul 2003 14:59:12 -0700 (PDT) (envelope-from mbaki@whywire.net) Received: from user-119apb3.biz.mindspring.com ([66.149.101.99] helo=nebula.whywire.net) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 19fo7D-0006QN-00 for freebsd-questions@freebsd.org; Thu, 24 Jul 2003 14:59:12 -0700 Received: from whywire.net (localhost [127.0.0.1]) by nebula.whywire.net (8.12.2/8.12.2) with SMTP id h6OLfZg4003447 for ; Thu, 24 Jul 2003 17:41:36 -0400 (EDT) Message-Id: <200307242141.h6OLfZg4003447@nebula.whywire.net> Date: Thu, 24 Jul 2003 21:41:35 -0000 To: From: X-Mailer: TWIG 2.7.6 Subject: dd syntax X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 21:59:13 -0000 Hi all, I have a freebsd 5.1 machine with 2 harddrives ad0 and ad2. I need to duplicate ad2 to a 3rd hardrive so what I did is the following: dd if=/dev/ad2 of=freebsd5.1.bin Now when I'm done dd'ing, I can replace ad2 with the harddrive and issue the command dd if=freebsd5.1.bin of=/dev/ad2 Both harddrives are exactly the same, so hopefully the following steps should work, correct? Thank you