Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2000 09:01:17 +0100 (BST)
From:      Mac <mac@ngo.org.uk>
To:        tienhuat_lee@yahoo.com (tienhuat lee)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: diskette duplication--exactly
Message-ID:  <200006070801.JAA02546@ngo.org.uk>
In-Reply-To: <20000607060447.9953.qmail@web702.mail.yahoo.com> from tienhuat lee at "Jun 6, 0 11:04:47 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> How to duplicate "exactly" a diskette, including everything --
> partition tables, bad sectors, file system, file, time stamp, ... BIT
> BY BIT?
> 


Hmmm.  Diskettes (i.e. 3.5" floppies) don't have (generally speaking)
partition tables.

On the other hand, any large disk (particularly SCSI disks) will more
than likely have the odd bad sector already (i.e. before you copy stuff
onto it) which would probably mean that there will be some data in some
sector on the source disk that wants to be copied onto some sector on
the target disk that is already marked bad.

I suppose you might strike lucky and find a brand new hard disk with no
bad sectors on it at all that's exactly the same size as the one you
want to copy, but I doubt it.

And anyway, by definition a bad sector probably can't be copied in the
first place, so the copy disk can't be made identical to the source disk
where bad sectors are concerned.

That said you probably don't need to copy bad sectors anyway, and 'dd'
is the tool you want.  Just make sure you use the raw disk device (e.g.
/dev/rwd0c)

	Best of luck,


                       Mac


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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