Skip to contentSkip to conversation

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

DISCUSSION Christian Schmidt 3 participants 5 messages Nov 19, 2006

lore
Share & tools
lore
#0 lore raw

Dear all,

How do I actually low-level format a floppy disk in an USB-Floppy-Disk-Drive?

I tried as with usual drives, using fdformat:

[~]>fdformat /dev/sdd
Could not determine current format type: Invalid argument

But setting the format failed as well:
[~]>setfdprm -p /dev/sdd 1440/1440
ioctl: Invalid argument

Next up scsifmt:

[~]>./scsifmt /dev/sdd fmt
scsifmt: non-sense ioctl error

Didn't work too well, too. Any ideas?

Best regards,
Christian

#1 lore raw
Quoted 12 lines

How do I actually low-level format a floppy disk in an USB-Floppy-Disk-Drive?

I tried as with usual drives, using fdformat:

[~]>fdformat /dev/sdd
Could not determine current format type: Invalid argument

But setting the format failed as well:
[~]>setfdprm -p /dev/sdd 1440/1440
ioctl: Invalid argument

Quoted 6 lines

Next up scsifmt:

[~]>./scsifmt /dev/sdd fmt
scsifmt: non-sense ioctl error

Didn't work too well, too. Any ideas?

Does not mkfs suffice?

	-`J'
#2 lore raw
Quoted 14 lines · Jan Engelhardt
Quoted 14 lines

How do I actually low-level format a floppy disk in an USB-Floppy-Disk-Drive?

I tried as with usual drives, using fdformat:

[~]>fdformat /dev/sdd
Could not determine current format type: Invalid argument

But setting the format failed as well:
[~]>setfdprm -p /dev/sdd 1440/1440
ioctl: Invalid argument

Next up scsifmt:

Quoted 7 lines
Quoted 4 lines

[~]>./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 ?).

Cheers,
Willy

#3 lore raw
Quoted 4 lines · Willy Tarreau
Quoted 3 lines · Jan Engelhardt
Quoted 3 lines

[~]>./scsifmt /dev/sdd fmt
scsifmt: non-sense ioctl error

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

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.

	-`J'
#4 lore raw
Quoted 11 lines · Jan Engelhardt
Quoted 9 lines · Willy Tarreau
Quoted 7 lines · Jan Engelhardt
Quoted 4 lines

[~]>./scsifmt /dev/sdd fmt
scsifmt: non-sense ioctl error

Didn't work too well, too. Any ideas?

Does not mkfs suffice?

Quoted 7 lines
Quoted 3 lines

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