English Amiga Board


Go Back   English Amiga Board > Requests > request.UAE Wishlist

 
 
Thread Tools
Old 17 January 2016, 09:38   #1
Leandro Jardim
Registered User
 
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
Button and key event to toggle RO/RW all Hard-Drives automatically

I was visiting http://www.amiga.org/forums/showthread.php?t=70346, and reading about a hard-drive infected with virus from TOSEC, and thought about the feature like the thread title says, the aim is to protect the harddrives while they are not being used from viruses loaded from bootblocks or from programs loaded from floppies.

Looks like an important feature for Amiga hard-drive users. Would be more interesting if would be possible to add a checkbox in Misc section to automatically toggle RO all hard-drives when the Amiga is booted with a floppy in DF0.
Leandro Jardim is offline  
Old 19 January 2016, 10:28   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
First: no, it isn't important feature. No one should boot from suspicious floppy disks if harddrives are enabled. Real or emulated.

Second: "volume x is write protected" errors can appear quite quickly and I can guarantee someone will think "VIRUS!" when it is some application trying to flush log buffers etc.. Write protection hardfiles can be even more dangerous if filesystem has data in buffer when write protection gets enabled. Fortunately it is not my problem

Finally: Misc panel option can be done.
Toni Wilen is offline  
Old 19 January 2016, 10:34   #3
Vot
Registered User
 
Join Date: Aug 2012
Location: Australia
Posts: 651
Quote:
Originally Posted by Toni Wilen View Post
First: no, it isn't important feature. No one should boot from suspicious floppy disks if harddrives are enabled. Real or emulated.

Second: "volume x is write protected" errors can appear quite quickly and I can guarantee someone will think "VIRUS!" when it is some application trying to flush log buffers etc.. Write protection hardfiles can be even more dangerous if filesystem has data in buffer when write protection gets enabled. Fortunately it is not my problem

Finally: Misc panel option can be done.

Shiesh i must be a weirdo. On the odd occasion i need to boot up something dodgy i just make a backup of the hard disk file on the host first them restore it when I'm done.
Vot is offline  
Old 19 January 2016, 20:47   #4
Leandro Jardim
Registered User
 
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
Quote:
Originally Posted by Toni Wilen View Post
First: no, it isn't important feature. No one should boot from suspicious floppy disks if harddrives are enabled. Real or emulated.
I only think it is tough to separate suspicious floppy disks and good ones when it comes from TOSEC or even EAB. But the important thing is that I see your point. If this is the case I can use a separate config, floppy only or maybe with a super-minimal HD, to be able to restore the data quickly when something goes wrong.

Quote:
Originally Posted by Toni Wilen View Post
Write protection hardfiles can be even more dangerous if filesystem has data in buffer when write protection gets enabled. Fortunately it is not my problem
I really didnt thought of that. Yes it is very dangerous to enable write protection when AmigaOS is writting to HD. Ugh.

Quote:
Originally Posted by Toni Wilen View Post
Finally: Misc panel option can be done.
Nice. If this is a yes and someday you get time to implement it, then please do it, I feel lack of this type of feature on AmigaOS and even on Windows I miss it, for example.

EDIT: I replaced "lose" for "miss".

Last edited by Leandro Jardim; 20 January 2016 at 08:43.
Leandro Jardim is offline  
Old 19 January 2016, 23:08   #5
Aegis
Gentleman
 
Aegis's Avatar
 
Join Date: Dec 2015
Location: The Fortesque Mansion
Posts: 248
Amiga Forever has an 'undo' feature for drives that allows you to revert any changes made to a disk - it's actually just copying the .hdf to a temp file and running that instead of the original but it's handy for testing stuff out without making a mess of your system.
Aegis is offline  
Old 20 January 2016, 01:59   #6
Leandro Jardim
Registered User
 
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
Quote:
Originally Posted by Aegis View Post
Amiga Forever has an 'undo' feature for drives that allows you to revert any changes made to a disk - it's actually just copying the .hdf to a temp file and running that instead of the original but it's handy for testing stuff out without making a mess of your system.
This is a very smart way to work with HDFs! Maybe Toni can implement that directly on WinUAE? The 68k Macintosh emulator "Basilisk II" have that same feature, too.

But it may not work with large HDFs, like 10 GB ones. Unless that the changes to the HDF were done in memory or in a separate file, and if later when the user quit from WinUAE it ask if should save the contents back to the hard disk.

WinUAE cant simply copy a 10 GB HDF to temp directory, it is possible but would take much time! The correct way would be to generate a sparse file with the new, modified contents of the HDF and at the end merge the contents of both HDFs. Or WinUAE could read both the HDF and the sparse file at the beginning when required.

Last edited by Leandro Jardim; 20 January 2016 at 08:47.
Leandro Jardim is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Native on-screen display" toggle key DamienD request.UAE Wishlist 6 23 December 2015 20:51
Special key for second mouse button on Mac OS X nexusle support.FS-UAE 3 12 February 2013 09:43
Inactive Add Hard Drive button AlfaRomeo support.WinUAE 5 07 April 2010 09:45
'Wait' program that checks for a joy button press instead of 'Return' key... Heavy Stylus request.Apps 7 10 May 2009 19:01
replacing amiga floppy drives with hard drives Gordon support.Hardware 2 06 March 2007 00:44

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:35.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.15467 seconds with 13 queries