eli5: How does the OS upgrade during the upgrade process?

190 views

Like say you upgrade from MacOS 13 to 14. How does the OS still run when files are theoretically being replaced while the OS is still running.

In: 7

7 Answers

Anonymous 0 Comments

When you start an application the computer code gets copied from the hard drive into the memory and then can be executed by the processor. If you change the files that stores the computer code then the running process will still use the old code as this is what is copied into memory. It is only when you close the application and open it again that the running code changes. The operating system kernel is exactly the same. All the code is copied into memory and is executed from there. The files on the file system is only there for the next reboot.

You are viewing 1 out of 7 answers, click here to view all answers.