niklasekstrom / a314

A314 is a family of expansions for Amiga computers that lets a Raspberry Pi (RPi) be used as a co-processor to the Amiga
Creative Commons Zero v1.0 Universal
255 stars 32 forks source link

Unreadable Disk reported by "info" tool with WB 3.1 and less #98

Closed dcutugno closed 3 months ago

dcutugno commented 3 months ago

When using old WB versions the INFO command shouldn't report Unreadable Disk, maybe is related on how ID_DOS_DISK type is reported. https://github.com/niklasekstrom/a314/blob/v1.2.2/Software/a314fs/a314fs.c#L1208

niklasekstrom commented 3 months ago

It is important to note that the disk type that is assigned to the volume, https://github.com/niklasekstrom/a314/blob/v1.2.2/Software/a314fs/a314fs.c#L302, must remain, because the pi command uses that disk type identifier to find out if a directory is on an a314fs volume: https://github.com/niklasekstrom/a314/blob/v1.2.2/Software/picmd/pi.c#L217.

Changing the disk type that is returned by ACTION_INFO/ACTION_DISK_INFO might work fine though.