Apple Looking at ZFS For Mac OS X 261
Udo Schmitz writes "Apples Filesystem Development Manager, Chris Emura, is looking into porting Sun Microsystems' file system ZFS to OS X. At least this is what Sun's Eric Kustarz states on the ZFS mailing list. Is this a glimpse of hope for all those of us who think HFS+ isn't up to par for a 21st century OS? Next thing you know and they'll rewrite the Finder ..."
Comment removed (Score:5, Insightful)
Re:Great if it's true (Score:3, Insightful)
Supporting lots of filesystems is hard. Mistakes are difficult to track down and harshly punished, licenses and API's generally aren't amenable to straight ports, and it's a lot of work for what's typically a fairly small ROI. Also, porting one filesystem doesn't generally make porting another significantly easier. You might as well ask:
"But why just a skyscraper? Why not add a warehouse or a subterranean bunker as well? Why not add in a bridge while you're at it?"
Might be nice to have them all, and they certainly share certain requirements, but trying to build them all at once isn't necessarily a good idea when all most people want is a nice place to keep things.
Re:BSD leads, Apple follows once again (Score:2, Insightful)
Why stop at ZFS? (Score:2, Insightful)
that's nice. now fix network file systems. (Score:5, Insightful)
I've looked at AFP, but that essentially mounts the remote system as if it were an external drive, and assigns everything to the logged in user, so ownership, permissions, etc., are all really screwy. Plus that gets even worse if you use fast user switching -- now two people are independently trying to mount the same network drive, each claiming to own it outright. And it doesn't look as seamless as, say, simply going to
SMB isn't much better.
There's always AFS, but that's so bloody complicated that I'd take a lot of convincing before I seriously considered it.
This isn't even to mention the problems that most apps have in working in a networked environment -- applications simply aren't designed for, say, networked home directories, and *especially* aren't designed to be running simultaneously on multiple systems. So if I've got Mail.app running in the den and I log in upstairs to check mail just before I go to bed, things could get messed up.
I'm not sure there's even been a new network file system since the mid 90's, has there? Certainly, nothing with broad support that fixes some of these issues? All I want is UNIX filesystem features -- simple locking (I guess), owners, regular permissions. Doesn't even need to do ACLs. Transparently mounted so it looks like it's part of the local filesystem. And at least reasonably tolerant of network glitches, so a momentary drop at the server (or whatever else happens to screw NFS connections to the wall) doesn't put all apps which have even heard of the mount point into an uninterruptible kernel-level deep-freeze (what's the point of kill -9, dammit?). Is that so difficult?
Most excellent! (Score:3, Insightful)
Re:Intel Macs good oppurtunity to make a clean bre (Score:2, Insightful)
HFS is big endian (Score:4, Insightful)
Even so, all of the other features of ZFS are worth much more than this. If Apple is anything more than a consumer widget company now, ZFS should definitely be under consideration.
ZFS is far from "just another filesystem," and comparing it to existing filesystems indicates a lack of understanding. Take a look at this presentation [opensolaris.org] for more information.
Re:Great if it's true (Score:2, Insightful)
Also imagine Disk Utility having a popup to format a Disk that made users choose between:
EXT3
FAT
HFS+
HFS+ (case sensitive)
JFS
UFS
XFS
ZFS
Then try to explain to Grandma which is the correct one for them to choose in a litle help blurb.
Sometimes Apple has to make choices as to which is the best approach which limit things that might annoy power users, but make things simpler for everyone else. If Apple took the Linux approach, OS X would run on every piece of hardware out there, would have three or four window managers, five filesystems, fourty text editors, and would be hated by typical users for the brief time Apple was around before they went out of business.
Re:Think you'll get it? (Score:3, Insightful)
I think part of what makes this story so interesting is that despite the past few years' developments, most of us still expect Apple to act as it used to with regard to adopting new technology. In other words, we expect Apple to adhere to the 1980s and 1990s playbook of "NIH" - in other words, if Apple didn't come up with it, it's crap.
I think Steve Jobs changed all that, but I think there are lots of us who still find it interesting when Apple drops some in-house technology (Intel chipset over Apple's ASICs, Mach over NuKernel, KHTML over ????, etc.) for free software or technology for equal or better alternatives. We spent years wishing they'd do it, and now they are.
If the rumor is true, someone somewhere got ZFS working already, made a cool demo of a feature, showed it someone who showed it to Jobs, and now it's a real, honest-to-God feature.
Re:Comparison of Filesystems. (Score:2, Insightful)
It's discomforting to know that engineers recommend that you not use 1/3 of your storage so that the OS doesn't have to work so hard. That employee needs to be fired.
I would tend to agree with the BS theory.
Re:dunno bout m$... (Score:3, Insightful)
Demonstrably not true. I've thought that way since I learned to read. In fact, I was confused the first time I dealt with an MS-DOS machine (before I ever heard of Unix), because the instructions showed commands in upper case and I thought I had to type them that way. Everything I do is based on identifying and classifying differences - "F" and "f" are patently not the same thing to me.
People, at least people familiar with written romance languages, use capitalization explicitly throughout their lives. You can argue that they don't think that way until they've been conditioned by literacy, but don't drag Unix into it.
KeS
ZFS on a {Power|Mac}Book{| Pro} (Score:3, Insightful)
Quite to the contrary! The most unreliable element in your laptop is your drive. It will fail at some point, have no doubts about it. ZFS will detect silent failures through its checksumming.
ZFS also makes it possible to do super-fast backups to external disk. Combine that with snapshots and you have the kind of data security enterprises pay a whole lot of money for. Here's how it works:
See? It can be that simple. And there's more:
So what if ZFS does things that VMS did. No-one else has made anything quite like the summit of cool stuff that ZFS is. Apple makes a living bringing cool stuff together and making it cooler. It's a natural match :)
ZFS would yet again boost OS X's position as ultimate laptop OS. Here's hoping that Apple does implement it.