WinFS != Windows File System

Being an OS junkie, I am knee deep into what Longhorn may bring. WinFS being one of them, so off I went looking for info on what was being called a great new file system that was to be included in Longhorn.

Well it turns out that the acronym of WInFS is not Windows File System, its Windows Foo System (site defunct). Foo you ask, yup thats right, Foo!

Basically it’s a database to store metadata (data about data) of actual files (my guess is the file system will me a updated version of NTFS)

Having a database of this kind of data makes for very powerful search capabilities among many other cool possibilities.

Now taking a bit of a history lesson, Apple moving from complex metadata to something more like we have in the current windows world. The operating system knows less about any given file type now in OSX than it did in the classic MacOS. One of the reasons for moving away from metadata was to allow for better integration with operating systems.

For example, if you move a file away from a system that supports metadata to one that does not, you loose all that information, so how useful is the metadata in the long run then? not very.

I do although think WinFS is a far step beyond anything Apple had before, since the metadata is stored not in the file as it was on the Mac, but in a database. But I think that in the end even moving the metadata between systems and file servers may prove to be difficult. I don’t envy Microsoft for taking this on, it will be interesting to see how it turns out in the end.

Update: as per a readers comment, the Classic Mac platform put metadata in two places. The file and the “Desktop File” The Desktop file consisted of two hidden files: “Desktop DB” and “Desktop FS”

Given this information, apart from the SQL capabilities of WinFS, what so so cool about it? and if ultimately this concept of a database for metadata failed on a Mac, why makes Microsoft so sure that it will succeed?

← Back

11 comments

Archived from the original post. Comments are closed.

  1. Robert Anderson

    Metadata on MacOS 9 and before was partially stored in the file, but also stored in a database called the "Desktop file". "Rebuilding the Desktop" was a rather commmon activity when files would apparently lose their identity.

  2. Dean Burchell

    ArsTechinica has had great articles on metdata file systems — specifically Apple's move away. Here's one link.

    arstechnica.com/reviews/01q3/metadata/metadata-1.html (link removed)

  3. Ray Slakinski

    Yes I have to agree its a good article, I tend to really like the writers at Ars Technica. A very good read for anyone wondering what the hell we are babbling about :)

  4. Elgert Steinhuddle

    The best situation would be if a standard was developed for OS-level metadata. I believe MS is using their own SQL Server for WinFS. I see WinFS as a first step. In somes was a kludge, but I don't mean that negatively. It should have low impact on legacy applications and give a clear pathway towards a future that may eventually require compatibility with the new WinFS system once it is fully integrated.

    Is any other OS maker talking about this? I feel confident Apple has something in mind. They have to as it is so needed. This is my largest wish list item for Apple after they shipped Panther.

    But truly, the best thing would be if the Open Source world took this on and developed a standard around MySQL or a similar SQL database - one that could be up to the task.

  5. Nemo

    In this link:

    www.macuarium.com/actual/especiales/2003/11/18_1984.shtml (site defunct)

    you have some keys of the relation among WinFS, BeOS, Panther and future versions of Mac OS X... but it is write in Spanish...

  6. Tips

    My feeling is that Apple have been wavering from their traditional support purely to help in cross platform issues (i.e, catering to the lowest denominator) -- not so much because they don't believe in it. They've still got their foot in each camp, and while they aren't emphasising it now, HFS+ isn't going away anytime soon.

  7. mikeo

    The new Windows database network file system is mainly being done to lock other OSs out...

  8. Ray Slakinski

    Mikeo, so you think that Microsoft could be getting cocky in there position? With projects like Avalon, you may be on to something, but since it is just a SQL database, I can see folks that work on SAMBA teaming up with the MySQL guys and creating some sort of bridge between the two if needed which would make that point moot. If they truely wanted to lock other OSs out, they would use a closed system, not SQL databases and XML (Avalon)

  9. jspr

    I'm convinced Apple will bring back some kind of meta data file system extension very soon and it's likely to be very powerful. Why? The simple metadata in the classsic MacOS did wonders for the system's usability, and Apple knows this. iTunes is basically a type specific metadata file browser and is the first step towards a more document centric paradigme for the whole system.

    Remember hardware accellerated graphics on pre-jaguar OSX? Everybody was whining about how stupid apple was leaving it out. -Until suddenly Quartz Extreme was announced, a solution far superior to what most could imagine. Expect the same surprise when they announce a metadata model for OSX. My guess this will be before Longhorn is released.

    Now the real problem is portability of the metadata between systems and versions. Storing the metadata seperate from the file is part of the solution, but not all. I'll leave that problem to the experts :) (..just a thought, how about storing them on the web and caching them locally?)

  10. Ray Slakinski

    I don't think Apple will work on this directly, I think it will enter into the MacOS via a Samba/MySQL group. I could be wrong, lets hope I am. Since a Samba/MySQL solution would only mean that it works well with WInFS, and nothing more.

    Perhaps if an open source solution came about that was compatible with WinFS but competed against it, and was installed in Linux, *BSD, and OSX.... we might have something.

  11. Rainer Brockerhoff

    "The operating system knows less about any given file type now in OSX than it did in the classic MacOS." Sorry, that's a common misconception. Mac OS X still maintains, and knows about, all the metadata that were in the classic Mac OS, and added the file extension as an additional one (although that's not "meta"data in the strict sense, I know).
    The addition of file extensions for influencing file-application binding just complicated the actual algorithm - there are more combinations that are considered. In no way can this be construed as Apple "moving away" from metadata, it's just that in the absence of certain metadata, the file extension is used for binding. Which is a good thing, actually.
    The old "Desktop File" didn't store metadata as such but was simply a cache of binding data, used to speed up launching the correct application for a double-clicked file. Mac OS X still has such a cache, only it's in a different place (/Library/Caches/com.apple.LaunchServices.6B.csstore on Panther), and maintained in a somewhat different way.
    The ArsTechnica article is actually very thorough about the issue, but John Siracusa's prediction (made two years ago!) that Apple would remove certain metadata from their native filesystem has failed to materialize - but most people who read the article apparently interpret it to mean that they already have done so!
    Yes, some Apple documents at one time recommended that programmers move away from relying on type and creator, but very few (even inside Apple!) have followed that recommendation - and indeed, the LaunchServices Manager in the recent versions of Mac OS X is getting ever more sophisticated in its handling of metadata.