News for hackers. Stuff that matters.
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.
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"

Re:Mac OS X Lion: Coming In July For $29 by wmf on Monday June 06, 2011 @02:50PM (#2625865)
They probably mean no additional reboots; in many OSes first you boot the installer/upgrader, then you install, then you boot the installed OS.
Re:Mac OS X Lion: Coming In July For $29 by rimantas on Tuesday June 07, 2011 @03:20AM (#2628215)
He said that no reboot from optical disk will be needed to start the installation.
Re:Mac OS X Lion: Coming In July For $29 by calloc on Monday June 06, 2011 @05:22PM (#2626735)
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.

Re:Mac OS X Lion: Coming In July For $29 by fleitz on Monday June 06, 2011 @06:46PM (#2627084)
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...

Re:Mac OS X Lion: Coming In July For $29 by minimax on Monday June 06, 2011 @07:57PM (#2627316)
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

Re:Mac OS X Lion: Coming In July For $29 by adamesque on Monday June 06, 2011 @02:05PM (#2625667)
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?

http://www.ksplice.com/

Re:Mac OS X Lion: Coming In July For $29 by xbryanx on Monday June 06, 2011 @02:39PM (#2625814)
Maybe something like this IS in the kernel right now.
Re:Mac OS X Lion: Coming In July For $29 by nkassis on Monday June 06, 2011 @02:37PM (#2625808)
Wouldn't that require it being in the kernel right now?
Re:Mac OS X Lion: Coming In July For $29 by rahoulb on Monday June 06, 2011 @02:44PM (#2625842)
10.6.7 is supposed to be a "prepare for Lion" release
Re:Mac OS X Lion: Coming In July For $29 by masklinn on Monday June 06, 2011 @03:07PM (#2625969)
10.6.8 no? 10.6.7 is the current one.