Author Topic: Operating Systems - Updating Without Shutting down?  (Read 4284 times)

Offline Panda

  • Global Moderator
  • Bot Destroyer
  • *****
  • Posts: 476
  • Computer Science Undergraduate (nerd)
    • View Profile
Operating Systems - Updating Without Shutting down?
« on: August 26, 2011, 01:42:01 PM »
If you had to write an operating system that updated without shutting down, what method would you use or how would you do it?

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Operating Systems - Updating Without Shutting down?
« Reply #1 on: August 27, 2011, 02:20:13 PM »
em, Panda that is like saying: "I am going to give this process to the cpu but it might change its commands during processing"
The way the cpu works right now it really cannot change the instructions of the process during the execution of the process itself.
If you figure out a way to work around that, let me know.  ;)

I hope that was helpful.

Offline Shasta

  • Administrator
  • Bot Destroyer
  • *****
  • Posts: 231
    • View Profile
Re: Operating Systems - Updating Without Shutting down?
« Reply #2 on: August 27, 2011, 04:13:58 PM »
Search hot swapping for literature on what you are asking about. The current darwinbots server can update pretty much everything but the kernel without a full system restart, services do have to be restarted though.

Offline Panda

  • Global Moderator
  • Bot Destroyer
  • *****
  • Posts: 476
  • Computer Science Undergraduate (nerd)
    • View Profile
Re: Operating Systems - Updating Without Shutting down?
« Reply #3 on: August 28, 2011, 01:35:12 PM »
I know with current operating systems you can't do any of this but if you were to re-write everything, how would you do it? :p I'm sure it would be possible, just have to use tricks...

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Operating Systems - Updating Without Shutting down?
« Reply #4 on: August 31, 2011, 05:16:50 PM »
I think by "Hot Swapping" Shasta meant:

When there is a need for an update:

A.) The OS loads a copy of all impotent process that maintain the system, with the update.
B.) The OS closes the old versions of those processes.

I just have no idea what the architecture of an OS such as Windows7 really is. You might want to look into Linux which is open source.



Offline Panda

  • Global Moderator
  • Bot Destroyer
  • *****
  • Posts: 476
  • Computer Science Undergraduate (nerd)
    • View Profile
Re: Operating Systems - Updating Without Shutting down?
« Reply #5 on: September 02, 2011, 08:51:55 PM »
I don't need to do it. I was just thinking about it.