dd to floppies broken?

2003-08-21 Thread Brian Reichert
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: There are two distributions in question: 'Linux Memtest86 v3.0 Source and binary Package' 'Linux Memt

Re: dd to floppies broken?

2003-08-21 Thread Leo Bicknell
In a message written on Thu, Aug 21, 2003 at 02:34:21PM -0400, Brian Reichert wrote: > # 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) fd0 is block buffered. Try: dd bs=18k of=/dev/rfd

Re: dd to floppies broken?

2003-08-21 Thread Dan Nelson
In the last episode (Aug 21), Brian Reichert said: > % 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 differ

Re: dd to floppies broken?

2003-08-21 Thread Kurt J. Lidl
On Thu, Aug 21, 2003 at 02:39:44PM -0400, Leo Bicknell wrote: > fd0 is block buffered. Try: > > dd bs=18k of=/dev/rfd0c if=memtest86-2.9/precomp.bin > > I forget why, but 18k maximizes performance on (some?) floppies. Because a 1440 kbyte floppy has 80 tracks, and it's double sided. Thus, 9kbyt

Re: dd to floppies broken?

2003-08-21 Thread Brian Reichert
On Thu, Aug 21, 2003 at 01:42:57PM -0500, Dan Nelson wrote: > You can only write full blocks to raw devices. The first file is > 84480/512 = 165 disk blocks on the dot. The second file is 164.8828125 > blocks, and that last fragment is why the dd is failing. Try adding > conv=osync to your dd li

Re: dd to floppies broken?

2003-08-24 Thread David O'Brien
On Thu, Aug 21, 2003 at 02:39:44PM -0400, Leo Bicknell wrote: > In a message written on Thu, Aug 21, 2003 at 02:34:21PM -0400, Brian Reichert wrote: > > # 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 sec

Re: dd to floppies broken?

2003-08-24 Thread Leo Bicknell
In a message written on Sun, Aug 24, 2003 at 01:04:08PM -0700, David O'Brien wrote: > Since FreeBSD 4.0 we haven't had block devices. rfd0 is an alias for fd0 > now. You also don't need to specify the 'c' partition as the 'fd0' is > already the entire media device -- rather than just the FreeBSD