| Poster | Thread |
abalaban
|  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 11:09:05
| | [ #41 ] |
|
|
 |
Super Member  |
Joined: 1-Oct-2004 Posts: 1082
From: France | | |
|
| @gregthecanuck
Quote:
| a request triggered by software (i.e. need to reboot after installing something) |
We already had this for years, it's C:Reboot that can perform both software or hardware reboot.
@broadblues
On the other end for programs doing things in background having a notification that they must shutdown isn't such a bad idea. For example imagine you have a process responsible for doing thumbnails of your videos, and this process runs in the background snooping for new files so you don't have to worry about that. This process can very well decide to start writing a new thumbnail at the very moment your are shutting down... A more realistic example would be YAM is started and is configured to retrieve your emails regularly... I agree that ultimately that should be file-systems' responsibility to ensure consistency and integrity. But fact is we don't really have this currently or not completely because having a valid filesystem system does not ensure having the complete data on disk thus we still can end up with a validat/consistent filesystem but corrupted data from the application POV. We miss journalized filesystems with ability to revert files to previous uncorrupted version. Another way of doing thing has been used by some soft reboot commands: locking each partition to prevent applications to start a write operation.
@ssolie
Yes a software shutdown can be a good idea. As I'm implicitly saying above I would even vote for a mechanism that can inform other applications that a software reboot is about to occur (maybe it can be using application library's features, maybe it can be using an evolution of the Olaf's shutdown.library (see Petah's post above), maybe it can be something else).
EDIT: But of course this should not be mandatory and ultimately there must be some sort of watchdog that would trigger the shutdown even if something is stuck after a decently long (configurable) period of time.Last edited by abalaban on 19-Jul-2012 at 11:11 AM.
_________________ AOS 4.1 : I dream it, Hyperion did it ! Now dreaming AOS 4.2...  Thank you to all devs involved for this great job ! |
|
| Status: Offline |
|
|
MichaelMerkel
 |  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 11:29:15
