Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
|
|
|
22 crawler(s) on-line.
95 guest(s) on-line.
0 member(s) on-line.
You are an anonymous user. Register Now! |
|
|
|
| Poster | Thread | Chris_Y
|  |
Re: AmigaOS 4.1 cannot quit Posted on 2-Aug-2010 20:25:19
| | [ #41 ] |
| |
 |
Elite Member  |
Joined: 21-Jun-2003 Posts: 3209
From: Beds, UK | | |
|
| @NutsAboutAmiga
Quote:
Then the shutdown will need to check the if there is any disk caches that need to be flushed, and then turn on write protect on disk.
wait until all partitions are write protected and reboot or shutdown.
And yes it has to work whit CTRL+L.ALT+R.ALT or CTRL+L.AMIGA+R.AMIGA. |
As I say, this sort of thing is already available with a reset-handler.
eg. http://aminet.net/package/disk/salv/DiskSafe
@Boot_WB Quote:
| suppose I'm more thinking of the risk of cumulative damage to the hard-drive in case of shutdown whilst the head is in contact with the disk, rather than with lost data or a corrupted filesystem (filesystem write operations have been pretty safe in this regard since SFS came about afaik). |
That's pretty much all the RISC OS 3 shutdown option did - dismounted all disks to move the head out of the way.
I don't think we can do this with AmigaOS, dismounting disks doesn't dismount the head AFAIK, although there's no reason why it couldn't be added to scsi.device.
Last edited by Chris_Y on 02-Aug-2010 at 08:28 PM.
_________________ "Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion Avatar is Tabitha by Eric W Schwartz |
| | Status: Offline |
| | Apple Hammer
|  |
Re: AmigaOS 4.1 cannot quit Posted on 2-Aug-2010 20:35:24
| | [ #42 ] |
| |
 |
Regular Member  |
Joined: 3-Jan-2010 Posts: 130
From: Unknown | | |
|
| @ChrisH
Quote:
| It would make more sense for AmigaOS machines to have software-based power switches, like modern PCs |
Agreed but, in the absence of such software control, a hardware solution is something we could easily knock together ourselves.
I do think the AmigaOS should have a limited kind of shutdown procedure though. I would still like the instant turnoff capability because I see that as kind of a feature, but it'd be nice to at least wait until it is convenient in terms of disk activity to do so.
But, to be honest, as a seasoned Amiga user I am pretty used to checking for disk activity myself before switching off. It's almost like the slow oil leak on my Land Rover. Bit of a pain, yes, but at least it's always on my mind to check the oil level from time to time. It's like a bit of a safety feature!!! |
| | Status: Offline |
| | NutsAboutAmiga
|  |
Re: AmigaOS 4.1 cannot quit Posted on 2-Aug-2010 20:43:03
| | [ #43 ] |
| |
 |
Elite Member  |
Joined: 9-Jun-2004 Posts: 13047
From: Norway | | |
|
| @Chris_Y
Newer hard drives have auto park, you don't need to move drive head, under AmigaOS there is a change you not going to be able to quit all applications by sending the CTRL+C signal, and maybe you don't wont interrupt application from reading env or some other things in shutdown process.
Force applications to quit and then write protecting the devices should be all that's needed, all devices will be dismounted after shutdown anyway.
This it should not be hacked in, it has correctly integrated in to device's and file systems, and there should be API that enables applications to register dependencies and register them self in too the shutdown process. _________________ http://lifeofliveforit.blogspot.no/ Facebook::LiveForIt Software for AmigaOS |
| | Status: Offline |
| |
|
|
|
[ home ][ about us ][ privacy ]
[ forums ][ classifieds ]
[ links ][ news archive ]
[ link to us ][ user account ]
|