On Fri, May 04, 2001 at 10:17:13PM -0700, Karsten M. Self wrote: > on Fri, May 04, 2001 at 04:30:50PM -0400, Jonathan D. Proulx ([EMAIL > PROTECTED]) wrote: > > On Fri, May 04, 2001 at 02:48:35PM -0500, B Thomas wrote: > > :Hi, > > :I have dos and debian installed on my system . I would like to backup the > > ddevice drivers that came on dos floppies with my system. I know I need to > > use the dd command to make a binary image of the floppy. But I do not know > > the exact parameter to pass . Could you please show me a sample command > > line . > > :sincerely > > :b.thomas > > > > > > [EMAIL PROTECTED] dd if=/dev/fd0 of=floppy.img bs=72k > > I'm not sure where you're getting your bs= value. > > I tend to use: > > $ dd if=/dev/fd0 of=floppy.img bs=1024 count=1440 > > ...though you may not want to set a count if you aren't sure of the size > of the image. Though most 3.5" floppies are 1.4MB, other sizes are > possible.
I was always taught to use a block size of 512 when {read,writ}ing to floppies, and double the kByte size of the floppy to obtain the count e.g. dd if=/dev/fd0 of=floppy.img bs=512 count=2880 I'll poke around to see if I can discover _why_ I've been doing it this way for the last 5 years ... I believe the physical block size of a floppy is 512 however. Cheers, -- Nathan Norman - Staff Engineer | A good plan today is better Micromuse Ltd. | than a perfect plan tomorrow. mailto:[EMAIL PROTECTED] | -- Patton
pgpHHAUsKLr8Z.pgp
Description: PGP signature