Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floppy drive is read-only #3333

Closed
conath opened this issue Nov 24, 2021 · 1 comment · Fixed by #3334
Closed

Floppy drive is read-only #3333

conath opened this issue Nov 24, 2021 · 1 comment · Fixed by #3334
Labels
bug Something isn't working

Comments

@conath
Copy link
Contributor

conath commented Nov 24, 2021

There is an oversight in the code for removable drives where the media type of the drive is always generated as cdrom for removable drives, without checking if the drive is a floppy. This leads to read-only access in the guest.

@conath conath added the bug Something isn't working label Nov 24, 2021
conath added a commit to conath/UTM that referenced this issue Nov 24, 2021
Fixed by checking if the drive interface is "floppy"; if so the media type is set correctly to "disk" instead of "cdrom".
@conath conath linked a pull request Nov 24, 2021 that will close this issue
@conath
Copy link
Contributor Author

conath commented Nov 24, 2021

This will be fixed by #3334; I have tested this successfully by inserting a floppy image into a DOS VM and formatting and writing to the virtual floppy disk from the guest.

conath added a commit to conath/UTM that referenced this issue Jan 1, 2022
Fixed by checking if the drive interface is "floppy"; if so the media type is set correctly to "disk" instead of "cdrom".
@osy osy closed this as completed in #3334 Jan 8, 2022
osy added a commit that referenced this issue Jan 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant