How to format a disk in an USB-Floppy-drive
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
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 argumentBut setting the format failed as well:
[~]>setfdprm -p/dev/sdd1440/1440
ioctl: Invalid argument
Quoted 6 lines
Next up scsifmt:
[~]>./scsifmt
/dev/sddfmt
scsifmt: non-sense ioctl errorDidn't work too well, too. Any ideas?
Does not mkfs suffice?
-`J'
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 argumentBut setting the format failed as well:
[~]>setfdprm -p/dev/sdd1440/1440
ioctl: Invalid argumentNext up scsifmt:
Quoted 7 lines
Quoted 4 lines
[~]>./scsifmt
/dev/sddfmt
scsifmt: non-sense ioctl errorDidn'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
Quoted 4 lines · Willy Tarreau
Quoted 3 lines · Jan Engelhardt
Quoted 3 lines
[~]>./scsifmt
/dev/sddfmt
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'
Quoted 11 lines · Jan Engelhardt
Quoted 9 lines · Willy Tarreau
Quoted 7 lines · Jan Engelhardt
Quoted 4 lines
[~]>./scsifmt
/dev/sddfmt
scsifmt: non-sense ioctl errorDidn'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