From owner-freebsd-questions Wed Mar 20 7:54:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.tiscalinet.it (mail-4.tiscalinet.it [195.130.225.150]) by hub.freebsd.org (Postfix) with ESMTP id B04C737B400 for ; Wed, 20 Mar 2002 07:54:37 -0800 (PST) Received: from [217.133.244.87] (217.133.244.87) by mail.tiscalinet.it (5.5.057) id 3C98A14D00006E42 for freebsd-questions@FreeBSD.ORG; Wed, 20 Mar 2002 16:54:35 +0100 Received: (qmail 2424 invoked by uid 1000); 20 Mar 2002 15:54:21 -0000 Date: Wed, 20 Mar 2002 16:54:21 +0100 From: Francesco Casadei To: xw Cc: dan@slightlystrange.org, freebsd-questions@FreeBSD.ORG Subject: Re: How to copy an image file on a ls120 disk to another? Message-ID: <20020320165421.A2375@goku.kasby> Mail-Followup-To: xw , dan@slightlystrange.org, freebsd-questions@FreeBSD.ORG References: <20020319120538.817C.XIAOWU23@yahoo.com> <20020319181215.A3462@icarus.slightlystrange.org> <20020319173312.ABC5.XIAOWU23@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020319173312.ABC5.XIAOWU23@yahoo.com>; from xiaowu23@yahoo.com on Tue, Mar 19, 2002 at 05:35:00PM -0600 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 19, 2002 at 05:35:00PM -0600, xw wrote: > Thanks!! >=20 > Are there any programs/commands that can write the whole=20 > disk to another like in Windows' CD-R/W without dumping=20 > the whole contents of the disk twice?=20 >=20 > On Tue, 19 Mar 2002 18:12:15 +0000 > Daniel Bye wrote: >=20 > Daniel> In that case, you will need to copy the image to your hard disk, = change > Daniel> LS120 disk, then write the image file back. I would use dd for b= oth stages. > Daniel>=20 > Daniel> Of course, none of this is necessary if you have another LS120 dr= ive! ;-) > Daniel>=20 > Daniel> HTH >=20 > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message >=20 > end of the original message # Insert the source disk into LS-120 drive $ dd if=3D/dev/rafd0 of=3D/tmp/disk.img # Insert the destination disk into LS-120 drive $ dd if=3D/tmp/disk.img of=3D/dev/rafd0 $ rm /tmp/disk.img=20 Change the value of bs to get maximum data rate. Try bs=3D36b, as suggested= by Greg Lehey in the reply to my own post on this list titled "LS120 drive has= a strange behaviour with 1.44MB floppy". Francesco Casadei --=20 You can download my public key from http://digilander.iol.it/fcasadei/ or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...) Key fingerprint is: 1671 9A23 ACB4 520A E7EE 00B0 7EC3 375F 164E B17B --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8mLCtfsM3XxZOsXsRAnrjAJoCOkuZB59ajkUnM28Z09g4wj5zKgCcDOJU E57Su54Z9QyMW5PN/cmzSQ8= =wDcT -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message