floppy device

Ben Pfaff pfaffben@msu.edu
21 May 2001 11:34:03 -0400


"Marcel Kunath" <kunathma@pilot.msu.edu> writes:

> mke2fs /dev/fd0
> fdformat /dev/fd0h1440
> dd if=file of=/dev/fd0
> 
> mke2fs /dev/fd0
> fdformat /dev/fd0h1440
> dd if=file of=/dev/fd0h1440

These commands don't make sense.  Why are you putting an ext2
filesystem on the floppy, *then* low-level formatting it, *then*
putting an image file on it?

That said, please refer to the fdutils documentation:

What's in a name
================

   The following figure shows the meaning of the different parts of the
name of a floppy device:

      +--------------- /dev: directory for devices
      |   +------------- fd: floppy disk device prefix
      |   | +------------ 0: floppy drive #0 (A:) (0-1 typical, 0-7
      |   | |                possible)
      |   | |+-- 3.5" drive: (use d for 5.25" double density drives, and
      |   | ||                    h for 5.25" high density drives,
      |   | ||                    u for 3.5" drive of any density)
      |   | ||   +---- 1440: Capacity (in KB) of format (usually between
      |   | ||   |           360 and 3920)
     /dev/fd0u1440

-- 
"...In the UNIX world, people tend to interpret `non-technical user'
 as meaning someone who's only ever written one device driver."
--Daniel Pead