Page 1 of 1

[New Feature] Add an option to forbid writing on the floppy

Posted: Sun Sep 27, 2020 3:13 pm
by wark91
Hi,

It will be great to add an option to forbid write on a floppy disk image on Ao486 core.
It will limit error if we don't want to write on floppy disk image.

Thanks !

Re: [New Feature] Add an option to forbid writing on the floppy

Posted: Mon Sep 28, 2020 12:13 am
by deepthaw
For now does marking it read only in the file system not work?

Re: [New Feature] Add an option to forbid writing on the floppy

Posted: Mon Sep 28, 2020 7:41 am
by wark91
I didn't think about that ! I will try out. Thanks.

Re: [New Feature] Add an option to forbid writing on the floppy

Posted: Mon Sep 28, 2020 4:21 pm
by wark91
I tried to change the rights of the file on the linux shell of the mister.
The command chmod doesn't change the rights on a file on usb drive or on the sdcard ...
So we can't able to do the test

Re: [New Feature] Add an option to forbid writing on the floppy

Posted: Thu Oct 01, 2020 4:34 pm
by pgimeno
wark91 wrote: Mon Sep 28, 2020 4:21 pm I tried to change the rights of the file on the linux shell of the mister.
The command chmod doesn't change the rights on a file on usb drive or on the sdcard ...
Works for me.

Code: Select all

$ ls -l /mnt/mister/games/ao486/floppy.img
-rwxr-xr-x 1 root root 1474560 Sep  3 19:20 /mnt/mister/games/ao486/floppy.img
$ chmod -w /mnt/mister/games/ao486/floppy.img
$ ls -l /mnt/mister/games/ao486/floppy.img
-r-xr-xr-x 1 root root 1474560 Sep  3 19:20 /mnt/mister/games/ao486/floppy.img

Re: [New Feature] Add an option to forbid writing on the floppy

Posted: Thu Oct 01, 2020 9:10 pm
by wark91
thank you @pgimeno. I need to check again.

Re: [New Feature] Add an option to forbid writing on the floppy

Posted: Fri Oct 02, 2020 3:21 am
by chimaera
I have my floppy image zipped, with exception of disks that I have to be able to write to.
Zipped floppy images are cant be written to.

Re: [New Feature] Add an option to forbid writing on the floppy

Posted: Fri Oct 02, 2020 4:26 am
by wark91
Thank you @Chimaera for this tips !

Re: [New Feature] Add an option to forbid writing on the floppy

Posted: Fri Oct 02, 2020 8:38 pm
by HMPoweredMan
Looks like Sorgelig delivered this one in the latest update.

Re: [New Feature] Add an option to forbid writing on the floppy

Posted: Wed Oct 07, 2020 6:11 am
by wark91
The readonly is just on the cdrom image. I didn't see any option for floppy side.
Thanks

Re: [New Feature] Add an option to forbid writing on the floppy

Posted: Mon Oct 12, 2020 1:28 pm
by Caldor
Yeah, would be nice with this option for floppy disks as well.