joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.68k stars 381 forks source link

Wrong volume label when mount an iso image #2832

Open 1abcd opened 3 years ago

1abcd commented 3 years ago

I create an iso image with volume label (0123456789ABCDEF) more than 8 characters. I mount the iso image as C drive in dosbox-x 0.83.16. Change the directory to c: and type vol command to see what label is.

It shows 8.3 form label (01234567.89A), but this is wrong.

rderooy commented 3 years ago

There are different ISO9660 levels and various extensions https://en.wikipedia.org/wiki/ISO_9660

For DOS there is specifically ISO 9660 Level 1 which is limited to 8.3 filenames. And I suspect that is all that is implemented in DOSBox-X. The long-filename support in DOSBox-X is limited to FAT filesystems.

rderooy commented 3 years ago

Actually it seems that the "PhysicsFS" libs that are used by DOSBox-X for reading ISO9660 filesystems have support for longer names, but it maps the files to 8.3