News for hackers. Stuff that matters.
Re:Linus Torvalds on HFS+ by astrodust on Monday January 12, 2015 @04:19PM (#8876472)
G+ is a train wreck for a number of reasons, this included.

Yeah, he's not a fan of HFS+ at all. Wasn't the plan to move to ZFS prior to the Oracle acquisition of Sun? Hopefully that ends up back on track somehow.

Re:Linus Torvalds on HFS+ by exelius on Monday January 12, 2015 @04:58PM (#8876688)
ZFS on OS X was abandoned several years ago. Unless Apple has a new filesystem under development as a skunkworks project, HFS+ is the filesystem on OS X for the foreseeable future.

And even if they did build a new FS, there are some assumptions like case insensitivity that likely couldn't be abandoned without potentially breaking backwards compatibility.

Re:Linus Torvalds on HFS+ by cmurf on Monday January 12, 2015 @09:55PM (#8877851)
And in effect ZFS is forked. There's openzfs and Oracle ZFS, so if Apple were to go with ZFS, which one would they pick? The smart choice would be openzfs which almost certainly means they end up licensing Oracle's ZFS at which point it's like, classic Apple - let's try whenever possible to make interoperability either difficult or hilarious.

Apple's Core Storage does have some COW properties, so they could probably do something like linux LVM thin provisioning style snapshots. They could maybe add a tree for checksums, which would be a good idea for the journal at least but seeing as this hasn't been a priority for even just the journal, the most unencumbered and recent add-on, it seems obviously not a priority. The COW stuff was necessary to automagically migrate data from the SSD to the HDD in their so called "fusion drive", so maybe they leverage that for an updated version of Time Machine and could also do it for atomic online OS/software update with an optional later reboot rather than a mandatory one.

One rather cool thing it does is on-the-fly encryption and decryption of an LV. You can even reboot in the middle of either conversion and it resumes where it left off. And those encrypted volumes can be resized (that's not well documented but is supported and is even used by their own Boot Camp Assistant).

So about the limit of the new fs is an LVM like thing under journaled-HFS+/X.

Re:Linus Torvalds on HFS+ by fubarred on Monday January 12, 2015 @05:59PM (#8877016)
Only if AAPL acquires/merges with ORCL.

3rd-party: there's the non-FUSE port https://openzfsonosx.org/

Re:Linus Torvalds on HFS+ by donavanm on Tuesday January 13, 2015 @12:00AM (#8878244)
Project predated oracle, back in the osx 10.5-10.6 days when there was the dtrace integration as well. There were internal builds of the zfs kext and at one point I saw leaked source on the Internet. Project was abandoned because of legals disagreements over cddl licensing, as I recall.
Re:Linus Torvalds on HFS+ by the_why_of_y on Tuesday January 13, 2015 @07:10PM (#8883462)
CDDL licensing? more likely NetApp scared Apple off with patent aggression

http://en.swpat.org/wiki/NetApp%27s_filesystem_patents

Re:Linus Torvalds on HFS+ by nobleach on Tuesday January 13, 2015 @12:42PM (#8881322)
It was in the dropdown list in Disk Utilities in Leopard developer betas. I never actually tried using it.
Re:Linus Torvalds on HFS+ by iwwr on Monday January 12, 2015 @04:26PM (#8876515)
Isn't there a problem with ZFS' memory footprint to be usable for desktop systems?
Re:Linus Torvalds on HFS+ by mindajar on Monday January 12, 2015 @04:43PM (#8876602)
ZFS works a lot better if you dedicate lots of memory to it, yes.

Apple sells far more iOS devices than Macs these days, and the iOS filesystem is case-sensitive HFS+. It's hard to imagine Apple doing something new in filesystems that doesn't improve the platform they make the most money from.

In a way, the same logic applies to Macs. The number of Macs that support multiple internal disks will soon be zero if it isn't already, so some of the best features of ZFS are irrelevant on new Apple computers.

Re:Linus Torvalds on HFS+ by stephenr on Monday January 12, 2015 @04:57PM (#8876686)
With thunderbolt ports on very Mac why should storage be limited to internal devices?
Re:Linus Torvalds on HFS+ by kstenerud on Monday January 12, 2015 @05:27PM (#8876841)
Because they want you on iCloud. You can't even install the OS without an Apple ID and an active internet connection anymore.
Re:Linus Torvalds on HFS+ by nizmow on Monday January 12, 2015 @05:33PM (#8876871)
This is extremely false.
Re:Linus Torvalds on HFS+ by kstenerud on Monday January 12, 2015 @05:54PM (#8876993)
Which part? The iCloud part or the OS install part?

I just finished reinstalling Yosemite an hour ago after wiping the HD of a friend's new laptop. It would not allow me to get past the eligibility check until I logged in with a valid Apple ID.

Re:Linus Torvalds on HFS+ by X-Istence on Monday January 12, 2015 @06:12PM (#8877094)
Your friend may have had Find my Mac turned on. At that point the only way to get an OS installed on it is to have the original apple ID it was turned on under.
Re:Linus Torvalds on HFS+ by kstenerud on Monday January 12, 2015 @06:40PM (#8877225)
Nope. She never used it. It was the initial "determining the eligibility of this machine" phase where it asked me to log in (originally, this was to check that you'd indeed purchased OSX Lion, but the OS is "free" now). If "Find my Mac" is turned on, it won't even let you wipe the hard drive.
Re:Linus Torvalds on HFS+ by astrange on Monday January 12, 2015 @08:41PM (#8877638)
Sounds like you were using Internet Recovery. It's downloading the OS installer from the App Store - if you had install media it'd work fine.
Re:Linus Torvalds on HFS+ by kstenerud on Tuesday January 13, 2015 @08:34PM (#8883739)
It's a macbook air. There is no install media.
Re:Linus Torvalds on HFS+ by stephenr on Tuesday January 13, 2015 @09:44PM (#8883972)
You can make one if you choose (most people use a USB stick, I'm using an ExpressCard SSD) - this will remove the need for an AppleID and internet access to do the install.

For the vast majority of people this will never be an issue as the machine comes pre-installed and re-installing the OS is generally not required unless something major goes wrong.

Re:Linus Torvalds on HFS+ by stephenr on Monday January 12, 2015 @08:53PM (#8877674)
Apart from being false this doesn't make sense. Apple put thunderbolt ports on the machines they sell. You're suggesting they included ports so customers wouldn't use them?
Re:Linus Torvalds on HFS+ by Malic on Monday January 12, 2015 @04:40PM (#8876588)
It seems there was a licensing problem using ZFS on OSX: http://arstechnica.com/apple/2009/10/apple-abandons-zfs-on-m...