Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Operating Systems Software Linux IT

The Linux Filesystem Challenge 654

Joe Barr writes "Mark Stone has thrown down the gauntlet for Linux filesystem developers in his thoughtful essay on Linux.com. The basic premise is that Linux must find a next-generation filesystem to keep pace with Microsoft and Apple, both of whom are promising new filesystems in a year or two. Never mind that Microsoft has been promising its "innovative" native database/filesystem (copying an idea from IBM's hugely successful OS/400) for more than ten years now. Anybody remember Cairo?"
This discussion has been archived. No new comments can be posted.

The Linux Filesystem Challenge

Comments Filter:
  • by suso ( 153703 ) on Wednesday July 28, 2004 @03:17PM (#9823993) Journal
    Instead, try to keep up with the demands and needs of users.
  • easy answer (Score:5, Insightful)

    by dAzED1 ( 33635 ) on Wednesday July 28, 2004 @03:19PM (#9824014) Journal
    nfs4, with solid integrations for auth servers (ldap to active directory, etc).

    We live in a network-based universe. Local filesystems are already good - whether its just continued development in Reiser, or whatever else.

    Nfs4, though - its like afs, only without the sucky stuff. AIX is now including nfs4 in its AIX5.3 release, even! With the Big Dog on board, we should realize there's wisdom in that direction ;)

  • by Anonymous Coward on Wednesday July 28, 2004 @03:20PM (#9824024)
    Don't try to keep up with Microsoft and Apple. Instead, try to keep up with the demands and needs of users.

    In this case, they're one and the same.
  • Why not use... (Score:2, Insightful)

    by AnthonyPaulO ( 732084 ) on Wednesday July 28, 2004 @03:21PM (#9824049)
    ... the BeOS file system? I heard that it was supposed to be the latest and greatest, the OS to end all OSes.
  • by CarrionBird ( 589738 ) on Wednesday July 28, 2004 @03:23PM (#9824073) Journal
    Of all the problems I can spot in the current crop of OSs, filesystems aren't one of them.

    Nobody has come up with a compelling reason or feature to make me want to change filesystems.

  • by tikoloshe ( 515755 ) on Wednesday July 28, 2004 @03:23PM (#9824077)
    Filesytems are tools that will suit different purposes. Some are good for databases, some for lots of small files, some for lots of reading, some for writing, some for networks, some for streaming.
    So to develop a one handy "swiss army knife" of filesystems may not be the best route. For the most part one knows what a system will be doing and can build in the most appropriate filesystem for the job.
  • Re:bah! (Score:2, Insightful)

    by eightball01 ( 646950 ) on Wednesday July 28, 2004 @03:25PM (#9824102)
    Agreed. Although Reiser4 looks very handsome, Linux needs to worry more about functionality and ease of use. Not filesystems. Joe Sixpack cares little for the filesystem even if he has a clue of what a filesystem actually is or does. He wants an easy to use, easy to get up and going machine that will play at least a couple of games, view a little porn, access his email, and perhaps get some work done on the side. If the filesystem is robust, then it's a bonus. Joe Sysadmin worries about the filesystem perks and quirks.
  • Wow, hey - check it out everyone! Somebody who "gets it" instead of just uses FOSS stuff because they want to pretend they're cool.

    THIS guy's attitude is what the FOSS community MUST begin to cultivate and it MUST find a way to push the din from all the screaming Microsoft haters down to an inaudible level (the cluetrain just dropped off a package: nobody cares if Microsoft has been promising something without delivering for 10 years. If they beat Linux to it, that's all that matters). The FOSS community disgusts me, and it's lack of focus that makes that so. The parent poster understands that the point of any software development should be to fill a need that's still empty, or to improve upon a tool that's already filling a need.

    When more people get on board with pushing Linux to just be a good system, more people will use it. Nobody is going to switch to Linux just because YOU hate Microsoft. They WILL switch to Linux, however, when it offers them a good reason to do so.

  • by jilles ( 20976 ) on Wednesday July 28, 2004 @03:41PM (#9824287) Homepage
    Actually that involves keeping up with the rest of the field as well. Not every feature MS adds to their OS should be duplicated. But some features are useful and should be considered.

    MS has basically announced/demonstrated most of the new features that are in longhorn. Effectively that has given the linux community two years to come up with competing features. Adding database features to a filesystem makes sense, beos has demonstrated that you can do some nifty stuff with it and both apple and MS have anounced to do this.

    The linux community however is divided. You can install reiserfs, maybe develop some tools that use some of its more advanced features but that doesn't fundamentally change anything if openoffice, KDE and Gnome and other programs don't coevolve to use the new features.

    The same goes for stuff like avalon. While everybody is still talking about how such technology might be used in OSS projects like mozilla, Gnome, MS is well on their way of implementing something that may actually work.

    Filesystems with rich metadata were already a good idea ten years ago. The OSS community has talked about them where others have implemented them. Two years of more talking would be fairly consistent. IMHO the OSS community is underperforming in picking up new technology and good ideas.
  • by beee ( 98582 ) on Wednesday July 28, 2004 @03:41PM (#9824288) Homepage
    A good filesystem should be capable of handling all potential applications (for example, FAT32 has found its way into grandmother's desktop and production web servers). Specializing a FS is a huge mistake, and any highly-specific FS introduced to date has been a huge flop. This is not the best route to travel for Linux.
  • OpenVMS (Score:1, Insightful)

    by Anonymous Coward on Wednesday July 28, 2004 @03:41PM (#9824290)
    This has been a core feature of OpenVMS for a long time.
  • by Karamchand ( 607798 ) on Wednesday July 28, 2004 @03:41PM (#9824291)
    Who has the larger market research department - Microsoft or Linux?
    I.e. by just following MS in many ways you are already following what people want and need.
  • by lightknight ( 213164 ) on Wednesday July 28, 2004 @03:58PM (#9824468) Homepage
    Right, and how often do you misplace files?

    More than three times a week, and that's criminal.

    I mean, throwing things about in your home or My Documents directory are fairly standard. How often do you put your (picture) files in a \qw3r3et354t\bchnjc8g45\3j4n45g9u98d directory?

    While everyone seems to see WinFS (and associated services) as some sort of search panacea, your ability to retrieve those files is linked to 1.) its metadata and 2.) your ability to recall a search term that appears in the metadata. If your search for "bird" and the metadata specifies "hawk", short of a dictionary search, you still cannot find it. It doesn't matter if the uber search capabilities can span the entire hard drive in 5 secs, and run through multi-dimensional data. You still need a search term, and that search term (in whole or in part) must appear somewhere in the file, be it the filename or metadata.

    Essentially, WinFS makes data appear more ordered (assuming you take the time to fill out the fields). Otherwise, it's useless.

  • by kfg ( 145172 ) on Wednesday July 28, 2004 @03:58PM (#9824475)
    Users often demand and think they need all sorts of pointless, worthless, daft shit. Commercial companies, of course, have to cater to this, and the less ethical directly exploit it ( I'll sell you speaker cables that I've meditated over while sitting under a mystical waterfall to infuse them with energy and align their molecules, only $2000 a set. If you can't hear the difference it's because your chakras are blocked, but don't worry, I've developed a homeopathic remedy, only $20 a bottle. Oh, they only work while listening to my taped lecture series though, just $499. Remember to sit on my special magnetic pad at the same time (available to members only)).

    How's about this for a better idea, instead of trying to keep with Microsoft try to keep up with sound software engineering principles in designing our file systems?

    There may even come a time when the required action to impliment this idea is to do nothing.

    KFG
  • by LazloToth ( 623604 ) on Wednesday July 28, 2004 @04:03PM (#9824538)

    Hey, let's admit that Microsoft did a good thing with NTFS. Before I get roasted, let me say I've been working with FAT, NTFS, EXT2/3, Reiser, and others over the last 12 years, and I've had a chance to get a view of reliability, ease of recovery, etc., with several of these in production environments. I think the NTFS permissions model is one that the Linux world would welcome over the old and, I think, inadequate U-G-O scheme we continue to tolerate.
  • not so fast ... (Score:3, Insightful)

    by vlad_petric ( 94134 ) on Wednesday July 28, 2004 @04:06PM (#9824579) Homepage
    While I agree with the atomicity part, it's all great provided that the code is bug-free. IIRC reiserfs bugfixes where quite frequent in kernel changelog a couple years ago.

    Filesystems are so crucial to OS stability, that I'd say it's worth formally-verifying them to a certain extent (i.e. prove that the algorithms/code work, instead of just observing that they work in normal conditions).

    P.S. The whole thing - filesystem as a DB - is complete crap. You can't do a bunch of fs operations in a single transaction and have ACID semantics on the transaction as a whole. Sure - searching is great. But database means much more than just a searching interface.

  • by pclminion ( 145572 ) on Wednesday July 28, 2004 @04:07PM (#9824594)
    use a loop device. We have had encrypted filesystems for several years.

    Everyone seems to like this method. But do you also encrypt your swap partition? If not, then whenever the system swaps, unencrypted data gets stored somewhere on the swap partition.

    Here's something that might terrify you: run grep on your swap partition and give it a few characters from your password. You needn't list the entire password. Scary, eh? (This won't work for everyone, but it might for you.)

    Remember, if you're using loopback with crypto, you're just pissing in the wind unless you encrypt your swap, too.

  • Palm (Score:3, Insightful)

    by gveloper ( 168162 ) on Wednesday July 28, 2004 @04:13PM (#9824678) Homepage
    Doesn't Palm OS have a database/filesystem hybrid too?
  • by hackstraw ( 262471 ) * on Wednesday July 28, 2004 @04:13PM (#9824684)
    Of all the problems I can spot in the current crop of OSs, filesystems aren't one of them.

    Nobody has come up with a compelling reason or feature to make me want to change filesystems.


    I disagree. Why can I go to google and search the entire web for something and get an answer in less than 1 sec, and I can't do that on my computer or lan?
  • by kfg ( 145172 ) on Wednesday July 28, 2004 @04:14PM (#9824696)
    When storing files in a database retrieval is dependant on metadata. That metadata is not derived by magic, it requires human input. You may automagically determine that a file is a jpeg, but classification as a jpeg of a bird is a cognative decision. Maybe you aren't even interested in the bird at all, but in the hemlock limb the bird is sitting on. Unless someone has supplied that metadata you just as lost finding the jpeg of the hemlock branch as you are in finding randomly named jpeg of a bird.

    Filenames are metadata and are just as much under user control as database metadata, no more, no less.

    KFG
  • by nuggz ( 69912 ) on Wednesday July 28, 2004 @04:15PM (#9824712) Homepage
    I've been using linux since the early 90's.
    Always the stable version, didn't have problems until I tried reiserfs, switched back to ext2 ext3 actually, and I didn't have problems again.

    The source of my problem appears to be resierfs directly or indirectly I don't know, like most users I don't really care either.

    Doctor it hurts when I do this.
    Then stop doing that.

    Good enough for me.
  • by njdj ( 458173 ) on Wednesday July 28, 2004 @04:15PM (#9824714)
    Linux must find a next-generation filesystem to keep pace with Microsoft and Apple,

    This whole article is based on nonsense. Microsoft has a long way to go before it catches up with Linux in the filesystem area. There is no realistic prospect of Microsoft keeping pace with Linux filesystems in the foreseeable future.

    (Before dismissing me a Linux fanboy, note that the above applies only to filesystems. When it comes to understanding of GUI issues, I'd make a similar statement but with Linux and Microsoft swapped. But that would be off-topic.)

  • by Psymunn ( 778581 ) on Wednesday July 28, 2004 @04:16PM (#9824719)
    Microsoft has a huge marketing department so they can please the people they are trying to sell to. Linux developers are their own market. By following Linux developers you are, more often then not, finding out what developers, like myself, want and need. By following Microsoft, you are finding what glitzy feature convinces someone that, maybe it's time to retire Office 97. The fact is, I have found few people, if any, who truly want a 3D desktop enviroment. I know others think diffrently, but i found XPs default taskbar seemed childish and condiscending.
    frankly, i don't care if the casual consumer uses linux or not (though a larger market share would have some benefits). the people who develop for linux generally want and need the same things as my self and i'm happy.
    That being said, faster file searching is definatly a useful tool. But if the registry in Windows is any indication of what the file system is going to look like in order for anything to get found, i don't want it.
    On a random side note, App Rocket [candylabs.com] is a nifty program launcher for windows that finds files very fast.
  • by AstroDrabb ( 534369 ) on Wednesday July 28, 2004 @04:19PM (#9824757)
    And exactly how would any search/indexer know that it is picture of a bird? If you add 10,000 randomly named imaages and 1,000 of them were of birds to a filesystem, how would any metadata be added that described those 1,000 images as images of birds? Sure you could find all 10,000 images easily, though there would be no way to find all images of birds unless you or someone else added metadata saying that it was an image of a bird. So for many file formats, there is no less work involved in creating metadata then using a good file name. However, the metadata approach is much more flexible and more fined grained then a file name. It will still require work for many file types that cannot be parsed to guess at the type of content. HTML, text, office documetns will all be easy to build metadata from with no user intervention. Though how would you do it for an image or audio file? Some audio files have "tags", though you cannot be guaranteed that they are valid.

    Side Note: Cool posibilites like this show how proprietary formats can really suck and lock users out from searching/indexing their own content. Even offerings from MS in this category will suffer from the inability to search/index proprietary formats. I doubt MS will get specs for all possible file formats out-in-the-wild, thus leaving much of an end-users content hidden from searching/indexing.

  • by prisoner-of-enigma ( 535770 ) on Wednesday July 28, 2004 @04:25PM (#9824843) Homepage
    You're right, it wouldn't be traditional UID/GID anymore, it would be something better. We are all in this make something "better," aren't we? Or is this whole OSS thing just one big echo chamber?

    Is the Linux/Unix community so "steeped in tradition" (also known as stubborness, obstinance, intolerance, and narrow-mindedness) that it willfully clings to an outdated, inferior way of doing things?
  • by Anonymous Coward on Wednesday July 28, 2004 @04:29PM (#9824901)
    Data that has not been backed up in a secure location should for all practical purposes be considered deleted.

  • by prisoner-of-enigma ( 535770 ) on Wednesday July 28, 2004 @04:31PM (#9824917) Homepage
    The SourceForge page says:

    • Development Status:: 3 - Alpha

    Sorry, I'm not about to trust archived video to alpha code, or even beta code. If there's no release-worthy option on Linux, we have to stick to NTFS on Windows.
  • EMBED VERSIONING! (Score:3, Insightful)

    by chill ( 34294 ) on Wednesday July 28, 2004 @04:36PM (#9824983) Journal
    Searching is all wonderful and that, but not the direction I believe would provide the most benefit.

    Embed versioning into the filesystem. I believe Reiser has talked about this. Imagine being able to right-click on a file, folder or even partition and choose "roll back" or "restore" from the context menu. It then presents you with a list of snap-shot points you can restore to, starting with "last change".

    Who backs up their hard drives any more? Have you thought of the problems and time involved in backing up 40, 80 or even 200 Gb of data? I'd MUCH MUCH rather have this feature than some enhanced search.
  • by jmulvey ( 233344 ) on Wednesday July 28, 2004 @04:37PM (#9824995)
    I'm an architect for a large corporation that is today trying to find a replacement for NFS. Our key goals are:
    - Integration with a Kerberos SSO strategy
    - Fast performance
    - Cross-platform compatibility with Windows
    - Robust Access Control mechanisms, RBAC would be nice but DACL is probably reality.

    In my opinion, these are the primary goals that companies are looking for. Not a "journaling" file system, or built-in encryption. Sure those are nice, but let's get the basics first. Unfortunately, CIFS is still in quite a state of beta (even on the 2.6 Kernel) and there don't seem to be any real other alternatives.
  • Re:not so fast ... (Score:5, Insightful)

    by AstroDrabb ( 534369 ) on Wednesday July 28, 2004 @04:38PM (#9825018)
    ReiserFS 3 had bugs in the early versions just as all software will. That is why reiserFS was not used for productions systems for a while. It will probably be the same with ReiserFS 4. I will use it at home when it first comes out, but not where I don't want to chance data corruption.
  • by CAIMLAS ( 41445 ) on Wednesday July 28, 2004 @04:38PM (#9825021)
    Does anyone else find the fact that someone is comparing WinFS to the likes of reiserfs (despite my dislike for it), XFS, and hell, even ext3?

    Granted, the proposed featureset of WinFS is vastly 'superior' to that of the 3 main linux contenders, but it could be argued that WinFS is neither a filesystem itself, nor is it on par with any of the linux filesystems in terms of performance or stability (if NTFS5 is to be of any forboding).

    I seem to recall reading about several projects that impliment WinFS-like features. I don't recall what they were, and I don't think they were kernel-space projects, but I recall thinking, "this looks nice".

    Besides, let's be honest here. What practical functionality does WinFS provide that is above and beyond the combination of 'locate', and 'file' used in conjunction? WinFS seems to me to be merely a crude hack so as to make up for the fundamental shortcomings with MS's OS design.
  • by kasperd ( 592156 ) on Wednesday July 28, 2004 @04:43PM (#9825085) Homepage Journal
    A good filesystem should be capable of handling all potential applications
    I absolutely agree. And I actually think the current interface to filesystems is good. I don't want any major changes. Because major changes would most likely lead to all new kinds of metadata that no applications know how to deal with. And whenever your files get handled by a program without this knowledge, you are losing metadata which again means new applications that makes use of the metadata get screwed. So most of this inovation will just give us lots of compatibility problems. If anybody really want to inovate, and produce something good, then they should implement a clever implementation of the existing interface, that works well for different cases, that is both small and large files, deep trees, many files per directory, few files per directory. AFAIK reiserfs and XFS are doing quite well.

    (for example, FAT32 has found its way into grandmother's desktop and production web servers).
    FAT is a horrible example, because it didn't become this widely used because of quality. Minix' FS is simpler than FAT, it have more features, and it is a lot faster for random access to large files. FAT-16 had problems with small files, because on large partitions you were forced to use large clusters, which means lots of disk space wasted (I have seen 30% waste in real life cases). FAT-32 did improve on the problem with small files, because now you could have much larger partitions with 4KB clusters. But since FAT-32 still use linked lists to find data sectors (like previous FAT versions), FAT-32 is worse at handling large files than any previous filesystem. For example seeking to the end of a 625MB file in 4KB clusters requires following 160000 pointers. Most other filesystems use a tree structure, which means you can typically index the entire file with at most 3 or 4 levels of indirection, which means you need to follow 4 or 5 pointers. Would you try to cache the FAT table to speed up the access? Good luck, you would need 4 bytes of FAT table per 4KB cluster on the disk, so for a 160GB disk you would need to use 160MB of your RAM just to cache the FAT. And this doesn't get rid of the CPU time required to traverse the linked list.
  • by DunbarTheInept ( 764 ) on Wednesday July 28, 2004 @04:47PM (#9825146) Homepage
    Changing the filesystem to store real names is trivial actually. The hard part (and the point you seem to have missed) is that you would also have to alter almost every unix program ever written that ever made calls to setgid() or setuid() or getgid() or getuid(). That means that adapting to this new filesystem of which you speak means chucking most of the utility programs unix has right out the window and starting over again. At that point you might as well start over and make a new OS.

  • by joh ( 27088 ) on Wednesday July 28, 2004 @04:54PM (#9825246)
    There is a tendency to make the developers of Free Software responsible for hunting after every and any feature and idea MS and Apple care to implement to fish for users that is really annoying.

    First, all Unix file systems since some decades have proved to just fit the bill quite fine. Searchable Metadata and other "features" is actually application-level stuff. 98% of the data on an average Desktop Unix system (and 99.5% of the data on a server) does not need that, because it rarely changes and is of no special interest for the user at all. And if it does, application-level data is better integrated, faster, and more flexible.

    What is happening here (and in many other recent discussions) is dragging the Free Software community into an arms race it can not win. You can't make Linux/Gnome (or FreeBSD/KDE or whatever your favorite Open Source system may be) into a system that is just like Longhorn or Tiger but gratis and free. Never. What Free Software really needs, now more than ever, is to be picky about its users, its uses and its features. Better offer 10% of all users a system that is better than offer 90% of them a system that is a poor emulation of the OS they get for free with their PC anyway.

    This is a point that the Free Software community has to (re)learn, better today than tomorrow.
  • by pe1chl ( 90186 ) on Wednesday July 28, 2004 @04:57PM (#9825295)
    One could conclude that either:
    - this feature was not considered important by users and thus the systems offering it were not surviving
    or:
    - the feature was considered important or nice to have, but decision which system to buy was not made based on important or desirable features.

    I think it could be the latter. However, that means that introducing useful features will not sell your system... what a wonderful world.

  • Not really (Score:3, Insightful)

    by Synn ( 6288 ) on Wednesday July 28, 2004 @04:57PM (#9825297)
    IMHO the OSS community is underperforming in picking up new technology and good ideas.

    Hardly. There are a lot of OSS projects that are leading the way with new technologies and in implementing good ideas.

    But in quite a few areas it's not at all uncommon to see slow support for new tech. The community divides about how to implement the new ideas, which slows things down, but that division fosters competition and provides a base for testing out different ways of getting the new tech out the door.

    Sometimes doing it well is better than doing it first.
  • by runderwo ( 609077 ) <runderwoNO@SPAMmail.win.org> on Wednesday July 28, 2004 @05:01PM (#9825343)
    Finally, what bloat is today, is necesary tomorrow. Imagine an oracle database on hardware from the seventies. Bloated beyond imagination, dog slow. But since the seventies the amount of data stored in a database has grown tremendiously, to the level where we simply need databases like Oracle or SQL Server to store it.
    Bloat isn't an absolute metric. Bloat is the ratio of the memory and execution footprint of a program to the useful work it gets done. A program which does the same amount or less useful work than another program, and which is twice the size in core and uses twice as much CPU time as the more efficient program, is referred to as bloated. It would be illogical to refer to a database server such as Oracle simply as bloated, unless it were possible to point out a competing database server which is equally as useful and which has a smaller footprint, either due to careful coding or to better algorithms. In the case of Oracle, this might be true. But just because it doesn't produce useful work on the hardware of 30 years ago doesn't mean it isn't a well engineered piece of software.

    A better label to use would be "complex". To respond to your argument that the only obstacles to db-fs are ignorance and blind conservatism, complex software is undesirable. It increases costs in terms of man hours to maintain it, it increases QA overhead, and it increases support calls from users who came to depend on a feature which was included for completeness, but was never audited for correctness or robustness. People don't code complex software unless they are paid to do it (and usually when a manager is making the technical decisions). This is the reason most open source/free software tools seem to follow the Unix philosophy; simple tools which do one task and do it well, but are yet flexible enough to build into more complex systems. A monolithic database filesystem does not appeal to the sort of psyche which produces open source code for that reason: Complexity doesn't make a programmer's job fun. In order to produce large amounts of code at a low cost as in the open source/free software world, the people behind the engineering of the software need to be having fun, and a complex database filesystem is a rather good example of something which is _not_ fun to produce and therefore unappealing to the hacker sort.

  • Re:not so fast ... (Score:4, Insightful)

    by jbolden ( 176878 ) on Wednesday July 28, 2004 @05:15PM (#9825482) Homepage
    The backwards compatibility problems are insurmountable

    They aren't a problem at all. Every email system can identify file formats it doesn't know how to deal with. Most can get external plugins. The file + attributes can be seen as just a type of file (like say .att). So if you support the .att format you would see a doc plus an icon plus history plus... otherwise you just see a .att file that needs some external app to understand.
  • by Lars Clausen ( 1208 ) on Wednesday July 28, 2004 @05:32PM (#9825646)
    I really don't see the point in a case-sensitive file system. Remembering case but ignoring it in comparisions makes life a lot easier. Can anyone point at some application or library or kernel part or anything that depends on the case of the filename alone to tell files apart? I can't think of any -- and besides, I'd consider it very bad behaviour.

    -Lars
  • by Edward Faulkner ( 664260 ) <ef@NospaM.alum.mit.edu> on Wednesday July 28, 2004 @06:14PM (#9826009)
    I, for one, would flame someone who suggested changing the semantics of pipes. Well-defined interfaces are the heart of reliable software. Changing an interface is a very big deal - especially one as entrenched as, for example, pipes.

    Of course interfaces need to change sometimes. But first you need to ask how much you're going to break. If the kernel hackers break existing interfaces too much, they risk alienating the users/distros and forking the kernel.

    Is this a check on innovation? Absolutely. But I'll point out that Microsoft has even larger checks on innovation - they promise far more backward compatibilty. And it has to be binary compatibility, which is harder than source compatability.
  • Re:New FS (Score:1, Insightful)

    by Anonymous Coward on Wednesday July 28, 2004 @06:30PM (#9826169)
    If the encryption is any good, it will be too random to achieve any compression.
  • by Anonymous Coward on Wednesday July 28, 2004 @06:41PM (#9826259)
    I see a small problem with these "new" filesystems. Microsoft is creating their filesystem with their metadata format. Apple is adding metadata to their system in their own format. And now somebody wants to add metadata to Linux filesystems. But in what format?

    Is it just me, or a lot of supposedly smart people missing the very obvious problem that you're not going to be able to exchange files between these different systems and keep the metadata? Before anybody ships a metadata-based system, I'd like to see some kind of standard defined for metadata interchange. Frankly, I think a standard is long overdue (please let filename extensions die!), and it's absolutely essential that a standard exist before different formats become too firmly entrenched.

    You would think that people would have learned their lesson, but this is starting to look like the 80s all over again.
  • by swissmonkey ( 535779 ) on Wednesday July 28, 2004 @07:08PM (#9826445) Homepage
    Well, if you look at NTFS, it has one issue : fragmentation when the disk is near full capacity.

    On the other hand, it already does almost everything ReiserFS 4 _promises_ to do, and with NTFS it actually works, tried in the real world, and can be trusted.

    Small files aggregation : NTFS stores small files in the MFT directly
    Plugin : NTFS reparse points
    Encryption : there since ages
    etc..

    Linux supports a lot of filesystems, but very few come close to NTFS when it comes to capabilities, scalability,...
  • by swissmonkey ( 535779 ) on Wednesday July 28, 2004 @07:12PM (#9826485) Homepage
    NTFS5 is miles ahead of most Linux filesystems (reparse points, encryption, compression,... all supported transparently), only ReiserFS 4 comes close, and it's not yet in a usable state.

    I'm wondering if you even know what WinFS is, comparing it to file and locate it laughable at best.

    Try finding all mp3 by Brian Adams or Withney Houston on a 200Gb disk filled with 250'000 files with file and locate, you'll get the answer 10 minutes later.

    With WinFS, it will take you a whooping 2 seconds maximum.

    That is without talking about the user-defined attributes, etc... that make WinFS more powerful than anything of that kind on Linux.
  • by Anonymous Coward on Wednesday July 28, 2004 @07:41PM (#9826674)
    Maybe he isn't root and doesn't have permission to create groups.
  • by anothy ( 83176 ) on Wednesday July 28, 2004 @08:00PM (#9826795) Homepage
    ...any highly-specific FS introduced to date has been a huge flop.
    i call bull. specialized file systems have been a huge success. lots of commercial database applications use specialized file systems to achieve peak performance. google's published a very interesting paper on the design of their custom file system. these things are only a "flop" in that they don't take over the world - but that's not their goal! they're specialized.
  • by e_AltF4 ( 247712 ) on Wednesday July 28, 2004 @08:06PM (#9826843)

    Instead, try to keep up with the demands and needs of users.


    Very true - locate, find and grep do their job quite well, so why should i dedicate 1/3rd of my HDD to index and database space ?
  • by mvpll ( 542255 ) on Wednesday July 28, 2004 @10:27PM (#9827688)
    Most filesystems all ready handle seamless metadata entry. A files directory, filename, permissions, ownership, ctime, mtime, etc are all metadata stored by the filesystem and few people want to argue that this metadata is unwanted and needless filesystem bloat.

    Not all information is text based either. How do you store family photos in an easy to find manner? What directory/filename structure will allow you to quickly find the photo of daughterA at locationB taken sometime in yearC that doesn't contain ex-partnerD?

    "Virtual folders" are the _best_ feature of the Evolution mail reader and beat the pants off a one-time search for something. This is simply because no matter how you organise your data, sometimes it just makes sense for it to stored under two places at once. For example, the directory which holds photos of daughterA and the directory which holds photos taken at locationB. It would seem to me that storing this data multiple times (or making lots of soft links) creates far more overheads then storing some extra metadata which is available to every program you run.

    Also, relying on metadata created and stored by an application leaves you beholden to that application.

    Whether or not people will actually make any use of a FS metadata capabilities is a seperate issue. I don't want to spend all my time re-arranging directories and shuffling my data around to make it easier to find. I bought a computer to do such menial tasks...
  • by Kristoffer Lunden ( 800757 ) on Thursday July 29, 2004 @12:06AM (#9828244) Homepage
    Ah come on now, NTFS may possibly not be the best of the best (I don't know such things) but I've been using it extensively since I got my first 2000 install somewhere in early, well 2000, and as far as I can recall it has never failed or lost me any data, and it just works. Some oddities with file locks though when applications don't wanna let go.

    Nowadays I am running purely Linux, and I wish I could say the same. Fsck ring a bell? And no, the newer breeds aren't flawless yet. But it is good enough, so I'm using it. ;-)

    Just silly to pick on one of the things MS has done that actually works - it may not be perfect, but it is far from bad. Sadly, it also seems far from being writable in a stable manner too. ;-)

    Now, if you would like to pick on FAT32, I'm game. =)
  • Modern drives (Score:2, Insightful)

    by warrax_666 ( 144623 ) on Thursday July 29, 2004 @02:51AM (#9828929)
    automatically map bad blocks to good blocks, but you can monitor the current number of bad blocks through SMART. If your drive is causing errors you had better stop using it (production environment or no) as quickly as possible. Bad blocks are almost always a sign of impending failure.

    Jebus, do you want to run a production system on a drive with known bad blocks? Whoever hired you must be a complete moron.

Old programmers never die, they just hit account block limit.

Working...