making .dat file

Ok, I can use dd to write a .dat file to a floppy, but…
…how can I make a .dat file of an existing boot floppy.

-Arve

dd if=/dev/fd0 of=.dat

cheers,

Kris

Arve Slenes <arve@datarespons.no> wrote:

Ok, I can use dd to write a .dat file to a floppy, but…
…how can I make a .dat file of an existing boot floppy.

-Arve


Kris Warkentin
kewarken@qnx.com
(613)591-0836 x9368
“You’re bound to be unhappy if you optimize everything” - Donald Knuth

Kris Eric Warkentin <kewarken@qnx.com> wrote:
:> Ok, I can use dd to write a .dat file to a floppy, but…
:> …how can I make a .dat file of an existing boot floppy.
: dd if=/dev/fd0 of=.dat

Or just “cp /dev/fd0 somefile.dat” … (it will be faster too, as it
will use a 16k copy buffer as opposed to the default 512byte of dd,
and is less typing too :slight_smile:

Yepp! That seemed quite logical… Should have figured that out myself,
but…

Thanks!

-Arve

Kris Eric Warkentin wrote:

dd if=/dev/fd0 of=.dat

cheers,

Kris

Arve Slenes <> arve@datarespons.no> > wrote:
Ok, I can use dd to write a .dat file to a floppy, but…
…how can I make a .dat file of an existing boot floppy.

-Arve


Kris Warkentin
kewarken@qnx.com
(613)591-0836 x9368
“You’re bound to be unhappy if you optimize everything” - Donald Knuth