Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2002 16:54:21 +0100
From:      Francesco Casadei <fcasadei@inwind.it>
To:        xw <xiaowu23@yahoo.com>
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>
In-Reply-To: <20020319173312.ABC5.XIAOWU23@yahoo.com>; from xiaowu23@yahoo.com on Tue, Mar 19, 2002 at 05:35:00PM -0600
References:  <20020319120538.817C.XIAOWU23@yahoo.com> <20020319181215.A3462@icarus.slightlystrange.org> <20020319173312.ABC5.XIAOWU23@yahoo.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Tue, Mar 19, 2002 at 05:35:00PM -0600, xw wrote:
> Thanks!!
> 
> Are there any programs/commands that can write the whole 
> disk to another like in Windows' CD-R/W without dumping 
> the whole contents of the disk twice? 
> 
> On Tue, 19 Mar 2002 18:12:15 +0000
> Daniel Bye <dan@slightlystrange.org> wrote:
> 
> 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 both stages.
> Daniel> 
> Daniel> Of course, none of this is necessary if you have another LS120 drive!  ;-)
> Daniel> 
> Daniel> HTH
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
> end of the original message

# Insert the source disk into LS-120 drive
$ dd if=/dev/rafd0 of=/tmp/disk.img
# Insert the destination disk into LS-120 drive
$ dd if=/tmp/disk.img of=/dev/rafd0
$ rm /tmp/disk.img 

Change the value of bs to get maximum data rate. Try bs=36b, 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
-- 
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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8mLCtfsM3XxZOsXsRAnrjAJoCOkuZB59ajkUnM28Z09g4wj5zKgCcDOJU
E57Su54Z9QyMW5PN/cmzSQ8=
=wDcT
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020320165421.A2375>