dd to floppies broken?

Brian Reichert reichert at numachi.com
Thu Aug 21 11:34:29 PDT 2003


A quick question, haven't done enough research yet.

Under 4.7-R and 5.1-R, I've found a file that won't copy to a floppy.

In exploring a memory test available at:

  <http://memtest86.com/>

There are two distributions in question:

  'Linux Memtest86 v3.0 Source and binary Package'
  'Linux Memtest86 v2.9 Source and binary Package'

Each of these distributions comes with a precompiled disk image
called 'precomp.bin':

  % ls -ln memtest86-*/precomp.bin
  -rw-------  1 1001  1001  84480 Feb 28  2002 memtest86-2.9/precomp.bin
  -rwx--x--x  1 1001  1001  84420 May 21  2002 memtest86-3.0/precomp.bin

When copying these to a floppy as root (using two different machines,
and several floppes for testing:)

  # dd bs=8192 of=/dev/fd0 if=memtest86-2.9/precomp.bin
  10+1 records in
  10+1 records out
  84480 bytes transferred in 3.775199 secs (22378 bytes/sec)

  # dd bs=8192 of=/dev/fd0 if=memtest86-3.0/precomp.bin 
  dd: /dev/fd0: Invalid argument
  10+1 records in
  10+0 records out
  81920 bytes transferred in 3.731600 secs (21953 bytes/sec)

Got any quick clues, or should I just file a PR now?  (I don't
even know what to report, really...)

-- 
Brian 'you Bastard' Reichert		<reichert at numachi.com>
37 Crystal Ave. #303			Daytime number: (603) 434-6842
Derry NH 03038-1713 USA			BSD admin/developer at large	


More information about the freebsd-hackers mailing list