For fun, I'd like to "revive" a vintage computer, but this requires to hardware reformat a PATA disk.
I found on the net the formatting utility from the vendor but it works only under Windows and I have no Windows computer.
I don't think the utility would be effective in Wine because it needs to access the hardware and, to my knowledge, Wine and Linux won't let any program do that for obvious safety/security reason.
I can connect the drive to an USB attachment -- my PC motherboard has no PATA interface. The drive will be detected as a SCSI drive because SCSI-3 is now a framework above the various hardware layers SATA, PATA, SCSI, …
I can write a small program with enough privileges to send SCSI CDBs (I have previous experience with SCSI-1 and SCSI-2) on /dev/sd? but I wonder if SCSI command FORMAT (4) would be correctly translated to the PATA equivalent command.
Has anybody any idea/experience if this is feasible?
Asked by ajlittoz
(175 rep)
Sep 11, 2019, 04:12 PM