| | [ #42 ] |
|
|
 |
Cult Member  |
Joined: 9-Mar-2003 Posts: 749
From: Ilvesheim, Germany | | |
|
| |
| Status: Offline |
|
|
MichaelMerkel
 |  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 11:34:36
| | [ #43 ] |
|
|
 |
Cult Member  |
Joined: 9-Mar-2003 Posts: 749
From: Ilvesheim, Germany | | |
|
| @redfox
Quote:
redfox wrote: @ssolie
I personally don't need a software shutdown option. I use the power switch.
|
well, software shutdown means nothing more than "'pressing' the power button via software" to me - seeing it on amiga os. and if i - instead of bending over and pressing the button on the computer case - could just press a "button" on my screen and the computer then would power off immediately... well - yes! that's what i want to have. for sure.
regards... michael_________________ Michael Merkel : (Michael.Merkel@gmx.net Home) Member of Amiga-Freunde Pfalz, OS4 Welt |
|
| Status: Offline |
|
|
danwood
|  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 12:17:20
| | [ #44 ] |
|
|
 |
Cult Member  |
Joined: 30-Sep-2008 Posts: 762
From: Unknown | | |
|
| I'm all for this. I use it all the time in MorphOS, saves me moving the chair out and getting on the floor to find the tower under the desk, which is very awkward. Although, I have a feeling it may not work on the A1XE?
|
|
| Status: Offline |
|
|
KimmoK
|  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 12:23:42
| | [ #45 ] |
|
|
 |
Elite Member  |
Joined: 14-Mar-2003 Posts: 3963
From: Ylikiiminki, Finland | | |
|
| @Daedalus
>I think it's a fair point about forcing a shutdown - AmigaOS doesn't eally have an >option for force-quitting an application,
IMO, if application does not quicsave&close in about one second, OS should kill it without mercy. + user must have total control to set SW shutdown to work as one wants. (minimum: people can use it also just to make system shutdown faster than ATX PSU physically otherwise allow)
And for applications: Support for SW shutdown & quicksave function should be made mandatory. And it must be stressed that one application can not use more than about one second to quicsave, we do not want the horrible SW shutdown of all main OSs, we want better.
@thread I used HyperCache on my A4000 setup because onboard ide is not the fastest of the world (even though it's propably faster than on any 486/p1 HW). Often when I made settings or saved something + powered off, I noticed that settings or files were not saved fully. (reason was that I wanted HyperCache wait for one second of CPU idle time before doing actual disk I/O or if not idle just delay a little or something) If I had SW shutdown back then I would not have lost any data when using disk caching. _________________ - KimmoK // For freedom, for honor, for AMIGA // "priest" is just the RED goaul in me // The multicolor AmigaFUTURE IS NOW !! |
|
| Status: Offline |
|
|
djrikki
 |  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 12:31:33
| | [ #46 ] |
|
|
 |
Super Member  |
Joined: 22-Jun-2010 Posts: 1821
From: Grimsby, UK | | |
|
| |
| Status: Offline |
|
|
eliyahu
|  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 13:43:09
| | [ #47 ] |
|
|
 |
Super Member  |
Joined: 3-Mar-2010 Posts: 1182
From: Waterbury, Connecticut (USA) | | |
|
| @ssolie
yes, please. with the pegasos one has to hold down the power button for several seconds. not quite as satisfying as the instant-off of my SAM.
of course instant-on would always be better. 
-- eliyahu
_________________ Check out the latest on next-generation Amiga computing at IntuitionBase.com! |
|
| Status: Offline |
|
|
billt
|  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 14:09:34
| | [ #48 ] |
|
|
 |
Elite Member  |
Joined: 24-Oct-2003 Posts: 2733
From: Maryland, USA | | |
|
| @ssolie
i think that if you're coming out with a netbook or (i really hope for someday) a bigger performance laptop, that you have to add software shutdown. for when battery reaches critical low level and things must be shut down in an orderly fashion before it's too late and you end up going dark in the middle od a disk write or something and you end up with invalidated disk, data lost that didnt get written from cache before going dark, or other sudden power loss problems.
For the netbook, I do not consider this as even optional, it simply must be. Same for any other laptop-alike that I'd love to see in the future. And for environmentally friendly power management on desktops as well. Last edited by billt on 19-Jul-2012 at 04:22 PM.
_________________ All glory to the Hypnotoad! |
|
| Status: Offline |
|
|
wawa
|  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 14:13:25
| | [ #49 ] |
|
|
 |
Elite Member  |
Joined: 21-Jan-2008 Posts: 3515
From: Unknown | | |
|
| mm. a killer feature planned for os4.2 release i take it? since im perfectly fine with turning my amiga off with the genuine power switch (or pulling a cord if need be) and passionately hate the windows power down feature that usually lets the pc hang around wating hours for some user input when its long assumed being off. so id rather like to hear about hows gallium and smp coming along. it must be fairly advanced by now, a little teaser would be nice. |
|
| Status: Offline |
|
|
cha05e90
|  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 16:01:19
| | [ #50 ] |
|
|
 |
Super Member  |
Joined: 18-Apr-2009 Posts: 1136
From: Germany | | |
|
| @eliyahu
Quote:
| with the pegasos one has to hold down the power button for several seconds. |
No - you don't have to do that. Just use software shutdown: pegoff_________________ X1000|II/G4|440ep|2000/060|2000/040|1000 |
|
| Status: Offline |
|
|
billt
|  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 16:20:22
| | [ #51 ] |
|
|
 |
Elite Member  |
Joined: 24-Oct-2003 Posts: 2733
From: Maryland, USA | | |
|
| @abalaban
Quote:
| We already had this for years, it's C:Reboot that can perform both software or hardware reboot. |
Does this communicate with running software to tell them to save files, and wait for them to do so before issuing the reboot, or does the rug get pulled out from under anything running and things get lost?_________________ All glory to the Hypnotoad! |
|
| Status: Offline |
|
|
ncafferkey
|  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 16:35:28
| | [ #52 ] |
|
|
 |
Regular Member  |
Joined: 8-Jul-2003 Posts: 220
From: Unknown | | |
|
| All those saying it will save them reaching under the desk, are you expecting a software startup option too? 
Also, I consider the need to hold down the power button for 5 seconds a bug. At least on PCs, I think the power button can be configured to do instant-off.
|
|
| Status: Offline |
|
|
jaokim
|  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 16:37:02
| | [ #53 ] |
|
|
 |
Regular Member  |
Joined: 8-Mar-2003 Posts: 183
From: Sweden | | |
|
| Quote:
| Does this communicate with running software to tell them to save files, and wait for them to do so before issuing the reboot, or does the rug get pulled out from under anything running and things get lost? |
When I run it from Cubic IDE (I have a script that saves my current session to RAD:, handily available after the OS is restarted) it outputs information saying it closes down filesystems and waits for disk activity to finish. So it indeed does something along those lines._________________ Developer for JAmiga - Java for Amiga |
|
| Status: Offline |
|
|
ncafferkey
|  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 16:41:31
| | [ #54 ] |
|
|
 |
Regular Member  |
Joined: 8-Jul-2003 Posts: 220
From: Unknown | | |
|
| @sicky
Quote:
sicky wrote: Yes a good idea, will make OS look more professional I guess?
|
More professional == more like Windows?
Would window close gadgets on the right look more professional? Would lots of busy daemons in the background look more professional?
I honestly think it's an easy trap to fall into. |
|
| Status: Offline |
|
|
Tomppeli
|  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 17:51:15
| | [ #55 ] |
|
|
 |
Super Member  |
Joined: 18-Jun-2004 Posts: 1327
From: Home land of Santa, sauna, sisu and salmiakki | | |
|
| @abalaban
Quote:
| We miss journalized filesystems with ability to revert files to previous uncorrupted version. |
.recycled dir of JXFS and SFS, if you haven't disabled it or running out of empty space on the partition.
Quote:
| mechanism that can inform other applications |
application.library: APPLIB_Quit and APPLIB_ForceQuit messages plus multi broadcasting feature.
_________________ X1000 + AmigaOS4.1 the best Amiga ever ! Be authentic. "Anyone can build a fast CPU. The trick is to build a fast system." -Seymour Cray X1000 |
|
| Status: Offline |
|
|
eliyahu
|  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 17:53:55
| | [ #56 ] |
|
|
 |
Super Member  |
Joined: 3-Mar-2010 Posts: 1182
From: Waterbury, Connecticut (USA) | | |
|
| @cha05e90
Quote:
| No - you don't have to do that. Just use software shutdown: pegoff |
that's brilliant! exactly what i was hoping existed. 
-- eliyahu
Last edited by eliyahu on 19-Jul-2012 at 05:54 PM.
_________________ Check out the latest on next-generation Amiga computing at IntuitionBase.com! |
|
| Status: Offline |
|
|
vulture
|  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 18:01:31
| | [ #57 ] |
|
|
 |
Regular Member  |
Joined: 21-Sep-2006 Posts: 170
From: Greece | | |
|
| @ssolie
I suppose you mean "proper" shut down - closing programs etc before powering off. In this case, as long as it's optional (can be commented out in kicklayout for example), it's a very very good idea. Last edited by vulture on 19-Jul-2012 at 06:06 PM.
|
|
| Status: Offline |
|
|
pavlor
|  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 18:11:06
| | [ #58 ] |
|
|
 |
Elite Member  |
Joined: 10-Jul-2005 Posts: 3811
From: Unknown | | |
|
| @ssolie
Yes!
@juMa
Welcome!  |
|
| Status: Offline |
|
|
sicky
|  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 18:19:14
| | [ #59 ] |
|
|
 |
Elite Member  |
Joined: 11-Mar-2003 Posts: 2726
From: Essex, UK | | |
|
| @ncafferkey
Quote:
More professional == more like Windows?
Would window close gadgets on the right look more professional? Would lots of busy daemons in the background look more professional?
I honestly think it's an easy trap to fall into. |
The point I was making is what appears to people from outside the Amiga community, users of Windows and Mac OS who might want to try Amiga OS will expect something like this.
We all know just hit the power button but those type of people would be horrified due to being told off next time they boot up  _________________ SAM 460 with 2GB or RAM, 1000GB HD, 4 port SATA, DVDRW drive and Radeon HD 4650 GFX card. |
|
| Status: Offline |
|
|
In_Correct
 |  |
Re: Do you want a software shutdown option added to AmigaOS? Posted on 19-Jul-2012 19:53:35
| | [ #60 ] |
|
|
 |
Regular Member  |
Joined: 23-Apr-2010 Posts: 140
From: DFW, TX, USA | | |
|
| |
| Status: Offline |
|
|