Re:Mac OS X Lion: Coming In July For $29
by jevinskie on Monday June 06, 2011 @02:04PM
(#2625660)
It will be interesting to see how the OS installs over itself now that it is being distributed through the app store. I wonder if they will create a new partition with the installer and reboot into it.
[ Parent
| on HN ]
Re:Mac OS X Lion: Coming In July For $29
by drewcrawford on Monday June 06, 2011 @02:06PM
(#2625671)
According to [1], Phil Schiller said "no reboots". Any idea how that is accomplished, or was it a misstatement?
[1] http://www.engadget.com/2011/06/06/wwdc-2011-liveblog-steve-..., Ctrl+F for "reboots"
They probably mean no additional reboots; in many OSes first you boot the installer/upgrader, then you install, then you boot the installed OS.
He said that no reboot from optical disk will be needed to start the installation.
On Unix systems you can replace files on disk without issues because of the way it does reference counting to the underlying file system. Unlike Windows where this is not possible.
I am better there is still one single reboot to start up the new kernel and whatnot. Although I can't find any details on it.
The reason why you can replace executables on Unix is because unix loads the entire file before executing where as Windows does not need to do this, hence executables are opened with out FILE_SHARE_DELETE which would allow you to delete the file while it's open on Windows. If you create a file and open it with FILE_SHARE_DELETE you can delete it while it's in use.
This has absolutely nothing to do with the underlying file system format and everything to do file semantics as documented in the Win32 API.
http://msdn.microsoft.com/en-us/library/aa363858(v=vs.85).as...
There is no requirement for UNIX to "load the entire file before executing," nor does the deletion of files on disk have anything to do with whether or not a file is executable. Under UNIX, any file which has been opened will be accessible until it is closed, regardless of whether or not the file has been deleted (the number of hard links for the inode drops to zero, in UNIX parlance).
For a more technical explanation see http://en.wikipedia.org/wiki/Inode
Supposedly there are no reboots. No idea how they're managing that.
Re:Mac OS X Lion: Coming In July For $29
by fletchowns on Monday June 06, 2011 @02:08PM
(#2625682)
Maybe something Ksplice like?
Maybe something like this IS in the kernel right now.
Wouldn't that require it being in the kernel right now?
10.6.7 is supposed to be a "prepare for Lion" release