Re: How to format a disk in an USB-Floppy-drive

From: Willy Tarreau
Date: Sun Nov 19 2006 - 14:25:37 EST


On Sun, Nov 19, 2006 at 08:15:31PM +0100, Jan Engelhardt wrote:
>
> On Nov 19 2006 19:44, Willy Tarreau wrote:
> >On Sun, Nov 19, 2006 at 07:25:34PM +0100, Jan Engelhardt wrote:
> >> > [~]>./scsifmt /dev/sdd fmt
> >> > scsifmt: non-sense ioctl error
> >> >
> >> > Didn't work too well, too. Any ideas?
> >>
> >>
> >> Does not mkfs suffice?
> >
> >No, he's talking about low-level format. This is necessary before writing
> >anything on a floppy for the first time or after defects have been detected
> >(remember these old ages ?).
>
> Yeah but the scsi *disk* driver does not seem to handle *floppy*
> requests (just as it does not handle *cdrom* ioctls). I sense a Missing
> Feature here.

I'm just wondering whether an SCSI floppy drive should support the hard
disk command set (including low-level fmt). I'm not even sure that our
sd driver supports those commands itself ! Clearly smelling -ENOFEATURE...

Regards,
Willy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/