Slashdot Mirror


The Linux Filesystem Challenge

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?"

654 comments

  1. New FS by stecoop · · Score: 5, Interesting

    Linux must find a next-generation filesystem to keep pace

    What are the winds of change saying? R..E..I..S..E..R...4...

    1. Re:New FS by Anonymous Coward · · Score: 0

      Any new info on when it might be finished with it several months (so far) of "final testing" and included as another standard FS?

    2. Re:New FS by AstroDrabb · · Score: 5, Informative
      Reiser4 is going to be great. Here are some of the features for those who don't like to click-n-read:

      1. * Reiser4 is the fastest filesystem,
      2. and here are the benchmarks.
      1. * Reiser4 is an atomic filesystem, which means that your filesystem operations either entirely occur, or they entirely don't, and they don't corrupt due to half occuring. We do this without significant performance losses, because we invented algorithms to do it without copying the data twice.
      1. * Reiser4 uses dancing trees, which obsolete the balanced tree algorithms used in databases (see farther down). This makes Reiser4 more space efficient than other filesystems because we squish small files together rather than wasting space due to block alignment like they do. It also means that Reiser4 scales better than any other filesystem. Do you want a million files in a directory, and want to create them fast? No problem.
      1. * Reiser4 is based on plugins, which means that it will attract many outside contributors, and you'll be able to upgrade to their innovations without reformatting your disk. If you like to code, you'll really like plugins....
      1. * Reiser4 is architected for military grade security (sponsored by DARPA). You'll find it is easy to audit the code, and that assertions guard the entrance to every function.

      Notice the plugin feature. This will create endless possibilities for what you can do with the file system. Want to tie a DB/SQL search function in to it? Write a plugin, want special security? Write a plugin. Tons of possibilites with ReiserFS4 and it is _very_ fast. This is hands down better then the MS "a filesystem as a DB" approach. ReiserFS4 will be like Firebird, lean-n-mean-n-fast. Want more features, grab _your_ favorite plugins!
      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
    3. Re:New FS by msh104 · · Score: 1

      I've heard words online telling they needed money and are currently working on something else before finishing reiser4.

    4. Re:New FS by chipace · · Score: 1

      Why did you have to give the best answer at the beginning of the discussion? You ruined reading the subsequent posts.

    5. Re:New FS by prisoner-of-enigma · · Score: 4, Interesting

      I've been shouted down before about this, but I'm going to keep asking for it because it's a useful feature for my company: what about per-file compression in the file system? Now before anyone has a hissy fit, let me explain.

      We output a lot of digitally-created video files that are huge (think HDTV resolution). Most of these files are output uncompressed because either (a) the file format doesn't support compression or (b) the multimedia program doesn't support compression. Either way, a few minutes of HDTV-quality uncompressed video will absolutely destroy a few hundred gigabytes of space in no time.

      We have to hold on to some of this video for quite some time, but we only need to get at it infrequently. It's too big to fit on DVD-R's, tape is too slow, ZIPping it up hinders easy access later, and removable hard drives are expensive. File system compression, on the other hand, does wonders. We routinely get 60%-80% compression on archived video files, and it's allowed us to stretch our disk capacity a long, long way because of it.

      We've considered archiving our video in some kind of compressed streaming format like AVI, Quicktime, or MPEG-2, but none of these offer lossless codecs that are appropriate for us, and we're unwilling to accept using a lossy compressor.

      So, I ask the question again: when, if ever, is anyone going to implement file compression on a Linux file system? Or does it already exist but is buried somewhere in some arcane HOWTO or website?

      --
      In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
    6. Re:New FS by Anonymous Coward · · Score: 2, Funny
      ReiserFS4 will be like Firebird, lean-n-mean-n-fast.

      um ya but they're still behind in that crucial name changing area. Hey maybe we can have a plugin change file names at random, that would surely out-do firebird.

    7. Re:New FS by sisukapalli1 · · Score: 2, Informative

      Quick googling got these. They may provide you with some leads. If you find more, please post :)

      http://sourceforge.net/projects/e2compr/ (Ext2 Compression)

      http://squashfs.sourceforge.net/ (Squashed - Read Only, don't know what that means)

      S

    8. Re:New FS by Malc · · Score: 1

      How about just making the NTFS code safe for writing? That'd give you per file compression. You could turn on per file encryption too ;)

    9. Re:New FS by Anonymous Coward · · Score: 0

      I'm probably talking out of my ass here, but I believe Linux already supports it - in the kernel, not the filesystem. I'm not sure if it would be a patch or part of the regular kernel (if I'm correct at all).

    10. Re:New FS by chainsaw1 · · Score: 1

      I think the easiest answer, as per the discussion above is to take advantage of the module/plugin aspect to write a compression module for reiser4. Basically just pipe all data going to disk through bzip2 or gzip except the fs overhead... compress for wirtes and decompress for reads.

      --
      - Sig
    11. Re:New FS by CAIMLAS · · Score: 1, Informative

      Some might say this is a flame but... I hate reiser in it's current release. It's fairly unstable, and when it does go, you're pretty much fucked. I've used reiser twice, and of those two times, the filesystems died due to power outage or other similar effect within one or two events. That's not even approaching acceptable.

      On the flip side, I've had multiple such snafus with XFS, but no filesystem failure. I've never even had to approach having to deal with trying to fix the system, as there's been no events which have resulted in fs corruption. Sure, power has gone out, but the machines have come back up again without a hitch.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    12. Re:New FS by prisoner-of-enigma · · Score: 1

      This sounds good on the face of it, but I have a funny feeling this is impractical. I doubt either bzip or compress is fast enough to implement in a filesystem.

      But your plugin idea definitely is the way to go. I'm no coder, though, so someone else is going to have to write it, get it tested, and get it integrated into a release-worthy file system or in a distribution. [sigh] I guess I'm going to be waiting for at least another two or three years before that happens.

      --
      In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
    13. Re:New FS by AstroDrabb · · Score: 1

      Have you had a look at SQUASHFS? It is great for archive purposes, which may be what you need for video you don't new frequently.

      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
    14. Re:New FS by BlackGriffen · · Score: 1

      Quicktime offers png compression, but I assume you knew that. There's also that pixlet codec, but I assume you knew that, too.

      Other than that, I dunno. I know the Gimp supports bz2 compression of images, and I would assume FilmGimp does so for movies.

      BG

    15. Re:New FS by Lifewolf · · Score: 2, Informative
      We've considered archiving our video in some kind of compressed streaming format like AVI, Quicktime, or MPEG-2, but none of these offer lossless codecs that are appropriate for us, and we're unwilling to accept using a lossy compressor.

      It doesn't sound as though "compressed streaming format[s]" are what you're really looking for, and AVI isn't a streaming format in any case. However, there are archival-type video codecs that may suit your needs:

      • BitJazz SheerVideo is an excellent, relatively quick, lossless, 4:4:4 video codec. The encoder is fairly inexpensive, the decoder is free, and they're working on a 10-bit version.
      • Digital Anarchy Microcosm is a lossless, 64-bit, RGBA codec. It's excellent if you're not working in YUV. The encoder is even less expensive than SheerVideo, and the decoder is free.
      • Apple Pixlet is quite nice, though not completely lossless.
      • Motion JPEG might be considered if you need pretty-much-visually-lossless but not mathematically lossless.

      In a perfect world, you'd have one of these working behind the scenes in some sort of network storage device in a manner similar to the dpsVelocity VTFS. If you haven't worked with an editing system that uses VTFS, I recommend getting a demo.

      --
      "Be Happy or Die." -- AoN
    16. Re:New FS by Anonymous Coward · · Score: 1, Informative

      I'd say here lzo would be a better choice here. It compresses like 10-15% worse than zip but does it ~10 times faster (even faster fou decompression). People even reported speed-ups in reads due to having to read less off the disk (and decompression being fast enough to not hinder the effect).

    17. Re:New FS by prisoner-of-enigma · · Score: 2, Informative

      It doesn't sound as though "compressed streaming format[s]" are what you're really looking for, and AVI isn't a streaming format in any case.

      If you consider "streaming" to mean something like RealMedia or other web-based streaming codecs, you are correct. However, working in the DVD/Digital Video/Multimedia fields, we do refer to MPEG-2, AVI, and so forth as a "streaming" format because it is composed of one or more "streams" of content. Basically, the different between what we have now (tens of thousands of individual files, each one representing a single frame of video) and a "streaming" file is that it compresses all those individual files into one big file.

      However, there are archival-type video codecs that may suit your needs:

      Thanks for the listing! I will check into these.

      --
      In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
    18. Re:New FS by FleaPlus · · Score: 5, Informative

      If you're concerned about compression speed, you may want to take a look at LZO. It's got incredibly fast compression, and even faster decompression. I think it was even used on the Mars Rovers.

    19. Re:New FS by Anonymous Coward · · Score: 1, Informative

      You can compress OR encrypt a file with NTFS, and not BOTH.

    20. Re:New FS by Anonymous Coward · · Score: 0

      how do you do atomic writes without copying the data twice?

    21. Re:New FS by vandan · · Score: 2, Interesting

      Damned right.

      With Reiser3, doing `emerge -up --deep world` on my Gentoo box would usually take about 10 seconds after the progress spinner had started.

      Now with Reiser4, it takes about 2 seconds after the progress spinner starts.

      The speed really is absolutely amazing.

      And from what I've read of Reiser4, it has all the database niceties for managing files and contents of files that WinFS is promising. Of course Reiser4 currently exists and is working on my home gaming maching and 4 machines here at work. WinFS is just marketing speak.

    22. Re:New FS by Anonymous Coward · · Score: 0

      Hans? Is that you?

    23. Re:New FS by TheLink · · Score: 1

      "This makes Reiser4 more space efficient than other filesystems because we squish small files together rather than wasting space due to block alignment like they do."

      Thanks but no thanks. I'd rather my /etc/fstab not be corrupted in the event I edit /etc/hosts , try to save and sh*t happens.

      Worse if something gets corrupted and I don't notice it till months later when I reboot. For most normal filesystems editing /etc/hosts could cause /etc to be corrupted if sh*t happens, but I'm more likely to notice that eh?

      Sure filesystems have to work well. But the ones I'd use/recommend also have to _fail_ well.

      Reiser is like the PHP of filesystems. Cool, quick etc but the developers and users need to do a bit more thinking about the consequences of the features they think are oh-so-wonderful.

      --
    24. Re:New FS by Anonymous Coward · · Score: 0

      ReiserFS4 will be like Firebird, lean-n-mean-n-fast.

      I'll wait for the filesystem that's more like Opera - leaner, meaner, faster, more features out of the box, and a smaller download.

    25. Re:New FS by simcop2387 · · Score: 1

      i'm guessing what they do is that they use free space to hold the file until its finished, then change the tree to match the new location, and mark the old one as free.

      thats the simplest way i can think of, but this would require alot of free space to be taken advantage of effectivly

    26. Re:New FS by Anonymous Coward · · Score: 0

      Yet another feature that Netware has had for years.

      http://www.novell.com/documentation/nw65/nss_enu /d ata/bplc2tt.html

      Perhaps in another decade non-Netware OSes will approach the usability of Netware for file serving.

    27. Re:New FS by Anonymous Coward · · Score: 1, Insightful

      If the encryption is any good, it will be too random to achieve any compression.

    28. Re:New FS by _ph1ux_ · · Score: 1

      well I dont know about on a per file basis, but what might be a better way to do it would be on a partition/folder....

      if you store all of your stuff in /videos partition and have this whole partition compressed - you get logical file organization - and all the files you want compressed...

    29. Re:New FS by prisoner-of-enigma · · Score: 3, Informative

      It's a pity no one has ever fully finished the NTFS filesystem module for Linux. I understand that payware solutions are available, but the "EXPERIMENTAL" read-write NTFS module has been around for years and years with nobody finishing it up. Right now you can write to an NTFS volume so long as you don't change much of anything...yeah, uh huh. That's real useful. And if you do accidentally change something, you can totally fsck up the volume, or at the very least you have to do a CHKDSK before anything else can access the volume. That's about as useful as a square bowling ball.

      --
      In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
    30. Re:New FS by RogL · · Score: 1

      Compress, then encrypt before the disk write. Encrypting first would be silly.

    31. Re:New FS by iamacat · · Score: 2, Funny

      Who said I encrypt first?

    32. Re:New FS by swilver · · Score: 1
      I own about 2 Terabyte of space as an individual. Surely it wouldn't be too hard for a company to invest in a few Terabytes to store this data.

      Simple 300 GB IDE drives are fast, cheaper than tape storage, last longer than a DVD+R when stored and are still easy to access (use either SATA drives or fit a USB adapter box around the drives).

      Another option would be to store the data using a lossless codec (they exist).

    33. Re:New FS by Quikah · · Score: 1

      Here is another one which is free with registration.

      --
      Q.
    34. Re:New FS by Anonymous Coward · · Score: 0

      We output a lot of digitally-created video files that are huge (think HDTV resolution). Most of these files are output uncompressed because either (a) the file format doesn't support compression or (b) the multimedia program doesn't support compression. Either way, a few minutes of HDTV-quality uncompressed video will absolutely destroy a few hundred gigabytes of space in no time.

      Your software doesn't support something as basic as HuffYUV? egads...

    35. Re:New FS by Clover_Kicker · · Score: 2, Informative

      >Thanks but no thanks. I'd rather my /etc/fstab not be corrupted in the
      >event I edit /etc/hosts , try to save and sh*t happens.

      Relax, this is old news! The Novell Netware filesystem did this 10 years ago, they called it "sub-block allocation". I never had a problem with it on my servers. I've never heard of anyone else having problems with it, either.

    36. Re:New FS by mingot · · Score: 2, Funny

      I believe this is where someone is supposed to call you a newb, tell you to shut the fuck up, and then yell you to write it yourself.

      Or did I get the order wrong?

    37. Re:New FS by mingot · · Score: 1

      Actually WinFS is running on this machine right this second, inside of a virtual machine running a longhorn beta. You should aquaint yourself with the facts before slashbotting.

    38. Re:New FS by jelle · · Score: 1

      "We've considered archiving our video in some kind of compressed streaming format like AVI, Quicktime, or MPEG-2, but none of these offer lossless codecs that are appropriate for us, and we're unwilling to accept using a lossy compressor."

      Try Huffyuv. Fast, free, and comes with full source. I'm sure any capable programmer can make it work under Linux.

      Actually, ffmpeg, which is a video codec library for Linux, already supports it completetly: both encoding and decoding.

      Actually, the FFV1 lossless codec in ffmpeg compresses better than huffyuv.

      And the text above should also provide some initial insight in why stuff like this is not in the filesystem, and better taken care of on application level...

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    39. Re:New FS by gagol · · Score: 1

      I am working in multimedia production, including video. For lossless video compression (yuy, yuv or rgb) you can use HUFFYUV. The original site have vanished but some goggling will lend you to this.

      I used it for lossless outputs, lossless hi-res projections etc... stable and all, it think it's free software.

      --
      Tomorrow is another day...
    40. Re:New FS by Anonymous Coward · · Score: 0

      NTFS isn't as bad as it used to be. I hear the NTFS write code doesn't routinely eat data anymore, only occasionally...

    41. Re:New FS by chrisv · · Score: 1

      I've had one such issue with XFS... but that was hard disk death (and I'm still annoyed with it, because said death occured about a week ago). I was actually rather suprised when I was still able to recover >99% of the data that was on the disks after having superblocks and inode bitmaps become corrupted, and xfs_repair refusing to fix the filesystem after it had been moved to another disk. (I think I lost /usr/qt/3/include and a few libraries which I happened to have copies of floating around anyway.)

      As far as reiserfs goes, I'm glad I switched to XFS when I did, because my old SuSE installation just ate itself last night - system locked up hard, so I rebooted, and the standard Gentoo boot process came back to tell me that there wasn't a reiserfs partition where there had been one not more than 10 minutes before. Feh.

      --

      Dogma: Dead (mostly because your Karma ran it over)

    42. Re:New FS by whereiswaldo · · Score: 1

      Probably irrelevant to today's discussion, but IIRC "The Jam" disk compression software for MSDOS had this feature. So I guess it's nothing new. :)

    43. Re:New FS by Provocateur · · Score: 1

      I think it was even used on the Mars Rovers.

      Am I the only one that thought, he could have just said, it's so good, it's been used on other planets?

      --
      WARNING: Smartphones have side effects--most of them undocumented.
    44. Re:New FS by Anonymous Coward · · Score: 0

      Your AC parent?
      blah blah too random to compress blah.

    45. Re:New FS by AstroDrabb · · Score: 1

      First, this is nothing new, other filesystems have done it and it is very safe. Second, ReiserFS allows you to disable it. Just mount your partition with the notail option and ReiserFS will not pack files together, end of story : )

      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
    46. Re:New FS by vandan · · Score: 1
      If that is true then I stand corrected.

      So I guess you can now do a query such as:

      Show me all documents that have the string 'bat' in them


      Right?

      Give me a link to a screenshot of you doing this and I'll eat my words.
    47. Re:New FS by Narchie+Troll · · Score: 1

      Would it insert ads into all your files?

    48. Re:New FS by Anonymous Coward · · Score: 0

      I have had great luck with jfs after some power outages - it freakin comes right up everytime, I love that. On SuSE and gentoo. Of course the OpenBSD machine comes back up, too.

      Because of the weirdness with XFS I have read about I was only using it for /tmp on gentoo where it won't be as bad if it gets corrupted.

      Is there a better choice for /tmp ?

    49. Re:New FS by mingot · · Score: 1

      Search is broken in build 4074, but WinFS is still running just fine. If you think that searching on metadata is all that WinFS is about you should go an read up on it a bit more.

    50. Re:New FS by tubbyman · · Score: 1

      What about turbo code or QT animation (rle) @ 100% quality?
      I've never used the turbocodec, but that's how martian probes send back images uncompressed. I've stored hours of HDTV cgi using quicktime animation @ 100% quality. I am not sure whether it's lossless or not, but I couldn't see a difference.

      If neither of those work, just get a mac and set a folder action applescript to compress/uncompress all of the raw images when the folder is opened/closed.

    51. Re:New FS by Anonymous Coward · · Score: 0

      6 Fibre Channel 15000 RPM drives, striped with md and xfs on top will record and play uncompressed dual link RGB HD at 30fps. It's true! I've done it.

    52. Re:New FS by gowen · · Score: 1
      Hey maybe we can have a plugin change file names at random, that would surely out-do firebird.
      Firefox already has one of those
      --
      Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
    53. Re:New FS by TwistedSquare · · Score: 1

      Correct me if I'm wrong, but I thought the problem was not so much the technology, but rather than MS hold patents on the NTFS file system that means proper writing to disk would be infringing. Or am I getting things all confused?

    54. Re:New FS by ooze · · Score: 1

      What about loopback mounts? Compress them, encrypt them, do whatever you want with them.

      --
      Just because I can imagine doing a hippopotamus, doesn't mean I'd like to do it.
    55. Re:New FS by Carewolf · · Score: 1

      Not really it has more to do with undocumented features and implementation of NTFS, like always with Microsoft.

      I think writing to a NTFS4 from Windows NT 4 is supposed to work, but Microsoft introduced new wierd stuff and changed some old when they released NTFS5 with Windows 2000 and XP.

    56. Re:New FS by mattyrobinson69 · · Score: 1

      yes. tmpfs. have a read into it.

      basicly its a dynamicly resizing ramdisk, which you can set a max limit on if you like.

      i use xfs for / and it works great.

    57. Re:New FS by msh104 · · Score: 1

      reiser4 has a plugin for this...

    58. Re:New FS by msh104 · · Score: 1

      Is there a better choice for /tmp ? I use tmpfs for that, it rules in speed because it doesn't have to sync back to the harddisk all the time. (if we crash who gives a damn 'bout the data there anyway) + it is automaticly cleaned up after reboot, that's quite nice 2.

    59. Re:New FS by WhiteDragon · · Score: 1

      I remember jam. I had a friend who had Stacker, and it wirked really well, with some nice automated drive compression scripts. Well, Jam didn't have quite as many bells/whistles but it was pretty good. I think I wrote some batch files to move files and compress / grow the volume.

      --
      Did you mount a military-grade, variable-focus MASER on an unlicensed artificial intelligence?
    60. Re:New FS by Anonymous Coward · · Score: 0

      "That's about as useful as a square bowling ball."

      Bowling balls are three-dimensional, so "square" should be "cube".

    61. Re:New FS by Anonymous Coward · · Score: 0

      it's current release

      "its".

    62. Re:New FS by Syberghost · · Score: 1

      Uncle Syberghost's prediction:

      Reiser4 continues to be the Betamax of Linux filesystems; demonstrably technically superior in many categories than the most popular option, demonstrably nowhere near the best in the field in many, and relegated to "also-ran" status the instant the bits hit the FTP server.

      Making Reiser better won't fix that, either. It's not about how good it is.

      Then again, also like Betamax, those who have a use for it will continue to keep it alive.

    63. Re:New FS by vandan · · Score: 1
      It's working, I swear, but ... no ... I can't actually search for anything.


      MMMMmmmm.
      Sounds like the stuff alright.

      Reading up on WinFS might be something that some people think is cool, but it really doesn't interest me at all. Reading up on Reiser4 - now that's something that interests me. And as I've said before, it actually works.

      But that WinFS stuff with 'searching currently broken' - that sounds good too.
    64. Re:New FS by mingot · · Score: 1

      WinFS is working. Search is not. MMMmm, seems like you don't know enough about what WinFS actually is and is not to understand that both of those statements can be quite true. Of course I can understand that if the only thing you think WinFS is for/useful for is for searching for files.

      Fact is that your original statement was and continues to be wrong.

      *shrug*

    65. Re:New FS by ACPosterChild · · Score: 1

      I believe HUFFYUV encoder is lossless, and gets about 60% compression. Have you tried it?

  2. Hans Reiser's vision of the future by alanw · · Score: 5, Informative

    Hans Reiser has written a white paper containing his thoughts on the design of the next major version of ReiserFS.

    1. Re:Hans Reiser's vision of the future by minginqunt · · Score: 5, Interesting

      In addition to Reiser4, there are a whole whost of projects that aim to provide all or part of what BFS achieved, Spotlight (MacOS X Tiger) and WinFS will achieve.

      This includes Beagler/Dashboard

      http://www.nat.org/dashboard
      http://www.gnome.o rg/projects/beagle/

      And of course, the ambitious Gnome Storage project, being pushed by Seth Nickell. He recently wrote a paper comparing all the technologies, found here:

      http://www.gnome.org/~seth/blog/document-indexin g

    2. Re:Hans Reiser's vision of the future by MouseR · · Score: 5, Informative

      Apple's Spotlight isn't a file system. It's a search engine that uses and maintains metadata stored in the file system.

      HFS+ is the current OS X file system, and that of Tiger (next revision of OS X) as well. Spotlight uses HFS+'s built-in metadata support to enhance it's search capabilities. What Tiger offers more to application developers is an API to add metadata to documents, something that was limited until now.

    3. Re:Hans Reiser's vision of the future by Anonymous Coward · · Score: 0

      i'm sorry, but i dont understand one word of this god damn text (and thats while reading the abstract).

    4. Re:Hans Reiser's vision of the future by addaon · · Score: 2, Informative

      What Tiger offers more to application developers is an API to add metadata to documents, something that was limited until now

      What Tiger offers is a way for application developers to DECLARE metadata in their document formats... most formats have metadata of some kind already (in an mp3, id3 tags; in a image, resolution etc.; in a source file, dependencies and exported symbols); what Tiger lets application developers do is tell spotlight how to find the information that's already there.

      Now, this may lead to future formats that have more comprehensive metadata, since there's now more power to that metadata... but that's not the direct idea.

      --

      I've had this sig for three days.
    5. Re:Hans Reiser's vision of the future by mcc · · Score: 1

      If you can implement metadata like this on top of the filesystem rather than within it, and have the utility to the user be the same, then I'd call that a win.

    6. Re:Hans Reiser's vision of the future by Anonymous Coward · · Score: 0

      HFS+ is the current OS X file system

      You can also use UFS - which I do and I've had no problems (and avoid fragmentation issues). If Tiger incorperates changes made in FreeBSD 5.x then it may support UFS2 as well.

    7. Re:Hans Reiser's vision of the future by ninejaguar · · Score: 3, Informative
      Here are further thoughts on that, from 3 years ago.

      = 9J =

    8. Re:Hans Reiser's vision of the future by Anonymous Coward · · Score: 0

      Also don't forget, being an Apple product, Spotlight will ROCK OUR WORLD! A closed source, PROFESSIONAL grade file system written by professional, American Apple engineers, will kick the ass of any "open sores" type system written by Apu Naharapatamasuma in India ANY DAY.

    9. Re:Hans Reiser's vision of the future by lachlan76 · · Score: 1

      NTFS allows metadata, made for the purpose of keeping compatibility with MacOS. You just have to open the file using the windows functions, and at the end of the filename you put :whatever where whatever is the name of the stream you want. I'd get around to writing a program that stores program information into a file's stream, like MacOS does, but, laziness. You understand.

  3. Reiser 4? by Bruha · · Score: 1

    This is supposedly the indestructible filesystem. Compared to database driven filesystems which are still based on NTFS probably I'd preferr a slower filesystem that was just plain reliable.

  4. Don't try to keep up with Microsoft and Apple by suso · · Score: 5, Insightful

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

    1. Re:Don't try to keep up with Microsoft and Apple by Anonymous Coward · · Score: 4, Insightful

      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.

    2. Re:Don't try to keep up with Microsoft and Apple by Klar · · Score: 1

      Wouldn't that put them *ahead* of Microsoft and Apple?

    3. Re:Don't try to keep up with Microsoft and Apple by dasmegabyte · · Score: 1

      Well, the key to a database filesystem will be seamless data entry and simple, powerful access to search and reporting features.

      I have a firm belief that the OSS community will be able to come up with an elegant, efficient solution to the metadata filesystem question. However, I seriously doubt that they'll be able to handle the search and reporting system very well at all. What I'm guessing is that we'll see a thinly veiled front end to grep -- and as much as I like grep, it's a serious pricker bush. I expect to write a regular expression three or four times before I get it right...and I've been writing them for six years!

      --
      Hey freaks: now you're ju
    4. Re:Don't try to keep up with Microsoft and Apple by the_mad_poster · · Score: 1, Insightful

      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.

      --
      Alito: A vote for Alito is a punch in the eye to put that bitch back in her place!
    5. Re:Don't try to keep up with Microsoft and Apple by Florian+Weimer · · Score: 1

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

      Indeed. Microsoft ist doing quite well here, they have delayed their next-generation object-oriented database-as-a-file-system by more than a decade.

    6. Re:Don't try to keep up with Microsoft and Apple by ch-chuck · · Score: 1

      Damn straight - the function of Msft and Apple is to meet the demands of stockholders, customers are just the means to that end.

      --
      try { do() || do_not(); } catch (JediException err) { yoda(err); }
    7. Re:Don't try to keep up with Microsoft and Apple by jilles · · Score: 4, Insightful

      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.

      --

      Jilles
    8. Re:Don't try to keep up with Microsoft and Apple by Karamchand · · Score: 1, Insightful

      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.

    9. Re:Don't try to keep up with Microsoft and Apple by Anonymous Coward · · Score: 1, Interesting

      Reiser keeps up with my demands and needs pretty damn well. I run it on an IMAP server that serves up Maildirs, and it never ever hiccups, which is something compared to how the same server behaved on EXT3. The issues with a next-gen filesystem have little to do with everyday users, however, but cut to the heart of one of the key battles: what groups (be they companies, foss renegades, whatever) will control key network infrastructure. MS may be serious this time -- in spite of their spin, they've lost a lot in this space to *NIX over the past several years, and they need really damn good reasons to convince pros that they should really be going with MS products.

    10. Re:Don't try to keep up with Microsoft and Apple by kfg · · Score: 4, Insightful

      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

    11. Re:Don't try to keep up with Microsoft and Apple by dasunt · · Score: 3, Interesting

      As a linux user, I don't sit back and think "this filesystem sucks". For the most part, I'm happy with ext3.

      When I do try to make a wishlist, the only things I really want is KDE's IO Slaves integrated into the system at a lower level so that all programs can use it, and a more secure version of NFS. That's it. Perhaps some sort of revision control on certain files, but RCS works fine for me.

      I don't want data forks -- it creates more problems (with transferring files) then it solves.

      For a similiar reason, I don't want my filesystem to be a DB. I'm happy with files. Damn happy. I don't see what problems a database solves.

      Just my $.02.

    12. Re:Don't try to keep up with Microsoft and Apple by Anonymous Coward · · Score: 0

      >MS is well on their way of implementing something that may actually work.

      And if past performance (sic) is any indication, the words 'implementing' and 'work' will "fast become as meaningless as 'innovation' when used by a Microsoft executive, or 'freedom' when used by John Ashcroft."

    13. Re:Don't try to keep up with Microsoft and Apple by Anonymous Coward · · Score: 0
      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.

      Think windows explorer. It's a graphical interface to the file system, which includes a database that maps an extension to a program (.doc --> MSWord).

      Would you consider this an application program with a good GUI interface or is it a integrated (into the GUI-- not OS) tool that is easy to use and maintain?

      -cmh

    14. Re:Don't try to keep up with Microsoft and Apple by It'sYerMam · · Score: 0

      One word: Clippy.

      --
      im in ur .sig, writin ur memes.
    15. Re:Don't try to keep up with Microsoft and Apple by LoveTheIRS · · Score: 1

      >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. You are right that if nothing in user-space adopts the file system features, they will be worthless. >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. Ok, I am really tired of this Miguel de Icaza and Nat Friedman. They half-create everything Microsoft does, from Wine, to Mono(they aren't going to be able to complete it or they'll get their a--es sued off). There is a lot of hacking that needs to be done to create a consistent Linux Desktop and it is NOT on any new whiz-bang-but-half-implemented-features-because-th e -base-on-which-the-features-were-created-was-never -completed-features. GTK needs a lot of work and a lot of consolidation, and the corporate money is not going where it needs to go. IBM spent lots of money, stablizing and putting in very neccessary features into the Linux Kernel. Novell has tried to do the same for the GNOME project. Only, GNOME HAS all the neccessary features. What GNOME DOESN'T have is Linus Torvolds making sure everything played nice, is consistent and doesn't cause problems elsewhere. There is a lot of money that needs to be invested to compensate for the past.

    16. Re:Don't try to keep up with Microsoft and Apple by styrotech · · Score: 1

      Agreed.

      There's not much point chasing MS and Apple 'database filesystem' features when they aren't really going to be part of the filesystem anyway but just higher level services.

      I also agree that the networking features of current filesystems are the weakest point.

      As you said a more secure NFS would be good, and the widespread use of IO Slaves also. I would also want the distributed filesystems to mature and become more widespread and a bit simpler to set up (eg self discovery etc) - especially cross platform ones like AFS etc.

    17. Re:Don't try to keep up with Microsoft and Apple by LoveTheIRS · · Score: 1
      I butchered my comment formatting sorry:

      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.

      You are right that if nothing in user-space adopts the file system features, they will be worthless.

      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.

      Ok, I am really tired of this Miguel de Icaza and Nat Friedman. They half-create everything Microsoft does, from Wine, to Mono(they aren't going to be able to complete it or they'll get their a--es sued off). There is a lot of hacking that needs to be done to create a consistent Linux Desktop and it is NOT on any new whiz-bang-but-half-implemented-features-because-th e -base-on-which-the-features-were-created-was-never -completed-features. GTK needs a lot of work and a lot of consolidation, and the corporate money is not going where it needs to go. IBM spent lots of money, stablizing and putting in very neccessary features into the Linux Kernel. Novell has tried to do the same for the GNOME project. Only, GNOME HAS all the neccessary features. What GNOME DOESN'T have is Linus Torvolds making sure everything played nice, is consistent and doesn't cause problems elsewhere. There is a lot of money that needs to be invested to compensate for the past.

    18. Re:Don't try to keep up with Microsoft and Apple by joNDoty · · Score: 1

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

      I totally agree with this. Linux doesn't need to have a flashy filesystem in order to attract users. It already does what us users want - it satisfies our desire for supervillain global domination.

    19. Re:Don't try to keep up with Microsoft and Apple by Anonymous Coward · · Score: 0

      by just following MS in many ways you are already following what people want and need.

      Or you could follow Microsoft's R&D division and meet or possibly beat MS to market.

    20. Re:Don't try to keep up with Microsoft and Apple by vsprintf · · Score: 2, Interesting

      Well, the key to a database filesystem will be seamless data entry and simple, powerful access to search and reporting features.

      I'm not sure what you mean by "seamless data entry." Maybe I missed something in the article. Are you suggesting people will be willing to provide meaningful metadata for a file when they aren't even willing to provide a meaningful file name? And "powerful access to search and reporting features"? As opposed to wimpy access to search and reporting features? It sounds a bit like marketspeak to me.

      It seems to me that this push for "database filesystems" is from people who want to throw everything in one directory and name their files "1", "2", "3", etc. It just dumps more work on the CPU to handle more filesystem overhead. When you give a filesystem the attributes of a relational database, you also get all the related problems, overhead, and constraints. Records in a database table are very closely related. Files in a directory may have nearly nothing in common.

      What I'm guessing is that we'll see a thinly veiled front end to grep -- and as much as I like grep, it's a serious pricker bush.

      What is WinFS, except an admission that you can't *grep* or *strings* a Windows *folder* full of files? Files that have secret, constantly changing formats require metadata to make them searchable, which makes the filesystem bigger and slower. Being able to see the same file from two different directories doesn't impress me. I can do that with ln -s (if I really have a valid reason for it). I really don't see a lot of benefit to *nix in following Windows down this road. I'm sure I'll get enlightened shortly. :)

    21. Re:Don't try to keep up with Microsoft and Apple by e_AltF4 · · Score: 2, Insightful

      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 ?
    22. Re:Don't try to keep up with Microsoft and Apple by mre5565 · · Score: 1

      > and a more secure version of NFS

      In the context of Linux, this is coming in
      Linux 2.6 (Kerberized NFS). RedHat Fedora already ships it.
      Solaris has shipped it since '98.

    23. Re:Don't try to keep up with Microsoft and Apple by mvpll · · Score: 2, Insightful

      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...

    24. Re:Don't try to keep up with Microsoft and Apple by commanderchicken · · Score: 1

      I like the idea of filesystem compression, but the whole metadata thing is a huge red herring. If you want metadata, put it in the document (i.e. xml). That's how the web works. Throwing stuff like that into arcane filesystem structures will only cause problems.

    25. Re:Don't try to keep up with Microsoft and Apple by dargaud · · Score: 1
      I don't see what problems a database solves
      Maybe this one: I have tens of thousands of high-res scanned PNG files. Their TXT field contains meta data similar to the EXIF information of JPEG files. Things like image name, location of shoot, models names, additional info, date, resolution of scan, bitdepth... To access that data, I had to write a C program (freeware on my website) that outputs it on the command line. From there grep takes over to find the proper info. But it's damn slow (several hours).

      Now I want a ReiserFS4/NTFS plugin that can access those fields inside the images, store it temporarily into their internal database and display their properties in the filesystem. I want to have a Konkeror/Explorer that displays filename, filesize, filetype and also in that case: bitdepth, image dimensions, comment, etc... You get the idea.

      I agree with you on one thing: I don't want the metadata to be stored in the filesystem: make a backup CD, transfer a directory via FTP or copy to a different filesystem and, ooops, all the metadata is gone ! Samba developpers are going to have fits on that one.

      --
      Non-Linux Penguins ?
    26. Re:Don't try to keep up with Microsoft and Apple by vsprintf · · Score: 1

      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...

      I think warax summed it up pretty well. You still have not said where this metadata is coming from. Is the OS/filesystem supposed to know the jpeg is of your daughter and where it was taken? Or are you willing to play twenty questions every time you store a file? It would seem to be less work for both humans and computers to just use sensible names for directories and files. Most of us are no longer limited to 8.3 filenames, you know. If your computer can read your mind, please let me know what brand it is - I want one; I've always wanted a computer that would do what I wanted it to do instead of what I told it to do.

    27. Re:Don't try to keep up with Microsoft and Apple by mvpll · · Score: 1

      I answered some of this in my reply to warax.

      To me directory names and file names are just metadata, but because they are only loosly coupled to the file itself, they are very fragile metadata. If you've gone to the trouble of ordering your data this way, then you'd have gone to the trouble of entering the metadata required directly to the file...

      An example of metadata that people use every day without realising it is path. Both in Windows* and *nix command are called without their full paths. The computer then searches a preselected number of directories in a preselected order for a file with a matching filename and that is "executable". As I've said before, we are already benefitting from metadata without direct user intervention.

      "Virtual" folders are a by-product of good metadata. No matter how good your directory/filename system is, there is no way to provide a "directory" of all images taken at locationB and a "directory" of all images of offspringA without file duplication or fragile sym-linking. With "virtual" folders you can create the "directory" you need for the task at hand without moving anything around.

    28. Re:Don't try to keep up with Microsoft and Apple by vsprintf · · Score: 1

      A search path has nothing to do with metadata. Metadata is information about data. The files matched by your search path are not data files.

      You still have not answered the central question. Where does your proposed metadata come from? Do you expect the OS/filesystem to be able to determine what/whom the subject of the jpeg is, or are you going to fill out a questionnaire about every file you store?

    29. Re:Don't try to keep up with Microsoft and Apple by mvpll · · Score: 1

      Yep, the search path does have nothing to do with metadata, I agree. My view however is that the files matched are data files, they just happen to be executable data files. The metadata here is their location.

      No, I'm not filling out a questionnaire for every file I save. Even without user intervention there is plenty of information that applications could save automatically for me (see my "Bob email" example in my reply to warax ). I think it is reasonable to think that with the availabilty of a file system that supports additional metadata, programs will take more and more advantage of it automatically or with a minimum of user interaction. The fact that such programs don't exist right now is not really surprising or an indication of what will be available in the future.

      For important files, I'm quite happy to fill in a bit of extra information. I already database my images and I find that the metadata is often revised over time anyway. The two weaknesses in my current system are:
      1) The file is identified in the database by its location, so moving it around the filesystem is tricky.

      2) I can easily give someone a copy of an image, but I cannot easily give them a useful copy of my metadata about that image.

    30. Re:Don't try to keep up with Microsoft and Apple by vsprintf · · Score: 1

      The metadata here is their location.

      Isn't that like saying a dictionary has metadata because the words are alphabetized? Pushing semantics to the limit, at best the metadata would be the fact that the files are executable, and that is more attribute than information.

      I think it is reasonable to think that with the availabilty of a file system that supports additional metadata, programs will take more and more advantage of it automatically or with a minimum of user interaction. The fact that such programs don't exist right now is not really surprising or an indication of what will be available in the future.

      Sure, almost anything is possible at some future time, but (using your example) I see no way any OS or filesystem is going to be able to determine the identity of people in a jpeg or their relationship to you until we get that mind reading computer. Until that time, I don't see the benefits of a database-filesystem outweighing the wasted overhead for most users.

    31. Re:Don't try to keep up with Microsoft and Apple by Vengeful+weenie · · Score: 1

      Extended attributes to files are coming, in fact the SELinux extensions use these to store it's domain information.

  5. Recall that Mark Stone... by tcopeland · · Score: 3, Informative

    ...wrote "Open Sources", which you can read/buy here. He's a fairly savvy fellow...

  6. A year or two, or... three? by usefool · · Score: 1

    I think promising new filesystems in a year or two is a big word.

    Wasn't the immediate urgency a comparable GUI to Windows or Apple?

    --
    Uselessful technology (Air-Charged
    1. Re:A year or two, or... three? by bsd4me · · Score: 2, Interesting

      In the early days of Linux (1992/1993ish) a new filesystem seemed to appear each week. Most were pretty unstable, though. My first Linux machine, which started out as v0.11, kept its root partition as minix-fs for a long time for this reason (and also because I didn't feel like recreating my system).

      --

      (S(SKK)(SKK))(S(SKK)(SKK))

    2. Re:A year or two, or... three? by Curtman · · Score: 1

      Ah-hah! So you're the one who stole Tanenbaum's code. ;)

  7. Poser by WeekendLazyness · · Score: 0

    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.

    Oh, so creating a new filesystem because everyone else is isn't posing at all, is it?

  8. easy answer by dAzED1 · · Score: 5, Insightful
    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 ;)

    1. Re:easy answer by Anonymous Coward · · Score: 0

      Big dog has moved to nfs5

    2. Re:easy answer by Anonymous Coward · · Score: 4, Informative

      Man, you totally miss the point. NFS is not a file system (don't be fooled by the name), it's a network protocol. The files provided by a NFS server have to be physically stored on some (real) filesystem, like ext3 or reiserfs.

      This is very much like saying "the future of filesystems is apache2, local filesystems are already good, now we have to concentrate on apache2".

    3. Re:easy answer by msh104 · · Score: 1

      reiser4 is one of the two projects I am interested in the most. reiser4 does a good job with data integrity because all low level operations are done atomic, normal filesystems (including ntfs) guaranty only that the integrity of the tree will stay intact, they guaranty NOTHING about the actual data stored in it. the other is nfsv4, when using it in combination with kerberos v5 (trough rpcsec_gss) it allows users to securely access there files. the currently used auth_unix is equel to NO security at all. the bad thing is that both killer features (reiser4 and rpcsec_gss) aren't ready yet. but I deffinitly see these to as more promising then anything that microsoft has promised up to today.

    4. Re:easy answer by mre5565 · · Score: 1
      > Man, you totally miss the point. [...]
      > The files provided by a NFS server have to be
      > physically stored on some (real) filesystem,
      > like ext3 or reiserfs.

      On the flip side, it doesn't help when clusted file system makers bill their stuff as a substitute for NFS:

      http://www.redhat.com/software/rha/gfs/

      Can serve as a scalable alternative to NFS.

      Yeah sure, if all my systems run Red Hat GFS on RH systems. Isn't an outfit in Redmond proposing a similar strategy?

    5. Re:easy answer by Anonymous Coward · · Score: 0

      Or Lustre?

    6. Re:easy answer by Anonymous Coward · · Score: 0

      So NFS isn't a racing game?

    7. Re:easy answer by dAzED1 · · Score: 1
      ...I missed the point? Really? I managed multiple terabytes of raw space when you were still in diapers :P

      seriously, I'm not missing the point - you're missing my point. My point is (as I said) our local filesystems (like Reiserfs...wow, where have I heard myself say that before) are pefectly good things to just continue devel on. The real importance is getting something to replace afs/compete with the ACL possibilities in ms filesystems (be they network, or local), and etc. NFS4 seems a good bet for that.

      ps - don't be fooled by the "network" in "network filesystem." Its still a filesystem. its not a block device, but that's not the same, now is it? I can hand you a raw block device that is useful for some things, that isn't a filesystem at all. Oracle uses raw block devices quite well, for instance.

  9. bah! by Anonymous Coward · · Score: 0

    Linux doesn't *need* a new filesystem to keep up with windows. Windows can have it's sure-to-be-bug-ridden shiney filesystem, and I'll keep everything important that I have on something more stable with a proven track record.

    1. Re:bah! by Fjornir · · Score: 5, Funny

      I'll use flat files and grep like god intended.

      --
      I want a new world. I think this one is broken.
    2. Re:bah! by eightball01 · · Score: 2, Insightful

      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.

    3. Re:bah! by exp(pi*sqrt(163)) · · Score: 1

      Care to point out the bugs in the current NTFS that make you sure the next one will also be?

      --
      Doesn't it make you feel good to know that our freedoms are protected by politicans, lawyers and journalists.
    4. Re:bah! by WeekendLazyness · · Score: 0

      Linux doesn't *need* a new filesystem to keep up with windows.

      If they don't need one, why are they talking about making one?

    5. Re:bah! by pegr · · Score: 1

      Linux doesn't *need* a new filesystem to keep up with windows. Windows can have it's sure-to-be-bug-ridden shiney filesystem, and I'll keep everything important that I have on something more stable with a proven track record.

      Care to point out the bugs in the current NTFS that make you sure the next one will also be?

      He didn't say NTFS, he said "shiney" as in new as in WinFS. Would you be in a hurry to deploy a version one MS filesystem in a production environment? While the original poster is marked "Flamebait", his point is extremely valid...

    6. Re:bah! by Anonymous Coward · · Score: 0

      sorry lets stop catering to joe sixpack.

      windows isnt designed for joe anymore than gnome/kde is.

      joe sixpack is not important in designing a solution that geeks will deal with.

      and its pretty cocky to tell others how they should spend their time. what have you dont for joe?

    7. Re:bah! by Anonymous Coward · · Score: 0

      Care to point out where in their track record with v1.0 products (sic) that make you so sure the next one *won't* be?

    8. Re:bah! by tknn · · Score: 1

      And metadata and these other features are going to make "Joe Sixpack"s life much easier. Apple's Spotlight is just one example of what metadata lets you do. There are many advantages to the end user in having a sophisticated FS.

    9. Re:bah! by anothy · · Score: 1

      s/god/ken/

      --

      i speak for myself and those who like what i say.
  10. Apple isn't "changing filesystems"... by MacGoldstein · · Score: 1

    I haven't RTFA, but... Apple is just adding more meta-data to that already used by HFS+. They will still be using a journaled HFS+ and the forthcoming Spotlight will just make use of the meta-data they are adding to their FS. Many decry HFS+ as outmoded and inefficient, but with the changes Apple is making, it is looking more promising. I hope M$ puts something new out because NTFS is getting a bit long in the tooth. Just my $0.02.

    1. Re:Apple isn't "changing filesystems"... by dasmegabyte · · Score: 1

      I don't see many people who know what they're talking about "decrying" HFS+ -- just theorists. It's an amazingly efficient filesystem...today I copied, renamed and moved 25,000 MP3s prior to backing them up. File operations completed so quickly, I thought at first that they hadn't worked.

      In fact, the whole procedure was completed in a quarter of the time it took to JUST move them onto the ReiserFS fileserver...but it's just a P3 somethingsomething...

      NTFS is sort of garbage, but what's worse is the Windows file explorer. Working with 25,000 files in 1900 directories is a treat in the MacOS (so long as you use the column view). In Windows...well, expect lockups and failures.

      --
      Hey freaks: now you're ju
    2. Re:Apple isn't "changing filesystems"... by Anonymous Coward · · Score: 0

      Why do you copy before you backup?

      > act, the whole procedure was completed in a quarter of the time it took to JUST move them onto the ReiserFS fileserver.

      so I guess renaming a bunch of files is faster than moving them to another partition [different partition = different physical place, renaming is just a few bits changed]
      smaaaaaart :D

      > NTFS is sort of garbage
      anything to back that up?

      > In Windows...well, expect lockups and failures.
      My dual Athlon never once locked up since I removed the audigy2 plat and every bit of creatives drivers (just uninstall wouldnt do it)

    3. Re:Apple isn't "changing filesystems"... by dasmegabyte · · Score: 2, Interesting

      Why do you copy before you backup?

      Copying from three actively used locations, merging, and putting them on a slow external drive. Then I back up from there. I don't want to stop using my drives while I burn 30 DVDs.

      so I guess renaming a bunch of files is faster than moving them to another partition

      Noooooo, if you read my post I said that copying, moving and renaming, with a large amount of ID3 parsing, on HFS+ was faster than JUST copying on ReiserFS.

      My dual Athlon never once locked up since I removed the audigy2 plat

      A file system lock up is quite different from a REAL lock up. A file system lockup stops a particular Explorer window's contents to stop refreshing or responding for the period of the lockup. It happens regardless of hardware (happens all the time on our RAID at work, deleting a few hundred thousand bad mail files from Exchange).

      --
      Hey freaks: now you're ju
    4. Re:Apple isn't "changing filesystems"... by Vancorps · · Score: 1
      I expect nothing of the such in Windows, I just copied over 700 gigs of data from raid array to raid array without any problems. 25,000 files? Try 25million and no lock ups. Again, using column view in windows, lord only knows how a machine would handle trying to thumbnail that many files.

      You are however correct that the slowness is in explorer, that is why I use robocopy, I copy 16 gigs/min all on two windows boxes. Course I'm clustered on both sides and have a strong network backbone. I've seen both platforms and probably a hundred file systems all fall on their asses when you try to use the wrong tools.

      It would be nice if NTFS died off but it does work. Reiser4 does sound mighty promising so it looks like the next additional to my SAN will probably be a another Gentoo box. Time will tell, things like this have a habit of getting ahead of themselves.
    5. Re:Apple isn't "changing filesystems"... by Anonymous Coward · · Score: 0

      Try 25million and no lock ups.

      So you putting more servers into the hotmail server farm?

    6. Re:Apple isn't "changing filesystems"... by Anonymous Coward · · Score: 0
      A file system lock up is quite different from a REAL lock up. A file system lockup stops a particular Explorer window's contents to stop refreshing or responding for the period of the lockup. It happens regardless of hardware (happens all the time on our RAID at work, deleting a few hundred thousand bad mail files from Exchange).

      I doubt a hung Explorer window has anything to do with the file system. Explorer is crap, both in design and implementation, and it hangs all the time when dealing with directories containing large numbers of files (I think it registers for file-change notifications and does all sorts of recalculations whenever any file information changes). However, despite encountering Explorer hangs all the time, I've never had an Explorer hang prevent access to the file system from other processes (e.g. a Command Prompt).

      A crappy application (Explorer), even if it is the shell (which can be changed), is relatively insignificant compared to actual file system problems (which I've never run into with NTFS, actually).

  11. ReiserFS is pretty damn good by bigberk · · Score: 4, Informative

    Hans Reiser has some interesting ideas about the role of a modern file system. Here's a recent USENET post describing some of the immediately visible features of reiserfs v3. Some people have said that there was corruption in the past, but I think there are no longer any problems in recent 2.4 kernels. Namesys is now developing Reiser4, which appears to be more flexible (still needs time to stabilize though). If I had to put down my money on a future filesystem though, it would be ReiserFS.

    1. Re:ReiserFS is pretty damn good by Anonymous Coward · · Score: 0

      Many of us have already stopped using Reiserfs, data corruption is one thing we don't need to be dealing with, no matter how good the filesystem.

      Now I'm using XFS for system partitions and ext2 for data. Does anybody really need anything above ext2 for /home or their wwwroot?

    2. Re:ReiserFS is pretty damn good by ttfkam · · Score: 1

      Seems odd to me. I always considered my data to be the important bits. Considering that some parts (eg. /usr, /boot, etc.) can be mounted read-only on a stable server, I see a greater reason for /home and /var to be journalled. But then again, I journal everything since my network connection is usually slower than my hard drive access anyway.

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    3. Re:ReiserFS is pretty damn good by budgenator · · Score: 1

      Does anybody really need anything above ext2 for /home or their wwwroot?

      Actualy that is where most of the files I consider imporant are. If I had to choose between losing my files or losing evething else, it would always be everthing else.

      Why not put /, ext2 read-only; /tmp, /mnt ext2 read-write; /etc, Reiserfs or EXT3; /home, /var, /srv, /root, /usr/local, XFS?
      that way everything is on a fs that works best for the type of files found there; just remount / rw for updates.

      --
      Apocalypse Cancelled, Sorry, No Ticket Refunds
    4. Re:ReiserFS is pretty damn good by Rich0 · · Score: 1

      My understanding is that xfs is risky unless you're sure power is uninterruptable. It has a tendency to be aggressive with write caching.

      Right now I'm just using plain old ext3 until I hear that everything else is solid on 64-bit. ReiserFS was haivng problems on AMD64 not all that long ago...

    5. Re:ReiserFS is pretty damn good by budgenator · · Score: 1

      I've had power failures, and no obvious data lose or corruption on my xfs fs, but I'm desktop rather than server user so mileage may vary.

      If I was a server type ups, backup generators and raid would be the order of the day anyways.

      --
      Apocalypse Cancelled, Sorry, No Ticket Refunds
  12. Why not use... by AnthonyPaulO · · Score: 2, Insightful

    ... the BeOS file system? I heard that it was supposed to be the latest and greatest, the OS to end all OSes.

    1. Re:Why not use... by Anonymous Coward · · Score: 0

      What would happen if BeOS source was opened for free use? Probably the same that has happened with OpenVMS?

    2. Re:Why not use... by Mysticalfruit · · Score: 0, Flamebait

      We've long asked this question.

      BeOS is a great example of why Steve Jobs shouldn't be allowed out of his mansion ever again.

      A very healthy argument could be made that what Steve should have done is bought BeOS lock, stock and barrel and put Aqua/Cocoa/JunkMonkey/Whatever on top of it instead of reinventing the wheel that is OSX.

      Then instead of HFS+ he would have gotten the BeOS filesystem that was 64bit years ago, has all kinds of Journaling and metadata features, etc.

      --
      Yes Francis, the world has gone crazy.
    3. Re:Why not use... by LeftOfCentre · · Score: 1

      BFS was nice but it's outdated now, it can't seriously compete with Microsoft's upcoming offering.

    4. Re:Why not use... by codemachine · · Score: 1

      Steve wouldn't have been with the company had Apple bought BeOS. Apple wanted to buy BeOS, but the owners held out for more money than Apple was willing to pay. So Apple bought NextSTEP from Steve Jobs, and brought him back on board.

    5. Re:Why not use... by Anonymous Coward · · Score: 1, Informative
      Yes, and they would have had a kernel that couldn't load more than 32MB worth of shared libraries into a process' address space; a broken, slow, and crufty network stack that Be couldn't fix in a decade of development; half-assed and unreliable POSIX compatibility; and a user environment that didn't even support printing.

      BeOS was a great technology demo, but it had a huge way to go to become suitable for general-purpose, everyday use. NeXT had Be beaten in many of its strong spots (real-time scheduling? Mach already does that. well-designed, object-oriented system APIs? Openstep^WCocoa creams Be's APIs.), and was already a mature, field-tested operating system to boot. If Apple had bought Be, (a) they wouldn't have got Steve Jobs back to save the company, and (b) they would have a *lot* more "reinventing the wheel" to do to the BeOS base than they've had to do to Nextstep.

    6. Re:Why not use... by 0racle · · Score: 2, Interesting

      Something that exists can't compete with something that doesn't? Given the time between now and whenever the next version of Windows shows up, I think that there might be some time to whip BFS into shape, assuming it is as outdated as you say, personally I don't know and right now think that adding a relational DB to the file system is just going to have a significant impact on the performance of anything less then the absolute bleeding edge.

      --
      "I use a Mac because I'm just better than you are."
    7. Re:Why not use... by Anonymous Coward · · Score: 0

      isn't the chief architect of BFS an Apple employee, who in fact works mainly on Spotlight?

      Why yes, in fact I think he is...

    8. Re:Why not use... by aristotle-dude · · Score: 1
      BeOS has some nice technology in it but it was far from stable.

      The filesystem was about the only thing BeOS has going for it? Notice that the main engineer behind the Journaled HFS+ in Panther and Tiger worked at Be Inc. on BFS.

      They did not reinvent everything. MAC OS X is basically a modern incarnation of Open Step/Next Step with a prettier Aqua and several revisions to the display postscript which is now based on Display PDF and called Quartz Extreme.

      Sorry but NeXT was a much better platform to develop on. Cocoa with interface builder versus? What was the API they had on BeOS?

      --
      Jesus was a compassionate social conservative who called individuals to sin no more.
    9. Re:Why not use... by Anonymous Coward · · Score: 0

      I want a Dual G5 to run JunkMonkey on !!!

      I can't move in this basement without tripping over a linux, *BSD or Solaris box but I got no JunkMonkey...

    10. Re:Why not use... by LeftOfCentre · · Score: 1

      The grandparent post suggested that Linux might adopt BFS to stay competitive with Microsoft. I pointed out why I think that would be a bad idea and I think my motivation was perfectly reasonable. We know in greatdetail what will be in Microsoft's file system and there are betas around to play with.

      BFS is basically files with extra metadata. WinFS is much more of a real database with a range of sophisticated features.

  13. I want a transparent filesystem/VM by valen · · Score: 5, Interesting


    I want a disk equivalent of top - something that'll tell me what processes are kicking the shit out of the disks, and by how much.

    If Linux could do that - it's more a VM thing than a filesystem - I'd stick with ext3 for years to come.

    Who needs a filesystem in a database when you have a database that lives on your filesystem (updatedb). Get that updating in realtime, with more things (like permissions, access times etc.) and a lot of the work is done.

    john

    1. Re:I want a transparent filesystem/VM by Anonymous Coward · · Score: 0

      lsof is a start.

    2. Re:I want a transparent filesystem/VM by Elwood+P+Dowd · · Score: 2, Informative

      Who needs a filesystem in a database when you have a database that lives on your filesystem (updatedb). Get that updating in realtime, with more things (like permissions, access times etc.) and a lot of the work is done.

      PR & tech journalists to the contrary, that is all that is involved in Spotlight & WinFS. Spotlight runs on HFS+. WinFS runs on NTFS. Both are databases stored as files on existing filesystems. The only difference between those databases & updatedb is that they may be using better database design (dunno) and that they update in real time via background processes.

      I'm wrote a journal entry guessing as much about Spotlight, but since then more evidence has arrived, and I'm convinced that both WinFS & Spotlight are implemented that way. The features & implementation details are quite different, but not the filesystem.

      We'll probably eventually start calling these databases a part of the "filesystem" much like right now some people will call mspaint.exe & bash a part of the operating system.

      --

      There are no trails. There are no trees out here.
    3. Re:I want a transparent filesystem/VM by geoffeg · · Score: 1

      Check out http://lists.debian.org/debian-powerpc/2003/08/msg 00054.html

      It tells of a way to get the kernel to report which processes are accessing the disk. There are better documents out there about this option but I don't have time to find a comprehensive document.

    4. Re:I want a transparent filesystem/VM by Anonymous Coward · · Score: 0

      Yeah I find it sad that windows can do this very well and Linux can't. It's something I miss when I'm working on any linux.

      FYI, if you open a task manager in windows (ctrl-esc) and select the processes tab (the only windows app known that changes menu depending on the tab selected), there is a view->select columns menu option that allows you to look at things like how many page faults each process has had lately, how much it has read or written (so you see how it changes) and so on. Makes it very nice to figure out what's going on and whether your program is doing anything stupid.

      Is there any equivalent under linux?

    5. Re:I want a transparent filesystem/VM by drsmithy · · Score: 1
      I'm wrote a journal entry guessing as much about Spotlight, but since then more evidence has arrived, and I'm convinced that both WinFS & Spotlight are implemented that way. The features & implementation details are quite different, but not the filesystem.

      Uh, given that Microsoft (and presumably Apple as well) have clearly explained that's exactly how WinFS will work from the start, I'm not sure why you needed "convincing"...

    6. Re:I want a transparent filesystem/VM by Elwood+P+Dowd · · Score: 1

      Presumably not. Apple didn't say anything about Spotlight aside from the keynote & the PR stuff on www.apple.com. Absolutely everybody was going on and on about better/extensible metadata in HFS+, which is not what they did.

      --

      There are no trails. There are no trees out here.
  14. It's not time yet by Anonymous Coward · · Score: 0

    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?"

    Yes, because if Microsoft hasn't done it yet, it's just not worth doing.

  15. Is it? by devphaeton · · Score: 0, Troll

    The basic premise is that Linux must find a next-generation filesystem to keep pace with Microsoft and Apple

    Is Apple's new (or current) Filesystem really Apple's?

    I thought it was a neutered Berkely FFS from the Darwin/Freebsd/Netbsd code they've taken.

    --


    do() || do_not(); // try();
    1. Re:Is it? by furball · · Score: 2, Informative

      This explains everyting you need to know. But basically FFS is a compatibility thing. Apple still recommends its HFS+.

    2. Re:Is it? by daeley · · Score: 1
      --
      I watched C-beams glitter in the dark near the Tannhauser gate.
    3. Re:Is it? by Troy+Baer · · Score: 1
      Is Apple's new (or current) Filesystem really Apple's? I thought it was a neutered Berkely FFS from the Darwin/Freebsd/Netbsd code they've taken.

      Current Apple systems ship with an HFS+ root filesystem, or at least the iBook I bought a few months ago did. HFS+ is journalled AFAICT, but it's pretty much the same old Mac HFS (resource forks, etc.) other than that. It's not even really case-sensitive; "touch a ; touch A" will only create one file.

      So far as I can tell, the big feature of OSX 10.4 is Spotlight, which looks like a version of locatedb that knows about file contents to me. This really isn't an OS-level thing IMHO; it could be implemented in an FS-independent way in user-land without too much trouble. It seems like this would be functionality you'd want in the file browser (eg. Nautilus or Konqueror) rather than in the filesystem... although this kind of metadata indexing might be where the HFS resource forks might come in handy.

      --Troy
      --
      "My life's work has been to prompt others... and be forgotten." --Cyrano de Bergerac
    4. Re:Is it? by devphaeton · · Score: 1

      It's not even really case-sensitive; "touch a ; touch A" will only create one file.

      Actually, i recall fiddling around with a mac once.. I seem to remember that typing "LS" would result in the same thing as "ls", but if you typed the direct path to it (/bin/LS (i think) instead of /bin/ls) it would say it wasn't found. Also if you were in the same directory as all the executable commands, sometimes it would recognize them in uppercase, sometimes it wouldn't.

      It's really strange, and followed no reason. I don't have a mac in front of me right now to double check all that, but thenagain it may have changed since then...

      --


      do() || do_not(); // try();
    5. Re:Is it? by discstickers · · Score: 1

      The case-sensitivity may have changed with an update, or I modified something; my system creates 2 files with touch a; touch A

      That created hell when a Dell documentation CD capitialized all file names, but the links in the HTML files used lowercase.

      --
      I have a shitty sig!
    6. Re:Is it? by pHDNgell · · Score: 1

      Actually, i recall fiddling around with a mac once.. I seem to remember that typing "LS" would result in the same thing as "ls", but if you typed the direct path to it (/bin/LS (i think) instead of /bin/ls) it would say it wasn't found. Also if you were in the same directory as all the executable commands, sometimes it would recognize them in uppercase, sometimes it wouldn't.

      It's really strange, and followed no reason.


      You've got this backwards and it makes absolute perfect sense:

      HFS+ does not distinguish case. open(2)/stat(2)/exec(3)/etc... would not when used on an HFS+ partition. It does, however, remember case. tcsh knows that /bin/ is in my path, and ls is in /bin, so it hashes ls to /bin/ls so it knows what to do. There is no hash for LS, so it'll fail if you try to run it. However, if you type /bin/LS, then exec* will open exactly what you asked for, and execute it. The open will open the file with the case insensitive match.

      As far as being in the same directory, that would only apply if you have . in your path (you don't, do you?)...but the same basic rules would apply.

      BTW, I like case sensitivity, but given the rules, the behavior is expected.

      --
      -- The world is watching America, and America is watching TV.
    7. Re:Is it? by dsouth · · Score: 1
      Actually, i recall fiddling around with a mac once.. I seem to remember that typing "LS" would result in the same thing as "ls", but if you typed the direct path to it (/bin/LS (i think) instead of /bin/ls) it would say it wasn't found. Also if you were in the same directory as all the executable commands, sometimes it would recognize them in uppercase, sometimes it wouldn't.
      That will depend on your shell. BASH/sh/ksh search for executables in your path, so those shells will indeed treat `ls` the same as `LS`. The csh and tcsh shells keep an interal hash table of the executables, so they are case sensitive even though the underlying filesystem is not (with the exception that the current directory is searched regularly rather than being hashed and so behaves like bash/sh).

      As to the original poster's comments aobut HFS+ not being case sensitive, it's actually case-preserving, but case insensitive, Eg:

      % touch aFile
      % touch Afile
      % ls *ile
      aFile

      Most unix types (myself included) look at that and say "that's just wrong". That was until after I read a long discussion about the reasoning behind it. Some things to consider:

      • From a programming standpoint, it is much easier to make a case insentive or non-case preserving filesystem than it is to do what HFS does (preserve the case, but not use it for matching). So it is not a case of Apple developers being lazy, they actually wanted the current HFS behavior.
      • If someone told you to go get a file named "Taxes 2004" from a regular (physical) filing cabinet, and all you found was a file labeled "TAXES 2004" would you think it was the correct file?
      • If you created two files with the above labels, would you expect anyone else to recognize they were different?
      • Because HFS is case preserving, most of the things you would normall use cases for still work. [Eg, many people name all directories with a capital letter to help differentiate them from regular files when looking at a directory listing. This works fine in HFS since 'ls' will show the original case.]
      Though I'm still emotionally attached to the unix implementation of case sensitivity, I'm increasingly of the opinion that the HFS behavior is the more "correct" one from a user point of view.
    8. Re:Is it? by Anonymous Coward · · Score: 0

      but, um, why isn't OSX just freebsd with a pretty face? The guy never explained this. I mean once you get passed on the frilly translucent, customizable icons, and into a halfway decent user-interface, namely:
      $>
      What's the diff? The rabid desire to justify why you paid so much for the hardware setup?

  16. Cairo? by DWXXV · · Score: 0

    I thought Linux did well in Egypt.

    --
    A ruler wears a crown while the rest of us wear hats. But which would you rather have when it's raining?
    1. Re:Cairo? by 49152 · · Score: 1

      >So how come all I can remember is the name? I can't seem to recall the OS at all.

      Probably because it was renamed to Windows NT 4.0 before released.

  17. newer than... by andrew71 · · Score: 0

    ...this?

    --
    13-4=54/6
  18. Another solution in search of problem by CarrionBird · · Score: 2, Insightful
    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.

    --
    Free Mac Mini Yeah, it's
    1. Re:Another solution in search of problem by the_mad_poster · · Score: 1

      Okay, fine. Put a picture of a bird with a cache-like (i.e. - meaningless) filename in a random place on your hard drive, then find it.

      And, before you tell me that you should be using more intelligent filenames so the linear search can find it - you don't always have control over the names of the files you're working with.

      --
      Alito: A vote for Alito is a punch in the eye to put that bitch back in her place!
    2. Re:Another solution in search of problem by Anonymous Coward · · Score: 0

      theres just soo much porn to download and no good way to keep track of it.
      I'd really like windows to automatically sort it for me. Like a folder for bj's, one for gangbang and so on. maybe even with virtual files too.
      like if a porn included gangbang anal bj's it would show up in all 3 folders.

    3. Re:Another solution in search of problem by lightknight · · Score: 5, Insightful

      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.

      --
      I am John Hurt.
    4. Re:Another solution in search of problem by Anonymous Coward · · Score: 0

      > assuming you take the time to fill out the fields

      And this differs from just naming or placing the file someplace memorable, how?

    5. Re:Another solution in search of problem by twistedcubic · · Score: 1


      Okay, fine. Put a picture of a bird with a cache-like (i.e. - meaningless) filename in a random place on your hard drive, then find it.

      You mean like using GNU tools like find, xargs, cut, file, ls, and/or sort? Trivial...

    6. Re:Another solution in search of problem by Erik+Hensema · · Score: 1

      The problem is that the amount of data on our disks keeps growing and growing, while our tools to index and search that data are designed with only small filesystems (like, 40 MB) in mind.

      Imagine a filesystem in which you can store your email, and that the filesystem can be made to understand your mail. Want all mails sent by John Doe to you? The filesystem knows the answer.

      If your email application is aware of the database driven filesystem, it does not have to implement its own mailstore. Currently the application has to use mbox, maildir, or some other format.

      Of course, it doesn't end there. What about the user database, currently stored in /etc/passwd? The format is flawed, proved by the existence of /etc/shadow and setuid tools for mortals to edit them. Why not make a simple password file which only contains the encrypted password which a user can edit?

      The possibilities don't end there. All files with some internal structure can be stored in the db-fs.

      No more mp3's with a hacked md3 tag in them. Just store the metadata where it belongs: outside the data stream.

      A db-fs will dramatically alter the way we work with computers. It truly is the next step in computing. Therefore, it will also take a LOT of time before it is implemented. 10 years at least.

      If it's hard to understand what such a system would look like: imagine you store all your data into an SQL database. Yes, that's a lot of change.

      Worried about the bloat? Bloat is no problem. First of all, since we won't have a db-fs for another 4 years or so, with widespread acceptance 10 years from now, our computers will be WAY faster than what we're using now. Secondly, a db-fs won't be a full-blown SQL database. The kernel only implements some primitives, while userspace libraries implement the actual logic, the 'meat' of the system. Since kernel memory cannot be swapped out, this matters a lot. 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. Luckaly, the hardware to run it on has grown to.

      No, the only real big obstacle to a db-fs is user ignorance. Or conservatism. People either won't understand its importance, or won't want to change.

      Once Longhorn is out, it will take a few years for them to understand what's going on, and OSS is up to chasing taillights once again. Please don't let it come that far and start thinking about db-fs'es now.

      --

      This is your sig. There are thousands more, but this one is yours.

    7. Re:Another solution in search of problem by hackstraw · · Score: 2, Insightful

      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?

    8. Re:Another solution in search of problem by the_mad_poster · · Score: 1

      Wait... so... you can't see a need for a new filesystem, because you can use a series of chained, archaic mechanisms to do it?

      That's great, and I can use all those tools too, but I know an awful lot more people who can't than who can and THEY are the target audience for such a system.

      --
      Alito: A vote for Alito is a punch in the eye to put that bitch back in her place!
    9. Re:Another solution in search of problem by kfg · · Score: 3, Insightful

      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

    10. Re:Another solution in search of problem by AstroDrabb · · Score: 2, Insightful
      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.

      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
    11. Re:Another solution in search of problem by at_kernel_99 · · Score: 2, Interesting
      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?
      A fine question. Which makes me wonder: Is google's next killer app a new filesystem? As the search kings, and rumored Linux users, might they be about to enter the hard drive search / filesystem market? Various pundits speculate that gmail is their first foray into searching beyond the web; surely, at some point, their technology will reach our hard drives. Will it be via a stand-alone tool, or a whole filesystem?
    12. Re:Another solution in search of problem by BlueStraggler · · Score: 1
      Files that you have no control over the naming of are usually generated by some automated tool that will not be able to inspect content such as images to determine their subject.

      And when AI has reached the level where your digital camera can observe for itself that photo X is of a bird, and photo Y is of your brother, then who the heck needs meta data, since this info can be placed in the filename where it you, the person it matters to, can actually see it. Until that fine day, you still have to supply the meta data yourself, and since you are manually editing the file anyway, you might as well put it into the filename, for the same reason.

      But if there are too many files, then this can be hugely tedious, so you'll want some kind of mechanism to group them under a common attribute. Then at least your automatic file generator can use its stupid names, but you can access them using a single easily-remembered tag. And it would be nice if we could associate a file with more than one such tag, so we'll need some kind of mechanism for connecting a file with an arbitrary number of tags.

      And let's call these tags "directories", and the connecting mechanism "links". That way we can use these advanced new features in filesystems that were written over 20 years ago.

    13. Re:Another solution in search of problem by archen · · Score: 1

      In my opinion WinFS isn't a bad idea, but it's preaching to the chior. The people who would actually take the time to type out crap in the description fields are probably the same people who already organize their things pretty well. I doubt the people who put 10,000 files in My Documents will bother. And as you say, many of us have vague conceptions on what is in a document that would have nothing to do with any metadata descriptors anyway.

    14. Re:Another solution in search of problem by DunbarTheInept · · Score: 1


      Okay, fine. Put a picture of a bird with a cache-like (i.e. - meaningless) filename in a random place on your hard drive, then find it.

      Wow - that's going to be a really cool feature. I was unaware that Microsoft's new filesystem contained a working A.I. with image recognition in it. (Of course, I'm just assuming that's what you're talking about since otherwise a databased file system wouldn't make your task any easier and your example would have been irrelevant.)

      --

      Don't label something "offtopic" unless you know the topic well enough to tell what's on topic.

    15. Re:Another solution in search of problem by runderwo · · Score: 1
      Of course, it doesn't end there. What about the user database, currently stored in /etc/passwd? The format is flawed, proved by the existence of /etc/shadow and setuid tools for mortals to edit them. Why not make a simple password file which only contains the encrypted password which a user can edit?
      Um, the whole purpose of shadow passwords was to _hide_ a user's password hash from other users. Previously, the crypt hash was stored directly in /etc/passwd, as you suggest, and it was responsible for a lot of cracked root accounts on systems where a password change policy was not in place (i.e.: most). It's a lot easier to crack a password within a given amount of time given the hash and the hash function, than by brute forcing a login.

    16. Re:Another solution in search of problem by Anonymous Coward · · Score: 0
      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?

      If looking for just the file name, slocate is you're thinking of.

      But...

      It's limited to a command line interface --there might be a GUI tool on freshmeat...

      It's not integrated to the web browser interface to google.

      It does not seach the other machines on the lan.

      It does not search the contents of the files.

      What other features you want here?

      -cmh

    17. Re:Another solution in search of problem by Erik+Hensema · · Score: 1

      Yes, so make a file which can be read and written by the user, and nobody else. Since root can read all files, login is no problem.

      --

      This is your sig. There are thousands more, but this one is yours.

    18. Re:Another solution in search of problem by joh · · Score: 1

      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?

      Because you can do so much more with your computer and your LAN and your applications than with the web.

    19. Re:Another solution in search of problem by Anonymous Coward · · Score: 0

      Hey, how'd you figure out my p0rn naming convention?

    20. Re:Another solution in search of problem by runderwo · · Score: 3, Insightful
      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.

    21. Re:Another solution in search of problem by runderwo · · Score: 1
      Which makes me wonder: Is google's next killer app a new filesystem?
      Google already created their own filesystem with substantial architectural similarites to the AFS distributed filesystem.

    22. Re:Another solution in search of problem by demonlapin · · Score: 1

      Google's machines use RAM drives. If we stored everything in RAM, our filesystems would be a lot faster too.

    23. Re:Another solution in search of problem by Erik+Hensema · · Score: 1

      The data has to be stored one way or another. The complexity now is in the applications, it will shift to the OS when using a db-fs.

      Question is: will this increase or decrease total complexity?

      With lots of applications getting more simple and only one getting more complex (the kernel plus supporting libraries), I think the system will become more robust.

      When you compare the complexity of a db-fs to something like a full blown free database like PostgresQL, it should be far less complex. And programmers are willing to work on PostgresQL. Or openoffice, Or KDE. Or the Linux kernel. All very, very complex projects.

      --

      This is your sig. There are thousands more, but this one is yours.

    24. Re:Another solution in search of problem by Technonotice_Dom · · Score: 1

      Haven't heard that said about Google's systems before. Any links? I assume you mean just the indexes...

    25. Re:Another solution in search of problem by twistedcubic · · Score: 1


      Wait... so... you can't see a need for a new filesystem...

      No. Neither what I said, nor what I implied. My understanding was that you thought finding this file on on Unix-esque system would be harder than finding it on that vaporware Windows filesystem. I disagreed. The most naive and inexperienced Windows users I know keep everything on their "Desktop" or in "My Documents". The more advanced users use "My Pictures". The reason why Longhorn is delayed is probably because this, and other vaporware, is still in the planning stages. Moreover, there are a bunch of trivial patents to be filed, such as "file browser which filters by filetype" and all the other ways to sort and filter files.

    26. Re:Another solution in search of problem by mvpll · · Score: 1

      Hopefully the search function will support sets, and I can define bird as a set of which hawk is perhaps even a subset. After all, having a "family" set for searching would be useful too, etc.

      Once the metadata is attached to the file and is consistently carried around by the filesystem, refining the searching programs is a seperate issue.

      Whilst most things to tend to get over-hyped, at present no-one can take _any_ advantage of non-existing functionality (unless they are still using Be). People who don't want this added service should be free to format their partitions however they like.

    27. Re:Another solution in search of problem by Anonymous Coward · · Score: 0

      Lack of disk space to store a giant index file?

    28. Re:Another solution in search of problem by demonlapin · · Score: 1

      I first read it here on /., I believe. No links, sorry. Try the Goog yourself. IIRC everything is in RAM. No HD's at all are involved in the actual search process. How else to get Google-like response times, as vs. ca. 1995 Lycos (when it was still at CMU; if you don't remember the bad old days, don't worry - they sucked)?

    29. Re:Another solution in search of problem by joeljkp · · Score: 1

      A better example: I have a picture of my sister and one of my friends. Do I file it under "Sister", or "Friend"? What's the answer?

      With a new filesystem, it would be "both", and without ending up with two files.

      --
      WeRelate.org - wiki-based genealogy
    30. Re:Another solution in search of problem by the_mad_poster · · Score: 1

      No, I forgot the last part of my comment which was "try to do it again in a year" with the assumption that the first time you found it, you would apply the necessary metadata so it wouldn't be an issue in a database fs.... :/

      gun.shoot(self.foot);

      Yea yea... still banned from posting. Whatever, Malda.

      --
      Alito: A vote for Alito is a punch in the eye to put that bitch back in her place!
    31. Re:Another solution in search of problem by DunbarTheInept · · Score: 1

      How is that any better than just making a bunch of filenames that point to the same file via symlinks and then using locatedb? 10 different names for the same file is the same thing as 10 keywords typed in to refer to the file.

      --

      Don't label something "offtopic" unless you know the topic well enough to tell what's on topic.

  19. Encrypted filesystems? by pebs · · Score: 1

    Are there any encrypted filesystems available for Linux? Last time I checked (quite a while ago), there wasn't.

    --
    #!/
    1. Re:Encrypted filesystems? by Anonymous Coward · · Score: 0

      use a loop device. We have had encrypted filesystems for several years.

    2. Re:Encrypted filesystems? by dcowart · · Score: 2, Informative

      Here's instructions for RH8.0:

      http://bob.plankers.com/other/linux/loopback_efs .h tml

      The Linux Doc Project also has a HOWTO in their archive:

      http://www.tldp.org/HOWTO/Loopback-Encrypted-Fil es ystem-HOWTO.html

      You will want to check around though, a lot of the information appears to be very old. Also, the 2.6 kernel has a lot more encryption routines built into it, so using 2.6 changes how it's done. (but it still is basicly mounting an encrypted file using a loop-back mount point)

      --
      www.rdex.net
    3. Re:Encrypted filesystems? by iabervon · · Score: 2, Informative

      The way Linux does encrypted storage is with encrypted devices rather than encrypting the filesystem on the device. This is good because it means you can encrypt any (device-backed) filesystem.

    4. Re:Encrypted filesystems? by pclminion · · Score: 2, Insightful
      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.

    5. Re:Encrypted filesystems? by Anonymous Coward · · Score: 0

      > Scary, eh?

      Shit, boy, it turns up in /boot/vmlinuz.

      > This won't work for everyone, but it might for you

      Yeah, what are the odds, huh?

    6. Re:Encrypted filesystems? by Anonymous Coward · · Score: 0
      run grep on your swap partition and give it a few characters from your password.

      Actually, run it through strings first so you get some sensible output:

      strings /dev/hda1 | grep Pas

      Replace /dev/hda1 with your real swap partition and Pas with a few chars from your password.

      I did this, and indeed my password is there on my swap partition. Argh :-/

    7. Re:Encrypted filesystems? by pclminion · · Score: 1
      Shit, boy, it turns up in /boot/vmlinuz.

      A few chars from your password will, of course, turn up in many files purely by coincidence.

      But there is a much higher probability that your password exists in its entirety on the swap partition.

      I forgot that grepping a binary file only produces "File matches" by default. An AC appears to have already corrected my post. First run 'strings' on the swap partition, and run grep on the output of strings.

      I'm not guaranteeing you'll find your password in there, but I'm willing to bet that at least a few people will.

    8. Re:Encrypted filesystems? by Sloppy · · Score: 1

      Haven't found any. On a single-user system, you can basically get the security advantages of an encrypted filesystem, by using an encrypted device instead (which is what I'm doing on my laptop). But this approach would be cumbersome on a multiuser system (whatcha gonna do, have a different device for each user?).

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    9. Re:Encrypted filesystems? by cfalcon · · Score: 1

      The "proper" thing to use is dmcrypt, not loopback. dmcrypt will enable you to encrypt whole partitions (you set it up with cryptsetup than access the device, or there are more manual steps for the pain lovers). You can of course, also use it as a loopback filesystem.

      Fedora Core 2 has this, and I'm sure a couple others do. The standard loopback guy has been deprecated.

    10. Re:Encrypted filesystems? by temojen · · Score: 1
      whatcha gonna do, have a different device for each user?

      Absolutely. It doesn't need to be a physical device. It can just as easily be a partition of a distributed or RAID block device, sized to the user's quota.

    11. Re:Encrypted filesystems? by lars_boegild_thomsen · · Score: 1

      Ahem - :

      cat: /dev/hda4: Permission denied

      Don't see the problem really. Why would anybody give read access to device nodes for regular users? You wouldn't let them read /proc/kcore either would you? :)

    12. Re:Encrypted filesystems? by pclminion · · Score: 1
      Don't see the problem really. Why would anybody give read access to device nodes for regular users?

      If regular users can't access the device anyway, why bother encrypting it?

      Encryption protects you from people who have physical access to the machine. People like coworkers who rifle through your stuff after you go home. Or the feds. Whoever.

      My point is, if you are counting on encryption to protect your data from snoops, you better have an encrypted swap partition, otherwise your encryption password might end up, clear as a blue-sky day, on your swap partition.

      It's not that hard, using strings, to look for things that might be likely passwords and just try them all.

  20. Filesystems are tools by tikoloshe · · Score: 5, Insightful

    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.

    --
    --
    1. Re:Filesystems are tools by beee · · Score: 5, Insightful

      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.

      --


      + Donald Gunth
      + Email: dgunth@quicktek.net
      "Caffeine is the greatest lubricant ever created." -ESR
    2. Re:Filesystems are tools by Anonymous Coward · · Score: 4, Funny

      for example, FAT32 has found its way into grandmother's desktop and production web servers

      Wow, your grandmother has production webservers! Cool. ;-)

    3. Re:Filesystems are tools by stratjakt · · Score: 1

      I hereby nominate you to be the person to whom all queries of the following type shall be redirected to, now and forever:

      "hi im noo to linux and i want to know if i should pick ext2, ext3, xfs, jfs, nfs, bfs, cifs, ntfs, vfat, fat, umsdos, reiserfs3 or reiserfs4. im using gentoo i bought from best buy and want to play doom 3 thnx?"

      --
      I don't need no instructions to know how to rock!!!!
    4. Re:Filesystems are tools by tikoloshe · · Score: 1

      and i nominate that you have all your tools taken out of your tool box except for a hammer :)

      --
      --
    5. Re:Filesystems are tools by Jeff+DeMaagd · · Score: 1

      I'd want one system that generally has 85% to 90% of the performance on every measurement rather than being the best at something but then being the worst at something else.

      Generally, I'm not going to bother with so many different options. I'm not going to play with multiple partitions on one drive to get the optimal use for every kind of file, nor am I going to let the size or type of file dictate where it goes in the sytem simply because it works best with a particular file system. I suppose it would be less wasteful if file systems can be dynamically allocated or repartitioned at will, but then, that seems kind of risky.

    6. Re:Filesystems are tools by kasperd · · Score: 3, Insightful

      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.

      --

      Do you care about the security of your wireless mouse?
    7. Re:Filesystems are tools by GlassHeart · · Score: 1
      A good filesystem should be capable of handling all potential applications

      File systems have design goals, and many goals are entirely contradictory. For example, maximum throughput often means (relatively) poor random access speeds. The lowest read latency might mean high power consumption. Maximizing the storage for user data probably increases RAM footprint. Sure, it can "handle" it, but it won't be best suited for a particular application.

      Worse, different media require vastly different file systems. A floppy disk file system will not necessarily work well on a hard drive, and neither will work well on Flash devices.

      These differences are not a simple matter of adjusting a build flag or changing a constant, but fundamental to the way data is stored on the device. Your point of avoiding overspecialization is well taken, but overgeneralization is a similarly foolish path.

    8. Re:Filesystems are tools by Elwood+P+Dowd · · Score: 1

      tempfs

      --

      There are no trails. There are no trees out here.
    9. Re:Filesystems are tools by anothy · · Score: 2, Insightful
      ...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.
      --

      i speak for myself and those who like what i say.
    10. Re:Filesystems are tools by jelle · · Score: 1

      A filesystem is a way of storing data in a computer. There are different kinds of data, different kinds of storage systems, and different kinds of data access and modification patterns. No single filesystem is best for each combination.

      If you own a wireless router, chances are it has Linux with cramfs, and if you're accustomed to using FAT32 on flash, you wouldn't believe the speed and efficiency of jffs on that media. Your cell phone wouldn't be better of with FAT32 either. Specializing works and is good. Ext3 is pretty good and reliable for current 'computer file systems', but does not offer much in the direction of storing relational data for which we use databases. A database is just a filesystem with a different name, and that is the main thing that Hans Reiser understands and uses in his Reiserfs. Although some people posting here seem to think that a database as a filesystem for everything is they way to go, I believe that that would be way too much overkill for a lot of computing storage needs.

      The other post mentioning tmpfs is right on the spot, another very good example of an extremely useful specialized filesystem,

      What you may not know is that, on Linux, nobody forces you to use one filesystem for everything, and if you're worries about partitioning your storage space too much: resizing of filesystems can be done if you use LVM.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
  21. Diet by ParticleMan911 · · Score: 0, Troll

    I'm on a diet so I don't get FAT32.

    --

    --
    Are you a Chipotle Fan?
  22. Gnome Storage by leandrod · · Score: 4, Interesting

    Gnome Storage should be a step in the right direction, and it gets it right by not reinventing the wheel, just using PostgreSQL as its database engine.

    This way we can test the waters without messing with the kernel. When the concept is tried, we can decide if we make PostgreSQL a required part of a GNU/Linux system, or a Hurd translator, or whatever.

    --
    Leandro Guimarães Faria Corcete DUTRA
    DA, DBA, SysAdmin, Data Modeller
    GNU Project, Debian GNU/Lin
    1. Re:Gnome Storage by Anonymous Coward · · Score: 0

      make PostgreSQL a required part of a GNU/Linux system

      God I hope I never have to include PostgreSQL as part of my installation. Nothing against it, I just don't want to have to install it just so I can use a filesystem.

    2. Re:Gnome Storage by mathi · · Score: 1

      The problem with a seperate database is that the directory structure and the database can get out of sync. This is more or less the same problem that is plaguing RPM-databases and the windows-registry.

    3. Re:Gnome Storage by leandrod · · Score: 1
      > The problem with a seperate database is that the directory structure and the database can get out of sync

      There are plenty of ways to prevent this. The simpler, obviously, is to implement the directory struture in the database.

      --
      Leandro Guimarães Faria Corcete DUTRA
      DA, DBA, SysAdmin, Data Modeller
      GNU Project, Debian GNU/Lin
  23. But... by sk6307 · · Score: 3, Interesting

    Is there anything that a true database filesystem offers that something like a realtime updatedb index and maybe a background updated glimpse index of /home cant offer?

    I have about 18GB of files in my main home dir, and I can search it in seconds with slocate and if I need a content search, with glimpse.

    I know that this kind of database FS provides a lot of cool opportunities in terms of meta-data, but how useful is it for non-techies, who usually dont name their files coherently, let alone correct ID3 tags or other other meta-data.

    1. Re:But... by Keruo · · Score: 1

      > I have about 18GB of files in my main home dir, and I can search it in seconds with slocate and if I need a content search, with glimpse.

      so that's 17,5GB porn and 0,5GB thumbnails?

      --
      There are no atheists when recovering from tape backup.
  24. Speaking of which... by devphaeton · · Score: 1

    ..anyone got a good RTFA or source that explains how journalled filesystems work without.. um... doubling the data and filesystem?

    thanks.

    --


    do() || do_not(); // try();
    1. Re:Speaking of which... by Ciannait · · Score: 1

      In a quick search, I wasn't able to find anything generic, but in my experience (with VxFS), journalled filesystems work by a small, circular intent log. Updates to the superblock (inode changes) get logged in the intent log, and then the change to the inode is pushed to disk. The intent log is usually one meg or smaller.

      Journalled filesystems only log the metadata changes. They don't log data changes. They're intended for use in speeding recovery, and they're not a silver bullet against data corruption. If the data in the block or extent is toast, no amount of journalling will save you.

      --
      A good traveller has no fixed plans and is not intent on arriving.
    2. Re:Speaking of which... by iabervon · · Score: 1

      The simple answer is that they first write the change to a journal; if it doesn't make it there completely and correctly, it will be backed out. Once it is written there, the filesystem is changed, and the new version will be seen instead of the old version. At that point, the in-place version of the data can be updated; no matter what is done to it, it can be recovered from the journal, which is authoritative. Once the in-place version is updated correctly, the record can be dropped from the journal.

      So, essentially, the content is doubled, but only for the most recent stuff where there is a new and an old version to keep track of. Once something is done changing (or has been replaced again) the duplicate is freed, since it doesn't matter any more.

    3. Re:Speaking of which... by mikefe · · Score: 1

      After spending enough time in the ext2 and ext3 mailing lists and reading various articles, I can give an answer to you, but don't remember any single source that gives the information by itself. I'm going to concentrate on ext3's journaling since that's the one I'm the most familiar with.

      First of all I'm assuming "doubling the data and filesystem" means writing the data to the journal before writing it to the rest of the filesystem.

      The simple answer is that most journaling filesystems don't log the data, only the filesystem information about the data (meta-data "data about data"). So unless the filesystem claims "data journaling" it only journals meta-data. Ext3 was the only filesystem that could claim this until recently when Suse added the capability to ReiserFS (aka Reiser3) in the 2.6 kernel. Before that it was only in the Suse 2.4 vendor kernel. Also, Reiser4 is completely data journaling, but they have found a way to optimize the writing operations. I think they have split the journal across the disk and then reasign the journal to new locations so there isn't a need for two writes, but I'm sure I don't understand it completely and I haven't seen it stated very clearly anywhere yet on how it works.

      So, if you don't data-journal, then what do you do? The key is ordering. You leave the meta-data and data blocks alone while putting the updates in the journal. So, in the filesystem you have one inode (file) that uses blocks 1, 2 and 3, but your updates go to blocks 4, 5 and 6. And then once that write operation is complete the block list change is written to the inode in the filesytem.

      There are drawbacks though. How do you define a "write operation"? The most common way to save a file is to truncate (set it's size to zero), and then write the entire file over. So, it is entirely possible for a truncate call to make it to the journal and when the journal is replayed you get a zero length file instead of your data. And each write() call usually is 4k of data (application dependant). So having a journal doesn't insure you against partial or missing data, only that the latest state of the filesystem written to disk will be the same when you crash or lose power.

      The problem is that there is no standard programming interface (API) to define a write transaction. Reiser4 is developing one with a limit of 64 write calls (per user?) (last time I was watching the lists which was about four months ago). The reason there is a limit is because you could exhaust the journal space with reservations from a malicous program very easily if there wasn't a limit. The plan is to let the API be defined within Reiser4 (they have submitted an RFC to LKML a while back IIRC), and then let it be moved up a layer when other filesystems start implementing transaction reservations in their filesystem.

      Did that answer your question?

      --
      There: Something at a specific location.
      Their: Owned by someone.
      Please make sure your english compiles.
  25. Bump it up to WebDAV or an API ? by nostriluu · · Score: 2, Interesting


    What do you want these next generation features for? Mainly features like access control, security, robustness, and above all organizing and sharing data.

    Why not go higher level, use a reliable and simple underpinning such as ext3fs, with something like WebDAV (Distributed Authoring and Versioning) on top of it? Like SubVersion, it is based on HTTP, with specification for versioning and rich access controls.

    Or maybe even go to the level of a Java JSR, so you could have a cross platform API for accessing files so it really doesn't matter what the back end is, KaZAA, Google or a DataSette, as long as your programs have a high level view of the information.

    You might even end up with something liek the original TB-L Web, with everyone running their own Web server.

    Of course, excluded from the above is performance, which would be ok for office type apps but not something that requires direct disk access, but perhaps the simpler file system would be most suitable for that.

    Of course, I'm just rambling here, so would be happy to hear more developed responses to this suggestion...

    1. Re:Bump it up to WebDAV or an API ? by platos_beard · · Score: 1

      I agree entirely that there's no reason why the attachment of various meta-data to files should be implemented in the file system itself. Instead, add a layer on top of the file system, but below applications and store the file attributes in a database. What would be the big gain from combining the two?

      Applications that don't need the metadata could go directly to the FS with less overhead, apps that do need it can use the attribute db. Possibly we'll need the FS to be aware of the attribute database layer, but that can be a pretty thin interface and have near zero impact on performance.

      The attribute database can be stored in a different databases and use a different underlying file systems as needed or desired. That kind of flexibility is what we love about Linux, isn't it?

      --
      What's a sig?
    2. Re:Bump it up to WebDAV or an API ? by drinkypoo · · Score: 1

      Whatever you move it to, you should consider it as a network resource, even if you access it locally, to ensure that all accesses are done in such a way that metadata, whereever it is stored, is always updated appropriately and associated with the file. It is completely irrelevant whether that information is stored in a separate SQL database, a flat file, in the filesystem itself, or on another filesystem so long as it meets performance requirements and is appropriately associated with the file.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    3. Re:Bump it up to WebDAV or an API ? by Alien+Being · · Score: 1

      I think you're right, but there should be a vfs layer atop the database. e.g. I should be able to do either this:

      select pathname from fs where type = 'image/jpeg';

      or this:

      find /types/image/jpeg

    4. Re:Bump it up to WebDAV or an API ? by Anonymous Coward · · Score: 0

      and fleshtone_area > 75%

  26. Compatible by cubicledrone · · Score: 4, Funny

    Just make sure it is incompatible with all the current applications so we can rewrite everything. Add a cool feature or something too.

    --
    Business isn't willing to pay for products, innovation and careers, so we get brands, mortgage commercials and layoffs.
  27. Jealous by WeekendLazyness · · Score: 0

    You Linux users are just jealous that us Windows users don't have a 4GB file limitation. :D

    1. Re:Jealous by mattyrobinson69 · · Score: 1

      i thought there was a kernel option to get round the 4gig limit, but it turns out i was thinking of this:

      64GB (HIGHMEM64G)

      Select this if you have a 32-bit processor and more than 4
      gigabytes of physical RAM.

      64GB eh? thats in xconfig, before you compile the linux kernel. oh yes i forgot, you cant compile your kernel on windows or support 64gb of ram on windows.

  28. Linux.com by maelstrom · · Score: 2, Funny

    So Joe Barr who writes for Linux.com, submits a story to Slashdot (who owns Linux.com) written by another OSDN guy. Good job for editorial independance.

    --
    The more you know, the less you understand.
    1. Re:Linux.com by Anonymous Coward · · Score: 0

      whtats the big deal?

      so because slashdot owns linux.com they shouldnt ever put references up to a sister site.

      wow!

    2. Re:Linux.com by 0x0d0a · · Score: 1

      No, but they do lack the "blah blah blah is an OSDN-owned site, which is a parent company of Slashdot" disclaimer, which they normally do put up. An unfortunate oversight, but I don't think that it's epidemic.

    3. Re:Linux.com by Anonymous Coward · · Score: 0
      You must be new here. Oh, wait ....

    4. Re:Linux.com by Anonymous Coward · · Score: 0

      If /. weren't slanted, it would be called |.

  29. MySQL by OYAHHH · · Score: 1

    If,

    MS can do a filesystem built on top of SQL Server then Linux should try to build one on top of MySQL.

    It probably would be popular...

    BTW, before somebody gets all bent outta shape the above is a joke.

    --
    Caution: Contents under pressure
    1. Re:MySQL by lamber45 · · Score: 1

      This would probably be a good exercise for an introductory network-programming class: write an NFS or SMB server in java or perl. It would be a dog for performance, though, and I'm not sure how to store/retrieve files bigger than max_packet_size. The other disadvantage is that this "filesystem" would also work on Windows.

  30. Well... by Anonymous Coward · · Score: 0

    they're not resolving naughty or nice queries for the reindeer chimneys presents man. Not until our new filesystem overlords are properly welcomed. ...in Japan.

  31. Anybody remember Cairo?" by MobileDude · · Score: 0, Flamebait

    Yeah, I remember them. They were just another 80's power-band along the lines of Asia and Europe...

    --
    10 MD .\crash 20 CD .\crash 30 GOTO 10
  32. OS/400 file system!? by Anonymous Coward · · Score: 0

    I hope not!

    The good is that everything UNIX calls a file is an object in OS/400, and has it's own meta data and infinitely better security model than UNIX's user/group/public garbage.

    The bad is that each object needs it's own set of commands to manipulate. And object names are limited to 10 characters. Blurgh! The OS/400 main file system is not hierarchical either, all object reside is one of a number of flat libraries (directories).

    1. Re:OS/400 file system!? by OrangeSpyderMan · · Score: 1

      Agreed - I don't know that much about OS/400 but I know enough to know the author doesn't know sh*t about it - he seems to have picked up that OS/400 has some magic database filesystem - get over it, IT DOESN'T.

      What the OS/400 has is a lot of flat files that to me look like csv - you have delimited fields in flat physical files that can be turned into fields if you look at the file using strsql (ie SQL interface to the filesystem) rather than dsppfm. BIG DEAL Now grant it you can have logical files which are to OS/400 what views are to real databases, but this isn't the file system itself as much as the different ways you can look at it - it's like saying that Windows has a "word-processor" based file system because they have tools that can open files and make them look like preprocessed text!! OK grant it, you can use strsql on an AS/400 box to get stuff to look like fields and tables, but like word files if you open them with notepad, they're not fields and tables at all, but files and seperated values.... the only difference is the TOOLS YOU USE TO OPEN THEM

      --
      Try NetBSD... safe,straightforward,useful.
    2. Re:OS/400 file system!? by Anonymous Coward · · Score: 0

      'Magic database' it may not be, but don't write the author's words off that quickly. You say the files are little more than CSVs? Perhaps you failed to notice the fact that every one of these "CSV"s are rigidly defined and structured, with field descriptions?

      Perhaps you failed to notice that this system was designed in a forward-thinking manner decades ago?

      If you honestly believe that the OS/400 file system isn't HEAVILY database-oriented and is in fact barely more than CSV's then you don't have much clue what you're talking about.

    3. Re:OS/400 file system!? by OrangeSpyderMan · · Score: 1

      'Magic database' it may not be, but don't write the author's words off that quickly. You say the files are little more than CSVs? Perhaps you failed to notice the fact that every one of these "CSV"s are rigidly defined and structured, with field descriptions?

      LOL. Rigidly defined and structured? You mean that records have a set number of characters - oh yes you can take 150 characters and divide it up into 5 fields of 2 characters and the rest as spacers, but get over it, someone is someday going to deliver the same phyical file with 10 fields of 15 characters and no spacers. It's gonna break all the other cls, querys, pgms you have on that box, and you'll have to replace the logical files that use it too. Not as rigid as you make out, the field names only matter till you move them... The number of characters per "record" ain't gonna change, someone has just decided to carve the spacers up... Forward thinking decades ago, it most certainly was, and to this day remains useful, but it isn't a magic SQL filesystem like many make out, it's just a filesystem built from the ground up with the idea that it should be made easy to represent the data in whatever way suits.

      --
      Try NetBSD... safe,straightforward,useful.
    4. Re:OS/400 file system!? by Anonymous Coward · · Score: 0

      So you're saying that if you poorly defined your data structure in the first place, you might have trouble down the road?

      You're saying that if someone feeds malformed data into a database that programs will choke?

      These are problems that stem from poor planning and poor implementation. They could happen on any system.

      Incidently, I agree with you that the OS/400 FS isn't a magical SQL filesystem. However, it is still heavily database driven, self optomizing, scatter-loaded, etc.

      Yay :-)

  33. What about JFS? by kalpol · · Score: 1

    I am using JFS on my Gentoo server, and it's just fine - fast and stable. Not that I know much about filesystems, but the fact that IBM is behind it gives it some credibility, it would seem.

    --
    12:50 - press return.
  34. Re:Next premise, please by mkarpinski · · Score: 1

    OS X has had a journaled file system since 10.2 and it is "on" by default in 10.3

    --
    As below, so above and beyond, I imagine drawn beyond the lines of reason. Push the envelope. Watch it bend.
  35. Re:Encrypted filesystems? Try cryptoloop by Anonymous Coward · · Score: 0

    Maybe. Look into cryptoloop. This is a kernel option I keep saying no to each time I see it, but it seems to be an encrypted loopback filesystem.

    So with cryptoloop, which seems to be parallel to loopback, you get a big chunk of disk space, mount it as a block device using cryptoloop, then format it as any filesystem you want. Cryptoloop (en|de)crypts the blocks as they pass through it. This way, you have an encrypted filesystem of whatever design you want.

    Actually I just made the last paragraph up, but if I were writing a program like that, I would call it cryptoloop, so maybe cryptoloop is like that.

  36. File versioning by Alain+Williams · · Score: 3, Interesting

    I know that some don't like it, but we need the option of file system versioning, so that if/when you delete half the lines in your letter/program/... you can get them back from the previous copy on disk.

    There is an expectation that the application should do it, that means extra code in each application and they all do it slightly differently.

    OK: need an O_NOVERSION on open(2) if the app *really* doesn't want this - eg a database.

    1. Re:File versioning by benwb · · Score: 1

      http://www.rsnapshot.org

    2. Re:File versioning by prisoner-of-enigma · · Score: 3, Interesting

      I know that some don't like it, but we need the option of file system versioning, so that if/when you delete half the lines in your letter/program/... you can get them back from the previous copy on disk.

      Interestingly enough, Microsoft has implemented just that very feature in Windows Server 2003. They call it "Shadow Copy Volume" and it's accessed through a "Previous Versions Client" add-on to any file's properties. If you overwrite or delete a file on a Shadow Copy Volume-enabled network share, you can just right-click on the file, select "Properties," and go to the "Previous Versions" tab to see all the prior versions of that file. You can recover any one of them you like and save it anywhere you like. Further, the server only saves the deltas between changes, so it's very space efficient.

      This is one feature I'd *love* to see implemented on Linux. I don't think this is in Samba yet, is it?

      --
      In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
    3. Re:File versioning by Anonymous Coward · · Score: 0

      And what would stop you from using subversion? Subversion handles binary files as well as text files (unlike CVS).

      So, what's stopping you? Didn't you realize that those wonderful versioning tools can be used for things other than source code? You can put your whole damn home directory in subversion!

      Why integrate it into the filesystem?

    4. Re:File versioning by Anonymous Coward · · Score: 0

      That's what the versioning tools are for, like CVS and Subversion. Why bolt it into the filesystem?

      Now, I'd like the experation date metadata that VMS, but it's not a huge deal, just nice to have.

    5. Re:File versioning by Wicked187 · · Score: 1

      Funny you bring this up. It is a VFS module for Samba. That is, the protocol level stuff works, and is completely functional. The system for creating the "versions" is not part of Samba, nor should be. It actually is a bit more complicated than M$ or anyone else tries to explain. This technology uses Copy On Write (COW) and snapshots. Snapshots were originally created to help make tape backup more quick. You bring your system to a lower state (ie. stop database services etc), take a snapshot, then bring your system back to functional state. This takes all of about 3 seconds or so. Then you do a backup of the snapshot. Snapshots are block-level backups, and only change when blocks change. This is completely dependant on the way that any given application does it's writes to disk. If you use something that saves in binary, then all blocks are rewritten, and you disk usage increases exponentially with each snapshot. For Samba, we have looked at using LVM or EVMS. I think either would handle things as easily or better than Windows Server 2003, but it still seems scary. There is a write-up on how to use this.

      --
      Politics, Life, and More on my Aspiring for the Future
    6. Re:File versioning by dpuu · · Score: 1
      There's a difference between an implementation and an interface. IMHO, the best interface I've used to a versioning system is Clearcase (VMS is not bad, also). You talk to the versioned entities as files and directories, not as entities in a separate repository/vault. As a tool, Clearcase has many problems, but the basic approach is very user-friendly -- at least for us command-line folks. The Clearmake concept (the ability to use someone else's build-products if they have the same source versions checked out) is also nice. (I really need to look at Katie sometime)

      I don't really care what the underlying system is. Ideally, its not something I notice most of the time. I agree with you that versioning is not something I care about at the level of the disk-filesystem. But at the level of a mounted filesystem, I like my files to be versioned. Once I can "mount" my subversion client, I'll be happy. Under that, I just want something works.

      So when you say that we don't need versioning at the filesystem level, do you mean as a disk-access layer thing, or a user-mounted-thing level?

      --
      Opinions my own, statements of fact may contain errors
    7. Re:File versioning by mikefe · · Score: 1

      You can get something like this with LVM snapshots. I saw someone on the lists that has a snapshot daily, weekly, and monthly. You just need the extra space not allocated to a logical volume to hold the old snapshot COW[1] data.

      [1] Copy On Write. LVM slits your volumes into chunks and when you make a snapshot, and attempt to write to it, it copies that chunk to an unallocated chunk and writes the changes there.

      --
      There: Something at a specific location.
      Their: Owned by someone.
      Please make sure your english compiles.
    8. Re:File versioning by bit01 · · Score: 1

      Agreed. Those who haven't used VMS have no idea what they're missing. Amongst other things versioning in the file system allows:

      • Consistent, universal management of backup copies.
      • Automatic nth generation backup of files with no explicit coding in the application.
      • Power users can be configured with no previous versions and naive users can be configured with lots.
      • Automatic deletion of nth generation backups if required.
      • By default directory listings aren't cluttered with backups.
      • Easy diskspace recovery (purge filesystem of backups older than such-and-such a date).

      The filesystem can be configured to keep up to n versions on a file and directory basis with reasonable defaults.

      Downside is that the syntax can be grungy (e.g. "file.dat;5") and sometimes it's not clear what file[s] an operation should apply to. For example, when copying/deleting a file sometimes you want to copy/delete the previous versions and sometimes you don't - you have to explicitly specify it.

    9. Re:File versioning by Anonymous Coward · · Score: 0

      Amiga already used similar scheme on libraries (about the as DLLs in Windows). You could specify certain MINIMUM version or ABSOLUTE version for a file and when version didn't matter simply use zero. Of course, the downside of it all was that third party libraries changed sometimes so much that some applications only worked with certain versions of the libraries but they were rare.

      Anyway, enough ranting, this sounds like something one should implement. Off to code ->

    10. Re:File versioning by zowch · · Score: 1

      If you overwrite or delete a file...you can just right-click on the file, select "Properties," and go to the "Previous Versions" tab to see all the prior versions of that file.

      Just how exactly does one right-click on a file he or she has deleted? :)

    11. Re:File versioning by TheNetAvenger · · Score: 1

      Just how exactly does one right-click on a file he or she has deleted? :)

      Well, you right click on the folder that it was in before you deleted it. Same holds for folders of folder of folders... They can all be brought back.

      Not that hard of a concept...

    12. Re:File versioning by Anonymous Coward · · Score: 0

      Don't be so harsh on him, he uses Linux. He probably wears a "special" helment.

    13. Re:File versioning by Anonymous Coward · · Score: 0

      How about pdumpfs?
      It is plan9-like daily backup system for unix/windows.

  37. Keep it all modular, please by JBMcB · · Score: 5, Interesting

    Make the core filesystem small, robust and fast. Journalling, realtime and not much else. Make add-on modules for fancy things like ACL's, quota, compression, encryption, compatability, extended attributes, etc... Put in shims for calling attributes from a database (db or SQL or whatever)

    XFS comes close, ReiserFS 4 is nice, too. The most important thing is keeping the base filesystem simple and FAST. You think NTFS is fast? Try deleting a complete Cygwin install (>30K files) It takes AGES, even from the command prompt. I've deleted 15K files (That's 15 THOUSAND files) on Reiser 3 on the same machine, it took a few seconds.

    DO NOT make a database driven filesystem. Some day we will have a true, document based desktop paradigm (OpenDoc anyone?) but probably not for several years, until then we need SPEED.

    --
    My Other Computer Is A Data General Nova III.
    1. Re:Keep it all modular, please by zeromemory · · Score: 1

      You think NTFS is fast? Try deleting a complete Cygwin install (>30K files) It takes AGES, even from the command prompt. I've deleted 15K files (That's 15 THOUSAND files) on Reiser 3 on the same machine, it took a few seconds.

      I totally agree. I once did this using Shift-Delete and couldn't believe it was taking so long. Although, I believe a greater problem with NTFS is its tendency to get corrupted. I think most people have sees a BSOD because the filesystem couldn't be mounted.

      I don't think a modular filesystem is the solution, though. Yes, it's probably easiest to go that route, but it's also probably the least efficient, and since you seem to want to emphasize speed...

      DO NOT make a database driven filesystem...until then we need SPEED.

      The two are not mutually exclusive. In fact, they may even prove to be complementary.

      Nevertheless, I continue to use ext3. It's fast enough for me, and the important part is that there are plenty of tools around that support it, just in case something goes wrong. I value the integrity of my data much more than speed.

    2. Re:Keep it all modular, please by Anonymous Coward · · Score: 0

      > XFS comes close...
      > I've deleted 15K files (That's 15 THOUSAND files) on Reiser 3 on the same machine, it took a few seconds.

      And how long w/ XFS? Sorry to troll, but there are some things XFS does really well, and (ahem) some it doesn't do so well.

    3. Re:Keep it all modular, please by chtephan · · Score: 2, Informative

      DO NOT make a database driven filesystem. Some day we will have a true, document based desktop paradigm (OpenDoc anyone?) but probably not for several years, until then we need SPEED.

      Well, filesystems are more or less some kind of database.

      Especially the Reiser (3/4) filesystems come very close to being a database.

      The database is one big tree. You can see it as (in SQL view) like a single table, where the primary key is indexed and the actual data (the objects) can be of different types.

      These types are:

      • file contents ("blobs")
      • stat data ("inodes": rights, owners, etc... of a directory entry)
      • directory (a list of names)

      The root directory (/) has a known key, where it can be looked up. There you'll find a "directory" item. It contains a list of names, each name also has a key. Using this key you can find the stat data for that file or directory list or the actual file data.

      This data can be located anywhere in the tree, even small parts of file content (like the end of files that don't fill up a block so it would be a waste of space to store it in a full block).

      Using this approach everything becomes dynamic. And also very fast because if you have a lot of file, you can write all the data into a contiguous region on the disk and don't have to update some fixed positions on the disk.

      Now, reiser4 takes this approach to an extreme:

      • Concentrate on making tree operations very fast
      • avoid journaling (need to write twice) when possible, write everything to a new (free) location, update the pointer to that subtree later (commit!) which also invalidates the old subtree
      • don't distinguish between data and metadata, so everything becomes atomic
      • extents instead of blocks

      The clue is:

      • the core, described above, is indeed only a flexible and very fast database with atomic operations
      • the actual filesystem is completely implemented using plugins
      • a plugin for the disk storage (how the tree and extents are stored on disk, how data is organized)
      • plugins that tie the database core to the Linux filesystems, plugins like "file data", "directory listing" and "statdata"

      These default plugins make a filesystem from the database. It's just like reiserfs3 now, just faster.

      BUT: You can now add plugins if you want. Plugins to store compressed or encrypted files. Plugins to store additional metadata alongside the files. It's basically the file system of the future. Because it's extensible without changing the disk format.

    4. Re:Keep it all modular, please by G00F · · Score: 1

      One problem with Reiserfs, it has no way of dealing with bad blocks.

      Oh yea, there is a hack out that almost sorta works, except you have to spend a lot of manual time on it, and each time your system does a fsck, you have to do it all over again.

      Ever since I had a drive get some bad sectors, I have been afraid to use reiserfs.

      --
      The spirit of resistance to government is so valuable on certain occasions that I wish it to be always kept alive
    5. Re:Keep it all modular, please by wobblie · · Score: 1

      Yep. Reiser3 is fast.

      I deleted my entire home directory once in KDE with a careless flick of the thumb - it took an instant. Over a thousand files of work.

      Most of it was backed up, though.

    6. Re:Keep it all modular, please by jelle · · Score: 1

      "One problem with Reiserfs, it has no way of dealing with bad blocks."

      Hans, are you listening? Because that is the main reason why I'm not even considering using Reiserfs right now.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    7. Re:Keep it all modular, please by TheNetAvenger · · Score: 1

      NTFS is its tendency to get corrupted

      A journalled file system, and you think it corrupts easily? Have you actually used NTFS beyond installing it on one PC?

      I haven't seen NTFS corruption or a corrupted NTFS partition short of hard drive failure. Period.

      BTW, I have only worked with several thousand servers and desktops with NTFS since 1993. So maybe you are the more experienced expert on this subject.

    8. Re:Keep it all modular, please by julesh · · Score: 1

      I once did this using Shift-Delete and couldn't believe it was taking so long.

      Don't do that. Deleting large numbers of files via explorer is ridiculously wasteful -- it makes two passes over the directory structure, one to build a list of the files it needs to delete and one to delete them. This means it takes roughly twice as long to delete a large directory structure as, for instance, DEL /S.

      Although, I believe a greater problem with NTFS is its tendency to get corrupted. I think most people have sees a BSOD because the filesystem couldn't be mounted.

      No, I don't think most people have. I've been running an office here on NT4 and Win2K machines for the last 5 years, and have only seen 1 instance of FS corruption -- the file system checker came up on bootup, said it was fixing it, rebooted and it mounted fine. Entire process took about 20 minutes. I've seen one or two machines fail to boot because the _file_ NTOSKRNL.EXE has become corrupted, but that's usually down to hardware failure.

    9. Re:Keep it all modular, please by ooze · · Score: 1

      Well, there are different approaches to storing data. One is a hierarchical. That is great in letting the one looking for information browse to where he wants to and leads them to it step by step. It lets you group very different kinds of data logically belonging together in one place. It also avoids namespace pollution, since there are arbitrarily many levels of naming. The problem with those is, it is nearly impossible to avoid redundancy, even when you have a well designed an maintained hierarchy.
      The other approach is the relational. It lets you define distinct data type, group them in records and store them more or less centralized. The downgrade is, to access or manipulate the data, you either need a highly specialized application, that retrieves the data for you, or you need to know SQL or a similar language.
      So the real challenge, IMHO, is to develop an interface, that lets also the half educated user do the easy/basic stuff on an relational database. I mean everyone can (double)click on a file to open it. But managing permissions on an NTFS with Active Directory is hell. It is hell on an SQL database too, but there it is also hell to find any information without exactly knowing what you are looking for and/or exactly knwowing how to do queries.

      --
      Just because I can imagine doing a hippopotamus, doesn't mean I'd like to do it.
  38. Speed and Versioning by silas_moeckel · · Score: 2, Interesting

    OK we have all these DB things that seem more for meta data and seach realy thats a bit secondary to a filesystem. Most filesystems are access by applications for surprise surprise files with very little user files and lots of application files. While it might make snece to mount /home as some DB is a filesystem with piles of indeed and seachable data so the users can be even more clueless to where anything is. The rest of the system needs faster all around and cluster aware from my point of view. Versioning in the FS ala VMS would be a nice thing as well. Disks are the slowest thing on your average system with Gigabit ethernet moving more data than the highest performing single disk in the real world.

    --
    No sir I dont like it.
    1. Re:Speed and Versioning by B5_geek · · Score: 1

      Mod parent up!

      You sir have hit the nail squarely on the head. Built-in metadata searching? If MS does it with that stupid puppy and/or clippy everybody hates it, but as soon as *GNU* does it; praise the lord.

      Egads. Most of the computer users on the planet are dumb enough, do we really need to encourage thier stupidity?

      --
      "The price good men pay for indifference to public affairs is to be ruled by evil men." ~Plato (427-347 BC)
  39. Oops - File system? by geomon · · Score: 1

    I thought the real trick to running a search engine was the index. As a matter of fact, I thought I heard a story on NPR about Google's intent to index a whole mess of new stuff for their engine just to deep-six the competition.

    --
    "Rocky Rococo, at your cervix!"
  40. already there? by linuxgeek666 · · Score: 0

    Wasn't Reiser4 going to do what M$ promised WinFS will do in 5 years when schLonghorn comes out? Isn't it supposed to be the same thing?

  41. Next generation? by stratjakt · · Score: 5, Interesting

    Lets get the "this generation" filesystems working correctly, shall we?

    Solid, universal support for ACLs, and while we're at it, let's fix the whole user/group namespace mess Unix has with it. Let's use an SID-style id like Windows does.

    For example: my small network at home, centrally authenticated through ldap.

    Now, windows knows the difference between the user "jim" on local machine A, "jim" on machine B, and "jim" the domain user. They'd be shown as MACHINEA/jim, DOMAIN/jim, etc.. The various SIDs take the domain (or workstation) SID and append the UID. So if his number is 100, his sid is "long-domain-sid" + uid. So when you pass around sid tokens, you know exactly which jim you're talking about.

    Now in linux, we just have numbers for users and groups. If user 100 on machine A is "jim", user 100 could be "sally" on machine B. Moving that stuff to ldap becomes messy, now I have to reconcile the numbering schemes of all the machines I want to migrate. Ick. And you get all kinds of screwy stuff sharing folders, if you ls it on one machine it'll show wholly different ownerships.. Is the source of about a billlion and one nfs security holes.

    And of course, since a file can only have one permission set - owner, user, group, it sure does make for some sucky shit. The lazy among us would just run as root all the time to avoid the whole damn mess.

    I know there's a circle jerk of workarounds, patches and gotchas to avoid this, but it should never be a problem in the first place. The basic unix security model is out-of-date, and is the source of many systemic problems.

    --
    I don't need no instructions to know how to rock!!!!
    1. Re:Next generation? by pclminion · · Score: 1
      Solid, universal support for ACLs, and while we're at it, let's fix the whole user/group namespace mess Unix has with it.

      While I think this is a very good idea, the end result would certainly not be Unix. Like it or not, Unix is steeped in tradition, and part of that tradition is that divergence from the tradition is unacceptable.

      Unix without traditional UID/GID just isn't Unix anymore.

    2. Re:Next generation? by Anonymous Coward · · Score: 1, Informative

      Moderators call that post interesting? WTF!

      Where I've worked for 15 years, I solved that problem the first day at work. It's called yellow pages from Sun. I've also used it on Linux since 1995 without problem.

    3. Re:Next generation? by prisoner-of-enigma · · Score: 1

      Solid, universal support for ACLs, and while we're at it, let's fix the whole user/group namespace mess Unix has with it. Let's use an SID-style id like Windows does.

      Amen to that, brother. I am sick and tired of messing with patches and such to get nice fine-grained ACL's. Windows has had very good ACL support since NT 4.0 back in 1996...why hasn't Linux gotten around to making this a standard feature instead of an add-on?

      --
      In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
    4. Re:Next generation? by stratjakt · · Score: 1

      Yeah, it's one of the kludges, hacks and workarounds I mentioned.

      I'm talking about native support from the ground up, out of the box functionality.

      --
      I don't need no instructions to know how to rock!!!!
    5. Re:Next generation? by prisoner-of-enigma · · Score: 2, Insightful

      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?

      --
      In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
    6. Re:Next generation? by pclminion · · Score: 3, Interesting
      We are all in this make something "better," aren't we? Or is this whole OSS thing just one big echo chamber?

      No, the entire OSS community is not an echo chamber, but the kernel development community is. I've seen flamefests caused by some poor soul suggesting very minor changes to, for example, the semantics of pipes. Unix isn't just written in stone, it's laminated and stored in an evacuated nuclear-blastproof case 500 meters underground.

      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?

      Again, it is not the community as a whole which is stuck, but the kernel people. I was simply pointing out the truth, not trying to say it's a good thing. Although I think it is wise to be suspicious of radical new ideas until they have proven themselves, I think that many times ideas are rejected for purely dogmatic reasons, and that really restricts innovation.

    7. Re:Next generation? by jregel · · Score: 2, Informative

      I suspect that a lot of the differences between Windows and UNIX are due to their respective histories.

      UNIX has traditionally been about big systems with multiple users. Networks have been a standard feature for decades. In this sort of environment, you'd naturally use some network-oriented naming service, be it NIS or LDAP.

      Windows has grown from a PC background where everything is traditionally local. In a networked environment there is little need for the MACHINEA/user when there is a DOMAIN/user (some exceptions obviously exist).

      I am responsible for a network consisting of an NT domain and a number of Solaris, AIX, Linux and Unixware servers. All the *NIX boxes have the same UID/GID schema because we use NIS; not the most secure solution, but suitable for our environment. We interface those users easily with Windows (and Samba) because we only administer two sets of login credentials - NT and NIS (we could do just one using winbind, but that doesn't seem right...).

      The UNIX filesystem permissions schema is easy to understand and it works extremely well. Commercial UNIX has had access control lists for years (part of the POSIX standard), but I'm not aware of anyone who uses them in the real world. They are potentially useful, but most people find the UNIX UID/GID does the job well enough for 99% of the time.

    8. Re:Next generation? by DunbarTheInept · · Score: 2, Insightful

      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.

      --

      Don't label something "offtopic" unless you know the topic well enough to tell what's on topic.

    9. Re:Next generation? by jmulvey · · Score: 1

      If (according to you) "UNIX has traditionally been about big systems with multiple users.", while "Windows has grown from a PC background where everything is traditionally local", then perhaps you can explain why (as the parent asserts) Windows has a more scalable ACL mechanism than Unix??

      Windows does not have a Kernel limitation of 16/32 groups per user.
      Windows supports more than simply User/Group/World permission assignments.
      Windows recognizes users, groups and domains, while Unix recognizes users and groups.

      You say your environment is small, and UNIX works for 99% of your requirements. The problem is that it doesn't scale to large environments.

    10. Re:Next generation? by mattdm · · Score: 5, Interesting

      Is the source of about a billlion and one nfs security holes.

      Or rather, it is the source of the NFS security hole. But it's okay. NFS4 (or 3, even) with Kerberos totally solves this problem, much more elegantly.

      Everyone's all excited by ACLs, but I'm sceptical of their real world value. The "keep it simple" principle of security can't be emphasized enough. With ACLs, you have to really examine the access rights of a given object to figure out what's going on. With the standard Unix user/group system -- with simple directory-based inheritence -- it's completely transparent.

      And, most importantly, I've yet to see one thing worth doing with ACLs which couldn't be set up with user/group permissions instead -- and more simply.

    11. Re:Next generation? by nakaduct · · Score: 1

      He never said to store real names, and it would make no sense anyway. Instead, you could have (for example) an 80-bit UID/GID, where the high 48 bits identify the namespace that those uid/gid's come from. Old calls continue to exist, as wrappers that prepend the local system's ID to the supplied (32-bit) arguments.

      Everything in place will continue to function, in all of its broken glory, and new stuff can successfully discriminate between root on system A and root on system B.

    12. Re:Next generation? by Wesley+Felter · · Score: 1

      I've yet to see one thing worth doing with ACLs which couldn't be set up with user/group permissions instead

      A real-world example: I want to create a CVS repository which is accessible by local users Alice, Bob, and Charlie (and no one else). I can't run pserver and I can't create groups. ACLs solve the problem trivially, but I can't think of another way.

    13. Re:Next generation? by Edward+Faulkner · · Score: 2, Insightful

      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.

      --
      "The danger is not that a particular class is unfit to govern. Every class is unfit to govern." - Lord Acton
    14. Re:Next generation? by Anonymous Coward · · Score: 0

      Why can't you use groups?

      That's like saying, "But you can't use the rwx permission types"

    15. Re:Next generation? by Anonymous Coward · · Score: 1, Insightful

      Maybe he isn't root and doesn't have permission to create groups.

    16. Re:Next generation? by Anonymous Coward · · Score: 0

      Oh, sorry, didn't mean to post as AC. Maybe he isn't root.

    17. Re:Next generation? by ewn · · Score: 1
      A real-world example: I want to create a CVS repository which is accessible by local users Alice, Bob, and Charlie (and no one else). I can't run pserver and I can't create groups. ACLs solve the problem trivially, but I can't think of another way.

      That's a standard problem with a standard solution. If you use pserver, map Alice, Bob and Charlie to a common cvs user and make the repository accessible to that user only. If you don't want to use pserver: create a group cvsabc, make Alice, Bob and Charlie members of this group, then chown cvs:cvsabc and chmod 2750 the repository, and do yourself a favour: restrict access from remote machines to ext/SSH only.

      If you can't create groups, you are probably not root. That's another standard problem with a standard solution: become root. If you can't do that, you probably shouldn't do user administration anyway.

    18. Re:Next generation? by beakburke · · Score: 1

      While I generally agree with you, what if you have two different groups of people, you want one to have write and read access, and one to have write only.

      --
      ----- Question authority, but not ours. Hate the man, but we're not him.
    19. Re:Next generation? by wobblie · · Score: 1

      ACL's a only useful to me on shared network filesystems; on local filesystems they are just wasteful, not to mention they can conflict with the network share ACL's.

      Can you imagine a samba share with ACL's on the unix filesystem and on the share? Yikes.

    20. Re:Next generation? by cdwiegand · · Score: 1

      A folder that the Accounting group needs read access, the Accounting-Heads group needs read-write access, and the IS group needs ownership (all) access. Oh, and no one else can see the folder. Two groups are a classic ACL issue. Two users can be, too, if you want to assign rights and you're not root (so you can't create groups).

      --
      . Define sqrt(x) as something really evil like (x / rand()), and bury it deep. Watch your coworkers go nuts.
    21. Re:Next generation? by Malor · · Score: 5, Interesting

      Properly done, an ACL system will give you a MORE secure system, not a less secure one, because there are fewer chances for mistakes.

      In the NT 4.0 days, one of the better ways to handle permissions was the 'AGLP' standard. User A)ccounts go in G)lobal groups, G)lobal groups go in L)ocal groups, and local groups get P)ermissions.

      This allows a nice level of indirection. I implemented this standard by specifying that Global groups described groups of people, and that Local groups specified access privileges. I built Local groups on each server describing the kind of access privileges they offered. Generally, I would make four groups for each of my intended shares: Share NA (no access), Share RO, Share RW, and Share Admin. I would assign the appropriate ACLs in the filesystem, and then put Global groups from the domain into the proper Local groups. The Accounting group, for instance, might get RW on the Accounting share. Management might get RO, and the head of Accounting and the network admins would go into the Share Admin group.

      What this meant was that, once I set up a server, I *never again* had to touch filesystem permissions. Not ever. All I had to do was manipulate group membership with User Manager... with the caveat, of course, that affected users had to log off and on again for permissions to take effect. But this is also true with Unix, in many cases. (when group membership changes).

      Note that Windows 2K and XP have more advanced ways to handle this, so don't use this design in a Win2K+ network.... this is the beginnings of the right idea, but 2K added some new group concepts. Under Active Directory, this idea isn't quite right. (I'd be more specific but I have forgotten the details... I don't work much with Windows anymore.)

      ACLs are key to this setup, because I can arbitrarily specify permissions and assign those permissions to arbitrary groups.

      By comparison, User, Group, and Other are exceedingly coarse permissions, and it is very easy to make a mistake. What if someone from Human Resources needs access to a specific Accounting share, but nothing else? Under Unix, I can't just put them in the Accounting group, because that will give them access to everything under that Group permission. I'd probably have to make a new group, and put everyone from Accounting and the one person from HR into that, and then put the special shared files into a specific directory, and make sure the directory is set group suid. That is a lot of steps. Everything is always done in a hurry in IT, and lots of steps are a great way to make mistakes. Messing up just one can result in security compromise.

      In my group-based ACL system, I'd still have to make a custom group, perhaps "HR People With Access to Accounting Share". But I'd only have to touch one user account, the HR person's, and wouldn't have to disrupt Accounting's normal workflow at all, or touch any filesystem permissions.

      Instead of a whole series of steps, any one of which can be done wrong, I have only three: Create new Global group, put HR person in new Global group, put Global group in the correct Local group. All done. Hard to screw this up too badly.

      Now, I'll be the first to admit that a badly-implemented ACL setup is a complete nightmare. But a clean, well-thought-out ACL system, in a complex environment, is virtually always superior to standard Unix permissions.

    22. Re:Next generation? by cdwiegand · · Score: 1

      Yeah, I can. Windows does this (the share has overriding ACL, and then the filesystem can have one, the more restictive wins). This is nice for having a mirrored directory that is read only, but the FS ACLs are still there, because the share is set read only, which in fact is now W2K3's default for new shares. Or you can set the share read-write, but not allow administration of ACLs on it (for clueless users).

      --
      . Define sqrt(x) as something really evil like (x / rand()), and bury it deep. Watch your coworkers go nuts.
    23. Re:Next generation? by Dwonis · · Score: 1

      Which is something that could be solved trivially with a suid program that allows users to create and own groups. This would be *far* less bug-prone than ACLs.

    24. Re:Next generation? by Wesley+Felter · · Score: 1

      Thanks; that's actually a useful suggestion.

    25. Re:Next generation? by firewrought · · Score: 1
      The basic unix security model is out-of-date, and is the source of many systemic problems.

      Yes and no. For my home network, the unix security model is all I need. By contrast, my company has several thousand employees all accessing the same shared file system; I suspect that ACL's are absolutely critical in this environment.

      The difference is that, on my home system, permissions are easy to apply and verify. At work, it's pretty difficult to know that things have been done right. Part of the problem is that Windows forces you to do it through the GUI, and their particular GUI for this is not as good as it could be. The main reason, however, is that ACL's are more difficult to reason about to begin with. This is a standard trade-off in computer science: increased complexity in your data model allows more local reasoning but less global reasoning.

      That said, I hope that Linux finds a standard way of doing both traditional security and ACL security on future file systems. I just hope they avoid hair-splitting like Windows, which has seperate permissions for "write file", "write file properties", "write file extended properties", and "delete file".

      I'd point out a similar issue with SID's... it's great that the model is so straightforward on Linux, but that does have drawbacks in the network environment.

      --
      -1, Too Many Layers Of Abstraction
    26. Re:Next generation? by Dwonis · · Score: 1

      Sure, no problem, as long as you don't try to get it patented. That would make me ve-ry an-gry.

    27. Re:Next generation? by Ath · · Score: 1
      Sorry, but distinguishing a user based on a unique identifier from a machine is just plain stupid. The Windows method is total crap and also quite annoying.

      If you are Jim, what the hell difference does it make if you are on machine A or B? You are Jim. Be Jim. If you are a different Jim than that other Jim, then you should be distinguished appropriately. However, definitely not by your machine ID.

      Novell actually got this right in 1993 with NDS/eDirectory. LDAP works the same way. You can identify any number of different types of objects (users, machines, whole contexts) and then assign appropriate ACLs based on those object types.

      I'm not gonna defend the *nix method either, because I think it is crap too. But to say the MS way is an improvement is a stretch beyond comprehension.

      I suspect that, with add-ons, you can probably do this on both Windows and *nix systems but it should be native in my opinion. In fact, LDAP-based administration for both user access and file ACLs is hands down the only decent way to do it.

    28. Re:Next generation? by dfghjk · · Score: 1

      "If you are Jim, what the hell difference does it make if you are on machine A or B?"

      Because there is more than one "Jim". It may not matter to you but it sure as hell matters to the machines and to the network.

      There is no way to prevent admins with local and network admin rights from creating accounts with the same name and it makes no sense to assume that such accounts are intended for the same user. Associating the account name with the scope makes perfect sense.

      Of course, the UNIX solution is to "hope" that the ID's themselves are consistently assigned since there's only global scope. Talking about "total crap" and "quite annoying".

    29. Re:Next generation? by Ath · · Score: 1
      You need to get out of your flatland. Maybe I am Jim on machine A one day and a different Jim on machine A the next day. In your world, I am the same Jim.

      You need to move away from this flat mentality that both Windows and *nix try to force on you. Although both platforms support authentication to alternative sources like an LDAP directory, neither one fully supports the use of the object-oriented structure of such a directory on the filesystem ACLs. Only Novell with Netware truly supports it.

      In the LDAP world, you can have more than one Jim. And you can even have more than one Jim in the same context now. You distinguish them in ways other than a machine identified or even just the name of the object. The object type should be irrelevant. A user, machine, context, or even a folder (in a machine-to-machine communication) should be able to be used when setting the ACL.

      I never defended *nix's native method versus the Windows method. I simply pointed out that they are both crap. At least *nix can defend its native method because it is a 30+ year old design. Microsoft has no such defense. Their method is just a crappy holdover from the LAN Manager days.

    30. Re:Next generation? by pclminion · · Score: 2, Interesting
      I, for one, would flame someone who suggested changing the semantics of pipes. Well-defined interfaces are the heart of reliable software.

      I fully agree, but I'd hesitate to call pipes a "well defined" interface. POSIX attempts to standardize semantics, but there are still mismatches between Unix-like platforms.

      The changes this fellow was proposing (don't remember the details, too long ago) were on the same order as the typical differences in semantics between platforms. In other words, I think there's a region of reasonable wiggle-room but the majority of kernel developers seem intolerant of even these small divergences from the status quo.

      In addition, people have a tendency to reject new features even if they do not conflict with traditional features. For example, look at the discussions on the kernel list back when futexes were being discussed.

      Incidentally, I came up with a nearly identical idea about a year earlier, but I called it "user wait queues." Threads could block on a queue and be woken by other threads. However, my mechanism for waiting on a queue involved a new system call, whereas futex waits are implemented (I think) by using an ioctl to bind the futex to a fd, and then select()'ing on the fd. I did not submit my idea to the kernel people precisely because I felt it would be rejected as "not Unix enough." Usings fds and select() is traditional, but a syscall would be more efficient, IMHO.

      It's that sort of conservatism that I'm talking about, not the perfectly reasonable effort to preserve interfaces.

    31. Re:Next generation? by DunbarTheInept · · Score: 1

      Application programs can be slowly migrated to a new philosophy like that (for example, an Xlib program, an Athena program, and a Qt program, and a GTK program can all execute on the same X server at the same time.) But that is not true for security. It doesn't work to have SOME of the programs on the system that want to differentiate root-on-A and root-on-B while other programs don't want to. Upgrading only half the security model is like trying to upgrade half the kernel.

      --

      Don't label something "offtopic" unless you know the topic well enough to tell what's on topic.

    32. Re:Next generation? by cascadefx · · Score: 1

      I thinkn this is the sane and complete answer.

      If all users are valid users to the system, then either create the group or contact the admin to create the group for you.

      Barring that, you shouldn't be doing it.

  42. Networked GlobalFS by WindBourne · · Score: 1

    While I think that Reiser will go far, I suspect that the next real inovation will occur in a distributed FS with redunancy.

    --
    I prefer the "u" in honour as it seems to be missing these days.
    1. Re:Networked GlobalFS by mikefe · · Score: 1

      You will have that If you use one of the indexers from this[1] post on top of AFS.

      [1]
      http://linux.slashdot.org/comments.pl?sid=1 16038&c id=9824114

      --
      There: Something at a specific location.
      Their: Owned by someone.
      Please make sure your english compiles.
  43. It already exists: EXT3 by beee · · Score: 1

    Honestly, EXT3 is leaps and bounds ahead of anything coming out of Microsoft or Apple these days. Journaling, extensive disk cluster customization, bit handling that's yet to be equaled... it's got it all. With continued development of EXT3 its popularity will only grow, and if the community can focus its efforts properly, it will be the choice this author is looking for.

    --


    + Donald Gunth
    + Email: dgunth@quicktek.net
    "Caffeine is the greatest lubricant ever created." -ESR
  44. Why????? by Libor+Vanek · · Score: 2, Informative

    Can somebody explain me WHY should we put things like database, indexing/previewing etc. into the filesystem => KERNEL SPACE!!!! What advantage does it bring?

    Any good (XFS, JFS, ext3) filesystem now has nice feature called Extended Attributes which is intented for STORING such a data (like previews etc.). And using user-space server it's much more easier to add plug-ins for various file-formats, "search" plugins etc.

    1. Re:Why????? by nester · · Score: 1

      all the complexity has me worried, too. i'm beginning to wish linux was a microkernel (a good one, like l4). i don't want an entire db in the damn kernel. a high performance, reliable, flat fs, is all i want and need.

    2. Re:Why????? by Sloppy · · Score: 1
      Aha, Tanenbaum was right! Your realproblem is that the filesystem is in kernel space.

      Ahh, that ought to fan the flames a bit... ;-)

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    3. Re:Why????? by budgenator · · Score: 1

      What advantage does it bring?

      it will allow linux to have the one thing that MS OSes have that it doesn't, the ability of a poorly writen user space program to crash the system

      --
      Apocalypse Cancelled, Sorry, No Ticket Refunds
    4. Re:Why????? by otis+wildflower · · Score: 1

      it will allow linux to have the one thing that MS OSes have that it doesn't, the ability of a poorly writen user space program to crash the system

      Do NFS hangs count?

    5. Re:Why????? by Libor+Vanek · · Score: 1

      Heh :-) I think that XFS is everything you need (incl. ACLs, EAs, guaranteed I/O rate, quatas and it has got 6.5 MB (in 2.6 kernel)...

    6. Re:Why????? by mre5565 · · Score: 1

      > Do NFS hangs count?

      Would you rather your apps got an error when
      the connection broke, or would you rather
      the NFS client kept trying?

  45. loopback encrypts any file system by davidwr · · Score: 1

    Using the loopback driver's encryption options, you can encrypt any file system - be it ext2, rieserfs, or even vfat.

    Heck, you can even encrypt ntfs :).

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  46. In a nutsheel by Sepper · · Score: 2, Interesting

    It keep a journal file of last modifications
    (ie "Replacing node 37827 with node 5279867....replaced")
    One the modification is done, it erases the entry.

    After a crash, the system only need to look in the journal file to know which file 'might' be corrupted and restore the old version of each...

    At least, that's how I understand it...

    --
    I live in Soviet Canuckistan you insensitive clod!
  47. Beh by Lisandro · · Score: 1

    I'm not moving away from EXT3 any time soon. I have tried other filesystems (including Reiser and XFS), but nothing can touch the rock solid stability of EXT. I don't mind if it's a tad slower, i can sleep easily knowing my data won't disappear overnight unless a lighning hits the HD. Directly.

  48. To many options by leperkuhn · · Score: 1

    I suppose one benefit of a closed source / company controled system is that they get to choose one file system and stick with it for a while. Linux on the other hand has several to choose from.

    I remember my first linux install, I didn't really know anything at all about it. when it came time to choose my file system, i was like, huh?

    Seriously, if something like this is going to happen, there will have to be a mutual cooperation between the linux distros. Either that or a DB style file system will be so compelling that everyone will rush to use it, and a Darwin style evolution will take place :)

    --
    http://www.rustyrazorblade.com
  49. Re:Next premise, please by nester · · Score: 1

    both hfs+ and ntfs are both journaled. ntfs has been for a while.

  50. that makes no sense by Anonymous Coward · · Score: 0

    lets look at history. BeOS has a db-like filesystem, but it wasn't compelling enough for people to switch. Just because MS is make their file system db-like, doesn't mean it is a good idea. Keeping the file system focused on the basic tasks and doing them efficiently and reliably should be the goal. Adding a bunch of marketure to the file system sounds like running around in circles.

  51. why not improved ramdisk? by Keruo · · Score: 1, Interesting

    Since new systems now are running with +1gig memory and with 64-bit systems over 4gig memory is possible,
    why not run the entire operating system in ram instead of hd and just write differential changes in ramrootfs to disk.
    It would probably slightly slow down booting, but that could be avoided by loading software to memory as needed

    --
    There are no atheists when recovering from tape backup.
    1. Re:why not improved ramdisk? by Jeff+Mahoney · · Score: 4, Informative

      If you load everything on the filesystem to memory on boot, you end up wasting a lot of memory, since you typically use only a very small subset of your filesystem at any given time.

      The solution would be to load things "on demand," as you've suggested.

      Linux already does this, and it does more.

      If you've ever looked at the output of free(1) after your system has been running for an hour or so, it will appear as if almost all your memory is in use. See those last two columns, "buffers" and "cached"? That's your "on-demand ramdisk" at work.

      Linux will use memory that applications aren't using to cache filesystem data (including executables and metadata) to speed future accesses. If your applications need more memory than is currently free, the kernel will drop cached data rather than swap out application memory to disk. That way, you get the benefits of having your executables on a ramdisk, with the flexibility of not having to sacrifice running application performance in the process.

    2. Re:why not improved ramdisk? by Graelin · · Score: 1

      but that could be avoided by loading software to memory as needed

      ...like a disk cache?
      </sarcasim>

      That is the crux of the argument. You issue 'ls' a lot on a Unix server. But you don't use 'dd' all too often. So why allocate a ramdisk to store 'dd' when you don't really need it? The Linux kernel knows you hit /bin/ls a lot and sticks it in ram to make it faster. No ramdisk needed.

      On the flip side, ramdisks ensure that whatever you want WILL be in RAM. So maybe temporary data files should go on a ramdisk. /tmp anyone?

    3. Re:why not improved ramdisk? by Anonymous Coward · · Score: 0

      > Since new systems now are running with +1gig memory and with 64-bit systems over 4gig...

      Well gee sonny, us real computer people have had this since 19fucking97 or so....... But since you just figer'ed out the game platform you use has this capability, it might be worth noting what you suggest is (and was 7 years) an incredeble waste of resources for what really needs to be done.......

    4. Re:why not improved ramdisk? by Anonymous Coward · · Score: 0
      "/tmp anyone?"
      mount tmpfs /tmp -t tmpfs
      Done.

    5. Re:why not improved ramdisk? by swillden · · Score: 1

      If your applications need more memory than is currently free, the kernel will drop cached data rather than swap out application memory to disk.

      Not completely true, because Linux (and, to be fair, any decent operating system) tries to be smarter than that. On a typical system there is some application memory that was allocated by some program that is running in the background but hardly ever actually does anything. If Linux did exactly what you said, it would keep this rarely-useful data in memory while discarding cached data that just may be needed in a few seconds. Instead, Linux will choose to swap out application data that hasn't been used for a long time in order to make room for new demands without discarding cached data that is being accessed frequently.

      This is why, contrary to a common opinion, it is more efficient to run with swap space enabled even when you have plenty of RAM to hold all of your applications and their working store. Running a swapless system guarantees that you'll never have to wait for application data to be swapped in at the expense of having to wait for on-disk data to be re-read after being discarded. Of course, a system with swap will make mistakes occasionally, too, because doing a perfect job requires predicting the future. On average, though, giving the OS some swap and letting it balance swap vs. cache is more efficient.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  52. Re:Next premise, please by Anonymous Coward · · Score: 0

    NTFS is journalled. I'm not sure of the extent or design of its journalling, but it does have it. For some anecdotal evidence, I've never lost data from non-graceful shutdowns on NTFS, ext3, Reiser, or XFS. I have lost data of FAT32 and ext2 before though. I have no clue about HFS+ (MacOS), but I bet it is journalled too.

  53. Um, Reiser anyone? by kwelndar · · Score: 2, Informative

    Anyone? ... Bueller?

    But seriously, even though he mentions Reiser, he doesn't seem to consider it's future direction, which is to allow varying degrees of structure, that could include attributes, as the user sees fit. At least that's how I understand it.

  54. NTFS and newest HFS+ are journaled by davidwr · · Score: 1

    NTFS is journaled and has been for a long time, I think back to NT4 or earlier, but for sure Windows 2000.

    Apple's HFS+ has been journaled since at least MacOS 10.3 if not 10.2.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
    1. Re:NTFS and newest HFS+ are journaled by TheNetAvenger · · Score: 1

      NTFS is journaled and has been for a long time, I think back to NT4 or earlier, but for sure Windows 2000.

      NTFS has always been journaled, back to when it was created in 1992, even in the Alpha builds before NT was even in Beta...

      Apple's HFS+ has been journaled since at least MacOS 10.3 if not 10.2.
      I believe OSX has always had journalling, but it was not turned on in early releases because it was a major performance bottleneck. (Which is strange, when MS and NTFS were doing journalling with little to no performance loss on 486 systems in 1993.)

  55. It's not in the file system by Anonymous Coward · · Score: 0

    > to keep pace with Microsoft and Apple

    AFAIK, the only things needed to get a feature like Spotlight are:
    - good indexing methods
    - a way to detect filesystem changes without polling

    Mac OS 9 already had #1, Mac OS X has #2, but it is not used yet.

    Apart from that, it will be a lot of hard work to get things working smoothly, esp. in a multi-user system where removable volumes are not exceptions (where do you store your indexes? How do you prevent user x from learning about user's y's files through the search engine?)

  56. How is that relevant? by kingLatency · · Score: 1

    It doesn't matter who made it. It matters that it's in the product that Apple is presenting to the consumer. Just like it doesn't matter than ReiserFS was made outside of the Linux dev community if that's what filesystem I get when I install SuSE Linux.

    --
    "I've got to stop masturbating! It makes me too lazy! Stop it, Albert. Stop it." -- Albert Einstein
  57. OpenVMS by Anonymous Coward · · Score: 1, Insightful

    This has been a core feature of OpenVMS for a long time.

    1. Re:OpenVMS by boskone · · Score: 1

      Anyone know enough about each system to say how this relates to Volume Shadow Copy Service in Windows Server 2003? http://www.microsoft.com/windowsserversystem/stora ge/technologies/vss/default.mspx

    2. Re:OpenVMS by afidel · · Score: 1

      Volume Shadow Copy is a snapshotting technology, NOT an automatic versioning technolgy such as found in VMS. It's very cool but if you want to see it done right you have to look at a NetApp Filer, MS's implementation only allows you to keep the last x snapshots, NetApp's allows you to keep them based of date and time based rules.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  58. Cairo? by Roadkills-R-Us · · Score: 0

    Anybody remember Cairo?

    Hmmmm. I seem to remember that name. Yes, yeah. Killer OS from Microsoft. The Next Big Thing. The Mother of All OSes.

    So how come all I can remember is the name? I can't seem to recall the OS at all.

    Must have been the first OS to do such a good job you didn't evn notice it. Yeah, that must be it!

  59. Re:Next premise, please by Kirby-meister · · Score: 1

    HFS+ is journaled, and NTFS has sort-of journaling:
    Read about it here...

  60. dtrace by DarkMan · · Score: 4, Informative

    dtrace, due with Solaris 10 does that. So it's not quite a top equivelent, but it does laet you answear your questions ("What processes are kicking the shit out of the disk", and "By how much"), and long with the also useful "In what way" i.e. many small writes, hugh seek to read ratio, or what have you.

    It is, however, expert driven, unlike top, which is simple to use. Still, I think that dtrace shows the furture of performance monitoring apps.

    Note that dtrace lives partially in the kernel - it's not portable to Linux.

  61. Re:Next premise, please by Jeff+Mahoney · · Score: 2, Informative

    Actually, both have journaling filesystems.

    hfs+ supports a journal (starting with macos 10.2.2 server and 10.3 panther), and ntfs5 supports a journal (starting with win2k)

  62. Do we all have to make the same mistakes? by dekeji · · Score: 3, Interesting

    All indications are that Linux, Windows, and Mac OS are moving in a common direction with filesystem innovation

    Whether or not it is useful, one thing is clear: this sort of thing is not "innovation". Databases as file systems have been around for decades, as has the question of file system metadata. The UNIX choices in this area are by design, not by an accident of history, and the motivations behind those choices are as valid today as they were several decades ago.

    Linux is a ways yet from having a fully attributed, database-driven, journaling filesystem. The direction of future development looks promising, though. Linux will certainly compete as the search wars come to the desktop. Linux's value to the enterprise depends on it.

    There are two things one needs to keep apart: what functionality do we want to support and how do we want to support it. Search clearly is important. Metadata clearly is important. However, whether a "fully attributed, database-driven, journaling filesystem" is the best way of implementing those features is an open question. There are many possible alternative designs.

    And, in fact, it seems right now as if Microsoft is, in fact, not building what the author seems to think they are building, but is choosing an implementation strategy that combines a more traditional file system with user-level databases.

    1. Re:Do we all have to make the same mistakes? by mcc · · Score: 1

      The way I see it, there's two kinds of innovation. Innovation of invention and innovation of implementation.

      The first one involves coming up with an idea, and showing, "hey look, this works!", maybe in a lab or in an academic paper or something.

      The latter involves showing it's something you can actually do useful stuff with, and ideally something you can put in a box and sell.

      We had GUI systems of various sorts for about ten years when the Macintosh was released, but the technology was hardly proven either as something people would want to use or as something you could make money off of. If your system isn't the first of its kind, but it's the first of its kind designed to actually be put into practice or use, then that takes almost as much, if not more, courage than being the one to build that first prototype would have.

    2. Re:Do we all have to make the same mistakes? by dekeji · · Score: 1

      People have done both sorts of things with database and metadata file systems: there have been entire product lines built around it.

      We had GUI systems of various sorts for about ten years when the Macintosh was released, but the technology was hardly proven either as something people would want to use or as something you could make money off of.

      That's not true: there were commercial GUI products before Macintosh, but they were expensive--properly engineering such a system just is expensive.

      What Apple did was cut a lot of corners and hit the market just when hardware reached the right price/performance ratio to support GUIs. That was good business sense, but it wasn't "innovation".

    3. Re:Do we all have to make the same mistakes? by agmsmith · · Score: 1

      The UNIX choices in this area are by design, not by an accident of history, and the motivations behind those choices are as valid today as they were several decades ago.

      Is that still true? Disk storage sizes and speed have increased tremendously since the 1970s. Maybe we can now afford the extra storage space and time for database-like features (attributes with an index and query system). Or even simple things like doubly-linked file system nodes where each file knows what directory it is in.

      Admittedly BeOS's BFS is slower than other file systems, such as when deleting files with lots of indexed attributes (it has to remove entries from the indices as well as the usual file operations). But it sure is nice to use from the user point of view. For example a window (looks like a GUI directory display window with the usual file icons) showing the results of a query (such as all e-mail type files with a subject containing some pattern) updates in real time, as messages come in or are deleted or otherwise changed.

      Now that drives are faster, and algorithms for storage have improved (journalling and wandering logs), maybe it's time to add a bit of functionality and make things easier for the user, and programmer.

      - Alex

  63. questionable statement by Anonymous Coward · · Score: 0
    This will improve speed and stability, and also greatly facilitate search capability.

    I fail to see how bloating the file system would make it faster, more stable or inherently easier to search. The only way a database file system would be able to speed up search, is to index the files. That means when you save the file, it has to index the file and update the index. For large word documents, how is that suppose to be faster and more reliable? If anything, it could require 2x the amount of space to save the same file in NTFS. Those buying a new machine wouldn't care, but those with older hardware would have serious issues.

    that makes me question the value of longhorn. If all I do is check email and surf the web, why the hell should I have to buy a new pentium4 4ghz and fork over 1K? that doesn't sound like progress to me. But it does sound like silly marketing hype.

  64. I have declared by twistedcubic · · Score: 0, Offtopic

    that 3 years from now, the next version of Linux will wash my clothes, write my reports for me, and wipe my ass, all while I'm asleep. This will all happen three years from now. Well, maybe four years from now, depending on when I can coordinate release dates with the distributors. Windows and Mac have some SERIOUS catching up to do!

    1. Re:I have declared by jelle · · Score: 1

      "that 3 years from now, the next version of Linux will wash my clothes, write my reports for me, and wipe my ass, all while I'm asleep."

      That last thing can already be taken care of, now, before this week is over: For "only" about $900! and the Japanese already were using it before Linux (or Windows or MacOS for that matter) even existed, so I don't think it uses Linux...

      But think about it, it's a machine that not only wipes your ass, but also keeps those ugly skid-tracks out of your underwear! No, I don't work for these guys (imagine working for an actual butt-wipe company), but ever since I got to use one for a couple of days, I know the Toto Washlet on my wishlist!

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
  65. ReiserFS corruption by nuggz · · Score: 1

    I had corruption with Reiserfs.
    Yes I have cheap memory, yes I have an AMD cpu.

    But I know I can't trust Reiserfs on my computer.
    File corruption is one of the most unacceptable errors a user can deal with.

    I think the most frustrating part is I don't even know of a way to prove out my hardware so this won't happen in the future.

    1. Re:ReiserFS corruption by DAldredge · · Score: 1

      Well, you could try buying good hardware to replace what you think is bad.

    2. Re:ReiserFS corruption by IamTheRealMike · · Score: 2, Interesting

      The explanation I heard was that there were a lot of bugs in the early 2.4 kernels that ReiserFS exposed and other filing systems didn't due to the way it worked internally. Whether it's finger pointing or not doesn't really matter - people are saying "I can't trust ReiserFS" but what makes you think you can trust the kernel team absolutely either?

    3. Re:ReiserFS corruption by Anonymous Coward · · Score: 0

      Yes I have cheap memory

      In other words, you don't have ECC ram and therefore don't care about memory corruption.

      File corruption is one of the most unacceptable errors a user can deal with.

      Garbage in garbage out...

  66. Keep Pace!?! by ACNiel · · Score: 1

    Why must some one elses change precipitate a change everywhere?

    The wheel is still pretty damn good. Some people might have added rubber, or made is swivel, but the wheel is unchanged.

    If the argument is that it is lacking, then I might understand. And when I say lacking, I mean, if I look at the FS by itself, not looking at its neighbors, and am wanting more.

    When I say lacking, I do not mean that when compared to some other FS, it doesn't have as many bells and whistles.

    Both sides accuse the other of playing catch up. Well don't play catch up, and no one can make that complaint. If an option is truly lacking, then the option will become an obvious solution to the problem space.

  67. One key important thing is STILL being missed! by Anonymous Coward · · Score: 0

    All of the current filesystems STILL have overlooked the absolutely miserable approach to filesystem recovery via lost+found. Yes, I know, journals are supposed to help avoid that. Sorry, but it just isn't true. Absolutely nobody considers what happens when you lose the journal as well.

    This is critical as we move more commonly beyond the Terabyte limit.

    I deal with Terabyte systems all the time, and let me tell you the utter disaster which happens when you have filesystem damage, AND you lose the journal (yes, is is rare - but yes, this does happen). In a nutshell, you can end up with so many files that all normal Linux utilities start to break down. tar, find, ls, etc. None are designed for this type of scenario. Stick 12 Million files and directories into /lost+found and see this for yourself.

    Unfortunately we're still dealing with the same approach to lost+found as was used nearly 30 years ago: stick everything in there using very limited organization. What is needed is some simple method for separating things out.

    Sadly though, I expect this issue to continue to be ignored, and the importance of it realized only when more people start gaining experience with real live multi-terabyte filesystems, and end up losing their journal. Only then will the problem of this antique approach become apparant.

  68. Re:Next premise, please by sql*kitten · · Score: 5, Informative

    And neither of whom have a journaled filesystem yet, while Linux has many to choose from.

    What are you talking about? NTFS has had journalling for over a decade. And Unicode. And ACLs. And streams. And reparse points (these are amazingly cool). And compression. And encryption. And ... you get the point.

    Now, MS doesn't use most of this good stuff, but it's all in there. Even three-letter file extensions on Windows are obsolete, since everything on NTFS can be an OLE server. There's nothing on Linux that comes close to the capabilities of NTFS. About the only major thing NTFS is missing is versionning, which VMS has.

  69. Indestructable is the killer app by Anonymous Coward · · Score: 3, Interesting

    I've gone well past the point where my data is worth more than the total cost of a new computer, and I don't want to lose it to a HD or computer failure. I'm particularly concerned that we are digitizing our family photos and that they could poof one day. So for me the killer application for a filesytem is 100% reliability. Ideally I'd just run some sort of transparent distributed raid thing and it would just automatically copy everything to one or more of my computers. That way when one crashed I could just plug in another one and be on my way.

    The relational database filesystem seems like a big boondoggle to me. We already have several free RDB products (Postgress, MYSQL, etc.) as well as stable programming interfaces to those products in numerous languages. We also have good support for small files (Reiser3 already), and we support hard links. It looks like most of that could be tried out in userland too see how well it worked without any changes to the underlying filesystems.

    I'm not a fan of metadata. The WWW has shown that having extra content about the contents of your content simply does not work very well. The metadata is redundant information and is thus prone to many syncronization problems with the original data that cause it to be invalid. There is a reason that we all search the web via GOOGLE instead of some metadata scheme.

    Michael

    1. Re:Indestructable is the killer app by ron_ivi · · Score: 3, Informative
      I've gone well past the point where my data is worth more than the total cost of a new computer, and I don't want to lose it to a HD or computer failure. I'm particularly concerned that we are digitizing our family photos and that they could poof one day.

      Offsite backups are your friend. No matter what your filesystem's software, or the coolness of your raid array, or your battery-backed redo-logs; if a fire or a burglar takes your disks holding your filesystem you're hozed.

      Personally, instead of a raid, I do a nightly "rsync" to a "yesterday" drive on a separate server (hense protecting myself from stupid-user failures as well as filesystem/disk failures); a "every time I did something significant" rsync to an encrypted filesystem removable drive kept in my car; and a "once in a blue moon" copy to DVDs in a safe.

      An added benefit - upgrading an OS, or a computer is trivial, because the live backups are just that - live, and tested every night.

      (Back to the filesystem topic, Reiser's whole naming idea is so much cooler than a heirarchy or a relational system I really hope this is the next big advance for Linux).

    2. Re:Indestructable is the killer app by Feyr · · Score: 1

      something for you: DRBD

      http://www.drbd.org/

      it's a replicating block device over the network. pretty handy if you ask me :) i'm looking at using it for a HA cluster

    3. Re:Indestructable is the killer app by Anonymous Coward · · Score: 1, Insightful

      Data that has not been backed up in a secure location should for all practical purposes be considered deleted.

    4. Re:Indestructable is the killer app by Anonymous Coward · · Score: 0

      So is Dick Cheney the only with data?

    5. Re:Indestructable is the killer app by Anonymous Coward · · Score: 0

      you're hozed

      "hosed".

      hense protecting myself

      "hence".

    6. Re:Indestructable is the killer app by Anonymous Coward · · Score: 0

      thanks.

  70. Remember Cairo? by Anonymous Coward · · Score: 0

    No, and I don't recall Bob either.

    Thank You Electroshock Treatments.

  71. Google by Iberian · · Score: 1

    Everyone should store their data on Gmail accounts and then use google to find what you need, while letting corporations know what we are searching for so they can send us emails!!

  72. been there, had that by prgrmr · · Score: 2, Informative

    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?"

    The seamless filesystem-in-a-database was created in the Multi-Valued DB structure in the mid-60's and release as the the Pick OS. It is still sold by Raining Data and runs on Windows, Unix, and Linux.

  73. The Revenge of Be by DarthBobo · · Score: 1

    Frankly, much of this is re-inventing the wheel. The issue isn't so much journaling or other standard features - its making the file-system more accesible for both end users and application programmers.

    The filesystem in BeOS made many applications virtually obsolete. Managing MP3s, photos - even email was trivial using its standard file manager. Any mime-type could be assigned a set of default attributes which were then indexed (in real time) and could be searched on.

    Searches could be saved and were updated in real time - thus the same search for any mail from a collegue over the past 5 years that might take minutes in Outlook, was instanteous merely using Be's file browser.

    If the open source movement wants to look forward, it should look beyond MS and Apple to the real innovators (the once that get crushed by Microsoft before ever becoming a threat.)

    --
    +--------------------- You idiot! I told you we were facing the wrong way!
  74. What does all this mean, real world-wise? by analog_line · · Score: 1

    I mean I've heard about this filesystem-is-a-database concept, that it's supposed to be revolutionary and do all these supposedly nifty things, except I don't really know what those nifty things are, or any concrete reasons why adding a database to a filesystem makes it any better. My gut reaction would be that adding something like this on top of what a filesystem normally does would slow things down more than speed them up.

    Anyone willing to take a stab at enightening me here?

  75. Re:MOD'd Troll???? by xsbellx · · Score: 2, Funny

    Funny but I don't remember having to surrender my sense of humour to be able to moderate. Is this a new requirement?

    --
    If VISTA is the answer, you didn't understand the question
  76. IS DER FILESYSTEM JOURNALED? by Anonymous Coward · · Score: 0

    HEIL REISER!

  77. ext3 in Windows? by Anonymous Coward · · Score: 0

    Maybe it's a stupid question, but... What happens if I put a HD formatted in ext3 into a windows system? Will windows recognize it, or no?

    (The reason I ask is because I would like to migrate one of my older storage drives into my windows machine, and throw a new bigger drive into the linux server...)

    Thanks!

    1. Re:ext3 in Windows? by Lisandro · · Score: 1

      You can access EXT3 partitions via some utilites in Windows; through it's not suported directly.
      Try a search on http://www.download.com/ ; there were a few there but i can't recall their names.

    2. Re:ext3 in Windows? by Anonymous Coward · · Score: 0

      Thanks for the reply, I appreciate it! Maybe not an ideal solution, but it could work.

      Alternatively, I've searched before with no luck (and will search again after I type this), but does anyone out there know if there are utilities to convert ext3 to fat32?

  78. NFS4 is not supported in Windows by Anonymous Coward · · Score: 0

    AFS has the advantage over NFS4 on this point alone.

    No network filesystem is any good if it doesn't run on a variety of platforms and is easy to use. The popularity of Samba has shown this.

    1. Re:NFS4 is not supported in Windows by jlrobins_uncc · · Score: 1

      Both Novell and Hummingbird (aka NFS Maestro for Windows) are players in the NFSv4 working group, as is Network Appliance. NFSv4 ACLs are pretty much NTFS ACLS, not POSIX. The preamble of the NFSv4 spec announce that one of the reasons it exists is to better incorporate Windows clients and servers.

      Stop spreading FUD. NFSv4 is our best hope for non-sucky network file systems, since AFS suffers from sole-vendor-ism, as well as having to bite off too much in one chunk (as in EJB coders having to 'swallow the whole elephant').

      I used to be a die-hard AFS user, but now have gone laptop and CVS replaces my need for network filesystems. Disconnected activity done right!

      But this whole thread is immaterial relative to the topic at hand. Network protocols != on-the-disk filesystem implementations.

    2. Re:NFS4 is not supported in Windows by runderwo · · Score: 1
      AFS suffers from sole-vendor-ism
      Elaborate. AFAIK, nobody is selling supported AFS implementations at the moment. The OpenAFS and Arla projects are free for anyone to contribute to, and there is even a stripped down AFS implementation provided by Red Hat.
      I used to be a die-hard AFS user, but now have gone laptop and CVS replaces my need for network filesystems.
      Guess what? Other people have different needs in a network filesystem besides using it as a text file repository. AFS's global namespace and the control it gives individual administrators over sections of that namespace is one of its most useful characteristic (besides caching, security, and compatibility with existing implementations, of which NFSv4 has finally added the first two at the expense of the latter).

    3. Re:NFS4 is not supported in Windows by mre5565 · · Score: 1

      > Hummingbird (aka NFS Maestro for Windows) are
      > players in the NFSv4 working group

      Maestro with NFSv4 support has been available
      for two years.

    4. Re:NFS4 is not supported in Windows by dAzED1 · · Score: 1

      I realize that; my point was that we have more of a need to work on network filesystems than we do to work on local filesystems. Reiserfs et al. are just fine. MS isn't putting out some new thing there that's going to blow everything away.

  79. Options are stupid by wsanders · · Score: 1

    File system options are stupid. I hate options. In past jobs I have spent much of my time fixing other sysadmin's misconfigured filesystem options.

    In each successive iteration of NFS and Sun's UFS, the two filesystems I've used consistently for over 10 years, there has been less and less need to F.W. options to get things to work, even cross-vendor NFS mounts.

    BTW I like resierfs because you can grow it on the fly.

    --
    Give a man a fish and you have fed him for today. Teach a man to fish, and he'll say "WHERE'S MY FISH, YOU IDIOT?"
  80. I remember Cairo by AndroidCat · · Score: 1

    And I thought Windows NT 4 (Cairo) was a good release (after they got to SP4).

    --
    One line blog. I hear that they're called Twitters now.
  81. Clarification: JSR by nostriluu · · Score: 1

    By "Java JSR" I mean the Content Management JSR, which might be at about the right high level between "simple" filesystem and metadatabase

    http://www.day.com/en/product/jsr_170.main.html

  82. What about granular permissions as in NTFS? by LazloToth · · Score: 2, Insightful


    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.

    --


    It's only funny until someone gets hurt. Then, it's hilarious.
    1. Re:What about granular permissions as in NTFS? by DunbarTheInept · · Score: 1

      The U-G-O scheme is embedded in so many other parts of the system. Throwing it away requires not only changing the filesystem, but also the innards of the kernels' user identification scheme itself. The notion that a process is owned by a user ID number, which in turn is a member of a group ID number, is not something that exists ONLY in the filesystem. It's also part of deciding who can send kill signals to which processes, and which processes contribute to a users ULIMITs, and so on.

      I think that any *realistic* ACL scheme on unix has to start from the assumption that UGO will also have to be present too, like it or not, and there will have to be a means to marry the two together, even if it ends up looking a bit crufty to do so.

      --

      Don't label something "offtopic" unless you know the topic well enough to tell what's on topic.

    2. Re:What about granular permissions as in NTFS? by jelle · · Score: 1

      Why reinvent the wheel? AFAICS, there already is ACL support for ext2/ext3 and even nfs.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    3. Re:What about granular permissions as in NTFS? by entrigant · · Score: 1

      The NTFS permissions model is very similar to the ACL patches many linux filesystems have. Check it out at http://acl.bestbits.at/. In fact, Samba uses ACL enabled filesystems to store windows permission information. I'm a huge fan of ACL's and have used them with small servers for such things as allowing the www user (apache) to access user accounts so all user web data can have 640 permissions. I did this when faced with the problem of php scripts that access mysql servers having the mysql password in plain text in a php .inc file. Hmm while I'm on the subject let me go OT real quick. Does anyone know of a more elegant solution for this?

    4. Re:What about granular permissions as in NTFS? by LazloToth · · Score: 1


      Thanks for that info - - could be useful to my web developer right now.

      --


      It's only funny until someone gets hurt. Then, it's hilarious.
    5. Re:What about granular permissions as in NTFS? by DunbarTheInept · · Score: 1

      Yes, there is - and unlike the original post, they don't advocate trying the impossible task of obsoleting UGO away - they just add to it.

      --

      Don't label something "offtopic" unless you know the topic well enough to tell what's on topic.

  83. Confused by Anonymous Coward · · Score: 0

    Ok, I remember reading about ext3 for the first time here on slashdot, it was better & faster then ext2, also read it on redhats website.. great i thougt, so now i'm using it on my box.. but, now i hear you are all taling about Reiser.. and on their website, what do i see but ext2 is faster then ext3 :).. ohwell, now i haveto migrate to Reiser4. damn. it looks great on paper tho, all this kinda reminds me of OFS/FFS/AFS ;-))

  84. Linux encrypted filesystems not really up to snuff by 0x0d0a · · Score: 2, Informative

    There are some disadvantages to this approach.

    First, it's minimally supported by distros. I can't just set up a Fedora system out of box, and check "use encryption" and have it do an NTFS-style decryption of the file encryption key using the password entered at login for each user to decrypt that users' files. It requires hacking around pam and maybe initscripts.

    Second, if that *was* done, it would take a different filesystem per user (per key), which is a pain to maintain.

    Third, it can't be enabled by users (would require root dicking around with pam and filesystems) as NTFS encryption can be.

    Fourth, it can't be enabled on-the-fly (requires creating new filesystems and copying the contents over, unlike NTFS).

    Fifth, it's a pain to maintain -- on NTFS, it's easy for a user to just say "I want the contents of this directory and below to be encrypted" and choose to have things encrypted on a per-directory basis. The equivalent on Linux would be having the root user be creating new filesystems (knowing the appropriate sizes in advance and wasting any excess space allocated) copying over the contents and adding mount points for every filesystem mounted.

    Sixth, NTFS supports key recovery with a backup, emergency passphrase (it can maintain two copies of the encryption key, one encrypted with, say, the administrator's password). Dunno about the Linux status of this.

    Having an encryption layer above the block layer is a nice idea, but it's not a drop-in substitute for encryption support in the filesystem.

    It would be possible to add a layer in which an encryption layer could be *added* (preprocess file/directory contents -- if one *only* wanted encrypted files and not directories, this could already be done with an LUFS or fuse module). Space for such a layer does not currently exist in Linux.

  85. not so fast ... by vlad_petric · · Score: 3, Insightful
    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.

    --

    The Raven

    1. Re:not so fast ... by Anonymous Coward · · Score: 3, Interesting
      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.
      The real killer is stored procedures. It'll be a cold day in hell before those are allowed into a kernel.

      And how do you email files with attributes or other metadata? They're not part of the regular file data, so all the usual email clients won't see them. Ditto for file compression utilities. The backwards compatibility problems are insurmountable.

    2. Re:not so fast ... by cortana · · Score: 5, Funny

      What's that? The ghost of Andrew Tenenbaum... mouthing the word "Microkernel, microkernel" over and over again!

    3. Re:not so fast ... by AstroDrabb · · Score: 4, Insightful

      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.

      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
    4. Re:not so fast ... by Sloppy · · Score: 3, Interesting
      Ghost?! He's not even dead yet!

      I do think this is really funny, though. The more functionality people want to cram into the FS, the more they're going to look back at that famous Usenet thread, and reconsider... ;-)

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    5. Re:not so fast ... by jbolden · · Score: 3, Insightful

      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.

    6. Re:not so fast ... by poelzi · · Score: 5, Informative
      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.


      Sorry, but you are wrong here. Reiser4 is atomic and you can pack as many operations into one transaction as you like, you just have to use the reiser4 system call. This is, because there is no standard system call for atomic filesystem transactions. Modern filesystems are databases, build to store files and query them trough filenames, reiser4 is the first filesystem where search path can be done through plugins, therefore you can index everything you want.
      --
      kindly regards daniel
    7. Re:not so fast ... by bn557 · · Score: 2, Informative

      I think he something more along the lines of how it does a 'fork' of sorts in the file and the mail program sees multiple objects in 1 file.

      P

      --
      Humans are slow, innaccurate, and brilliant; computers are fast, acurrate, and dumb; together they are unbeatable
    8. Re:not so fast ... by kcbrown · · Score: 3, Funny
      Ghost?! He's not even dead yet!

      MORTICIAN: Here -- he says he's not dead!

      CUSTOMER: Yes, he is.

      DEAD PERSON: I'm not!

      MORTICIAN: He isn't.

      CUSTOMER: Well, he will be soon, he's very ill.

      DEAD PERSON: I'm getting better!

      CUSTOMER: No, you're not -- you'll be stone dead in a moment.

      MORTICIAN: Oh, I can't take him like that -- it's against regulations.

      DEAD PERSON: I don't want to go in the cart!

      CUSTOMER: Oh, don't be such a baby.

      MORTICIAN: I can't take him...

      DEAD PERSON: I feel fine!

      CUSTOMER: Oh, do us a favor...

      MORTICIAN: I can't.

      CUSTOMER: Well, can you hang around a couple of minutes? He won't be long.

      MORTICIAN: Naaah, I got to go on to Robinson's -- they've lost nine today.

      CUSTOMER: Well, when is your next round?

      MORTICIAN: Thursday.

      DEAD PERSON: I think I'll go for a walk.

      CUSTOMER: You're not fooling anyone y'know. Look, isn't there something you can do?

      DEAD PERSON: I feel happy... I feel happy. [whop]

      CUSTOMER: Ah, thanks very much.

      MORTICIAN: Not at all. See you on Thursday.



      Sorry, I just couldn't resist. :-)

      (stolen mercilessly from here). Mad props to Monty Python).

      --
      Use 'slashdot stuff' in the subject line in any email you send me if you want to get past the spam filter.
    9. Re:not so fast ... by Knnniggit · · Score: 1

      Yeah, that's pretty much what's in store for Andrew. And he won't get better.

      --
      Brain kills internet cells.
    10. Re:not so fast ... by gaelicwizard · · Score: 1

      Something like HFS (and HFS+) data and resource forks? Like the mac has had for... 20 years?

      --
      -- JP
    11. Re:not so fast ... by jbolden · · Score: 1

      It sees it as one file of a type it can't identify and thus needs to pass off to another app X. App X understands the fork, and thus no backwards compatability issue.

    12. Re:not so fast ... by minion · · Score: 1

      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

      Lets not forget that ReiserFS has POOR BAD BLOCK CHECKING and little support for bad blocks. Their "hack" was to unmount the filesystem, run badblocks on the drive, and then allocate the bad areas that badblocks found as "in use". Thats crap. That needs to be a filesystem freature, not something I have to do manually, with an UNMOUNTED filesystem. Heck, FAT16 has bad block support. Where's ReiserFS?

      I can't see running a production box on a FS without bad block handling.

      --

      -- If we don't stand up for our rights, now, there will be no right to stand up for them later.
    13. Re:not so fast ... by Anonymous Coward · · Score: 0

      I'm not a reiser fan (why are they at version 4 and never had a version stable enough to trust my data to?), but FYI, on FAT16, badblocks are simply marked 'in use' too.

    14. Re:not so fast ... by roror · · Score: 1
      The backwards compatibility problems are insurmountable.

      With the risk of sounding like a OSS zealot I must say, actually it's a problem if the email client you use is developed and code-restricted by an organization. If there is a good need, someone capable will right a patch in a matter of a week for his regular client, in a matter of a month, a mainstream email client will provide the feature in alpha build or beta build, others will follow suit for the fear of pissing off their users.

      Dazzle in the glory of OSS!

    15. Re:not so fast ... by Enahs · · Score: 1

      Forks, which Apple is moving away from?

      Oog.

      --
      Stating on Slashdot that I like cheese since 1997.
    16. Re:not so fast ... by gaelicwizard · · Score: 1

      Actually, one of the "features" of Tiger is CLI tools that know about and won't destroy resource forks. So, although you are right they started to distance themselves for a while (in the name of compatibility), they are definitely moving back. :-)

      --
      -- JP
    17. Re:not so fast ... by squidinkcalligraphy · · Score: 2, Informative

      As I understand it, bad block checking is obsolete; I thought the hard drive firmware takes care of this nowadays and re-maps bad blocks when it detects them.

      --
      "I think it would be a good idea" Gandhi, on Western Civilisation
    18. Re:not so fast ... by Xpilot · · Score: 1

      Ghost?! He's not even dead yet!

      Actually he's back from the dead. After his battle with Ken Brown, he died saving Linus and his fellowship of coders from evil. But no worries, he's returned more powerful than ever, and is now known as Andy The White.

      --
      "Backups are for wimps. Real men upload their data to an FTP site and have everyone else mirror it." -- Linus Torvalds
    19. Re:not so fast ... by Anonymous Coward · · Score: 0

      Reiser4 may well be atomic but... ...won't that be a problem when you have an IDE controller buffering stuff that tells the kernel data has been written when really its sat in volatile memory on the IDE controller waiting to be written.

      iirc IBM solved this by using specialist disk controllers that only return when the data is actually written to the physical media....but normal PCs don't have this capability...

      or am I miles out.

      (this isn't an anti reiser flame, if I'm right this would affect all filesystems)

    20. Re:not so fast ... by mirko · · Score: 1

      P.S. The whole thing - filesystem as a DB - is complete crap

      Remember BeFS ?
      It was quite optimal, IMHO.

      --
      Trolling using another account since 2005.
    21. Re:not so fast ... by Carewolf · · Score: 1

      It still has many bugs. They've eliminated all the important bugs I guess, but freespace management is still fucked up. "No space left on device" errors when df reports 200Mb free. Free-space leaks, where space disappears until you call fsck.

      I am using the most recent versions, but I am really starting to hate my reiserfs partitions.

    22. Re:not so fast ... by Anonymous Coward · · Score: 0

      How about using a capacitor on Hard Drives so the drive will last for X seconds while the buffer is written to the drive in the event of a power failure?

    23. Re:not so fast ... by benpharr · · Score: 0
      Last I heard, Professor Tanenbaum was alive and well.

      http://www.cs.vu.nl/~ast/

    24. Re:not so fast ... by Anonymous Coward · · Score: 0
      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
      Actually, the VMS file system could do this years ago. If you're interested, Google for "Recovery unit journaling" or the VMS Record Management System (the other RMS). From http://h71000.www7.hp.com/DOC/72final/4454/4454pro .html
      When a file is marked for recovery unit journaling, a continuous history of the state of each record involved in a transaction is maintained in a journal until that transaction is completed.
      In fact, RMS does all kinds of database-like things, such as enforcing primary key constraints, indexing, etc. I seem to remember hearing that this OS-level support contributed to Oracle Rdb (formally DEC Rdb) being the fastest database system available. That was back when the Digital Alpha processor was whipping Intel's (and Sun's, and HP's, and IBM's) arses.
    25. Re:not so fast ... by Anonymous Coward · · Score: 0

      ReiserFS4 is basically about putting the storage manager in the kernel. Any ACID DB will have a storage manager that supports read/write blocks and modifications to the hash and BTree+ (or apparently 'dancing trees' for reiser) indicies as part of a transaction.

      Higher level functionality such as query plan generation and optimization are implemented on top, and could easily live in userspace.

      Stored procedures live even higher up. In fact, most new applications don't use stored procedures very heavily, opting to put logic in the middle-tier. This works particularly well when you have multiple databases all taking part in the transaction via XA (or some J2EE bullshit). Database specific stored procs don't really handle that, and certainly don't handle it with multiple databases from different vendors.

    26. Re:not so fast ... by 4of12 · · Score: 1

      reiser4 is the first filesystem where search path can be done through plugins

      So, this looks incredible.

      But what if I'm scared about the plug-ins failing in a bad way?

      Are poorly-written and poorly-tested plug-ins going to be the practical demise of ReiserFS4?

      --
      "Provided by the management for your protection."
  86. is this sarcasm by vingilot · · Score: 1

    copying an idea from IBM's hugely successful OS/400

    ?

    1. Re:is this sarcasm by Detritus · · Score: 2, Informative

      No. You may not see them very often, but there are a lot of AS/400 systems out there.

      --
      Mea navis aericumbens anguillis abundat
  87. Why no MS DBFS? by Doc+Ruby · · Score: 2, Interesting

    Exactly why hasn't Microsoft released a SQL-queryable database filesystem? They validated the architecture with their marketing years ago, after IBM proved it technologically. And its advantages are obvious. In addition to better features, it offers Microsoft the opportunity to sell its SQLServer product to serious users, with a natural upgrade path. And its an opportunity to promote the MS version of SQL across the world, raising the tide against Oracle and the rest (including MySQL). It could also make an end-run around the Samba project, which Microsoft initially helped, but now apparently fears. And of course it's a better platform on which Microsoft can offer "open yet proprietary" file formats. Is Microsoft really so incapable of actual innovation, or is there something else wrong with this picture?

    --

    --
    make install -not war

    1. Re:Why no MS DBFS? by pe1chl · · Score: 1

      I have always wondered why Microsoft, with the billions of dollars they scrape from customers, are not able to turn marketing speak into working software in shorter time.
      There should not be the problem of limited budgets, limited manpower etc.
      But still every time they announce new stuf in loud speak, then silently announce the postponement by one or several years.

    2. Re:Why no MS DBFS? by Doc+Ruby · · Score: 1

      One reason for MS vaporware is that some of their announcements serve to kill competition, without actually delivering the product (which costs money). That's one of the worst offenses against consumers that their monopoly produces, multiplied by a chilling effect in merely likely markets, which don't even require announcements to scare wary investors. But this DBFS would actually help them compete, by leveraging their monopoly, and losing some old, expensive legacies. Its absence just doesn't compute ;).

      --

      --
      make install -not war

  88. Not just Linux by tiger99 · · Score: 1
    A lot of excellent ideas have been advocated here, but it is important to remember that many people dual-boot, perhaps with one or other of the BSDs, or other free and not so free OSs, so whatever is done should be as universal as possible. Right now I have to use ext2 for my common area because FreeBSD will not handle ext3 or reiser, while Linux will not handle the latest UFS2.

    With the interest in an open bios it ought to be possible to handle file systems at that level. I am sick of having to restore certain broken OSs before I can read my backups, this also sometimes happens with Linux or any other OS, so there should be a basic capability at BIOS level to dump and restore, as well as boot management, file system repair, partition resizing etc.

    A bit of joined-up thinking across a number of projects could easily result in a final product that would far surpass anything that could conceivably be created in Redmond.

  89. An object-persistence system by SteamyMobile · · Score: 2, Interesting
    If Linux is going to do this, the best way would be in the form of an object persistence system like JDO. What is a file? A file is something that we can access sequentially, by reading and writing, or perhaps random access, by going to a specific location in a file and then reading sequentially from there.

    That's great, but is that what we (application developers) want or need? No, it is not. In fact it is extremely different from what we want.

    What we want is the ability to make objects (a word processor file, etc) persist. We also want to be able to search for these persistent objects in various ways, by saying "show me all the word processing files that have so-and-so as the author, and were created on this date and contain the word 'nigritude ultramarine'". That's what we want.

    A file system that allows sequential access to bytes, and creates a hierarchy of names (/your/file/is/here.txt) is really very different from that. That's why we need to have persistence tools (like JDO, XML, etc) and also search tools (Unix locate, file browsers, etc). But these are just hacks because the real problem of object persistence and retrieval isn't solved in one place.

    One problem with solving it is that Linux is all C and has C mentality all through it, even at the application layer. People still scoff at object oriented design. This gets in the way of implementing cool filesystems like this.

    Reiser4 does not exactly have these object oriented features, but it's much closer than anything else, and the object persistence could easily be implemented using Reiser4. I'm glad to see that Suse is using it as the default FS. I hope it becomes part of the standard Linux kernel. I also like its plug-in architecture, so we may finally get some advanced FS-layer security features in Linux.

    1. Re:An object-persistence system by Anonymous Coward · · Score: 0

      SuSE uses reiserfs (v3) as the default filesystem, not reiser4.

    2. Re:An object-persistence system by Anonymous Coward · · Score: 0

      Something like this?

      I wonder why we're cursed to continually reinvent concepts and features that are already in Lisp and SmallTalk and have been for decades. Maybe people just can't believe that we can create stuff that cool yet and pretend it doesn't exist.

  90. Palm by gveloper · · Score: 3, Insightful

    Doesn't Palm OS have a database/filesystem hybrid too?

    1. Re:Palm by Anonymous Coward · · Score: 0

      Yeah--the one they got from Be.

  91. Apple & Tiger by sribe · · Score: 1

    Uhhhmmm. Apple is NOT building a new filesystem; they made that point very clear. They are building all sorts of cool features on top of the current filesystem, and kqueue. They never mentioned kqueue by name, but come on, why do you think they put that in back a year or two ago?

  92. Separate data storage from file organization by iabervon · · Score: 1

    I think the best thing would be to have a filesystem which didn't have any built-in organization, but let the organization be handled separately. You associate each file with a 128-bit binary handle. You can also add indirection by having handles that refer to each other. All the organization which makes this useful would be in libraries and daemons or kernel modules which associate handles with other things.

    This allows arbitrary organization methods to be added later, and makes it convenient for programs to apply their own local organizations.

    1. Re:Separate data storage from file organization by pe1chl · · Score: 1

      The Unix filesystem has worked like that for decades...
      This is a major difference with Windows filesystems, where names are directly attached to files. In Windows, you cannot overwrite a file that is exclusively open by others (like an executable), so this must be handled at the application level.
      In Unix, you can create a new file at a new inode and have the original filename point to that instead of the original inode (which still has the old file but is no longer associated with a name).

    2. Re:Separate data storage from file organization by Wesley+Felter · · Score: 1

      This also makes it easy to leak space like crazy. (If you suggest garbage collection, how is that different from the current filesystems where every file must be referenced by a directory?)

    3. Re:Separate data storage from file organization by iabervon · · Score: 1

      The kernel would have a way of listing all of the handles, and you'd have, at least, a listing by date that you could use to retrieve any file. So you don't have to worry about leaking space, because there are always references.

      (Obviously, this is equivalent to having a filesystem with a root directory and no other support for directories. But not having subdirectories simplifies the design, anyway)

    4. Re:Separate data storage from file organization by iabervon · · Score: 1

      The Unix filesystem also has a directory structure, which is great for a lot of things, but not sufficiently flexible for the things that people use more than 1G of storage for these days. I'm proposing a filesystem where there are just inodes and nothing else; the kernel will list all the inodes for helper code and will give access to files by inode, and making sense of the collection is left to other code.

  93. Trust the Kernel team by nuggz · · Score: 2, Insightful

    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.

    1. Re:Trust the Kernel team by DMadCat · · Score: 2, Informative

      By that logic I should have gone back to Windows the first time my first Redhat installation died.

      I didn't, I looked around until I found something more stable. It turned out to be Slackware using ReiserFS on an AMD900 with "cheap RAM" and I have had 0 problems in the year and a half It's been running (and it's my main desktop PC/workhorse).

      Sometimes it is just the hardware.

    2. Re:Trust the Kernel team by Anonymous Coward · · Score: 1, Informative

      I don't think it's fair to blame the failings of ReiserFS on hardware, especially since some of the versions of ReiserFS that shipped with early 2.4 kernels were known to have problems.

      If you've had no problems, you're either using a version of ReiserFS which has had the problems fixed, or you're lucky.

      And it's not just hardware that changes the picture. It can be delicate kernel interactions. It can be the actual data of what's on disk exposing bugs in the code that handles it. Such bugs aren't necessarily exposed on ALL running instances of the code, but for some users, it might just be triggered.

    3. Re:Trust the Kernel team by satans_advocate · · Score: 1

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

      Good enough for me.


      Doctor it hurts when I have sex.
      Then stop having sex.

      Good enough for ... doh!

  94. The assumption is wrong by njdj · · Score: 2, Insightful
    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.)

    1. Re:The assumption is wrong by swissmonkey · · Score: 2, Insightful

      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,...

  95. I'm not the market they are looking for by Psymunn · · Score: 2, Insightful

    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 is a nifty program launcher for windows that finds files very fast.

    --
    The Neo-Bohemian Techno-Socialist
    1. Re:I'm not the market they are looking for by Anonymous Coward · · Score: 0
      Linux developers are their own market.

      To a t. Beautiful. What it means is that while FOSS probably never will compete for 'desktop dominance', it explains perfectly why that isn't an issue.

      Hell, we're doing FOSS for fun, to learn and to get the job done, right? And the 'job' is dictated by ourselves! :) Sure, for some it's to solve "Aunt Tillie's" problem - but most of us couldn't care less about Tillie. If she wants in on our turf (FOSS) I'll be the first to welcome her, but she comes here on the community's terms ("when in Rome"): Contribute with 1) running code, 2) running code, 3) running code, ..., 65) bug reports, ..., 1025) ideas, ..., 2048) opinion. [After point 64 (running code) and 65 (bug reports), STFU is also a viable option and can replace 66-2048 ;>]

      Tillie's money can't buy her all-access passes and will never make her voice carry as much weight as a Larry Wall, or a James Clark, etc..

      Sure, some will take Tillie's money and do her bidding - sometimes even as FOSS - but that will never be the heart of this movement (if it will, those who make it a "movement" and a "community" will move).

  96. Apple hired BeFS developers!!! by Anonymous Coward · · Score: 0

    You do realize that Apple hired some of the developers of the BeFS system to work on the FS in tiger...which will be the first "mainstream" database-like system released!

  97. It ain't broke by BinLadenMyHero · · Score: 0

    so, why fix it?

    I, for one, will stick with ext3.

  98. completely agree, look at a novell server by apachetoolbox · · Score: 1

    I know there's a circle jerk of workarounds, patches and gotchas to avoid this, but it should never be a problem in the first place. The basic unix security model is out-of-date, and is the source of many systemic problems.

    I completely agree! As will anyone with any netware security experiance. I'd love to see eDir's security model fit on top of ext3 or ReiserFS

    1. Re:completely agree, look at a novell server by swb · · Score: 1

      I'd be thrilled to see Netware 3.11's ACLs and groups move to UNIX space.

      By the time I used Linux seriously (1.2.13 kernel), I had a ton of Netware experience and I was like "WTF is up with these permissions...". It was and still is stone age compared to Netware of a decade ago.

  99. Access log by fluor2 · · Score: 1

    At default, Linux EXT3 does not log access reads/fails from users (or root).

    At default, Linux EXT3 does not make it easy to real-time compress folders.

    At default, Linux EXT3 does not make it easy to real-time encrypt folders.

    NTFS does this. Somebody fix EXT3!

    1. Re:Access log by Anonymous Coward · · Score: 0

      You've got the source, why not prove (or probe) your abilities?

  100. New FS-You have questions? We haven't a clue. by Anonymous Coward · · Score: 0

    "* Reiser4 uses dancing trees, which obsolete the balanced tree algorithms used in databases (see farther down). "

    Any databases using "dancing trees"?

    "* Reiser4 is based on plugins, which means that it will attract many outside contributors, and you'll be able to upgrade to their innovations without reformatting your disk. If you like to code, you'll really like plugins...."

    What language will they be written in?

  101. Didn't read the article, but... by jav1231 · · Score: 1

    Why does Linux have to come up with something "new" because M$ is? Since 96% of the users out there are unfamiliar with Linux, couldn't we just say "Hey! We have this new filesystem called ..." and put any type in there? :)

  102. Not gonna play with alpha code by prisoner-of-enigma · · Score: 3, Insightful
    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.
    --
    In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
    1. Re:Not gonna play with alpha code by aoe2bug · · Score: 0

      not that i've tried it but ext2 has extended attributes that offer per-file-compression..

      "A file with the `c' attribute set is automatically compressed on the disk by the kernel. A read from this file returns uncompressed data. A write to this file compresses data before storing them on the disk."

      from : http://re.a.la/man/chattr/

      there are other neat attributes too.

      good luck

      --
      -Dan
    2. Re:Not gonna play with alpha code by aoe2bug · · Score: 0

      oops... well not yet anyway...

      "The `c', 's', and `u' attributes are not honored by the ext2 and ext3 filesystems as implemented in the current mainline Linux kernels. These attributes may be implemented in future versions ext2 and ext3."

      from the same site. (the man page for ext2/3)

      --
      -Dan
    3. Re:Not gonna play with alpha code by dtperik · · Score: 1
      If there's no release-worthy option on Linux, we have to stick to NTFS on Windows.
      Which is saying NTFS on Windows is release worthy... ?
    4. Re:Not gonna play with alpha code by Kristoffer+Lunden · · Score: 2, Insightful

      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. =)

    5. Re:Not gonna play with alpha code by Anonymous Coward · · Score: 0

      Fsck ring a bell?

      Nope, been using reiser3 since it came out of beta and hadn't seen fsck for years.

      First time I did see it was when I started buggering about with suspend on laptops, but then I doubt any other Linux filesystem could have handled several hundred hard reboots as well.

      (I wasn't quite 'cutting edge' with kernel upgrades, delaying by a week or two each time, so avoided the reiser bugs that occurred)

    6. Re:Not gonna play with alpha code by 13Echo · · Score: 1

      If you're having that many problems on your Linux machine, then you probably have some hardware that is faulty. ReiserFS 3 and EXT3 are incredibly reliable filesystems that are (in my opinion) faster and more reliable than NTFS ever has been.

      I have no complaints about NTFS. It's good at what it does. But I wouldn't hold it to the level of EXT3 or ReiserFS.

    7. Re:Not gonna play with alpha code by Kristoffer+Lunden · · Score: 1

      Actually, I don't have *many* problems. And this would also be on the same machines, so how do you mean hardware would be the issue?

      But for instance, NTFS just shrugs off a hard reboot (power outage, OS lock-up, both rare but happens), while EXT3 doesn't. And at rare occasions that has meant lost files. So far nothing unreplaceable, and I'm leaning towards rare and special conditions.

      Performancewise etc I have no idea, personally I regard all of those more or less equal (because I can't tell the difference using them) although I rather go with the free and open ones that come with my free and open OS - more ideology then specs I'm afraid. =)

      My original post was just about parent being unfair to NTFS, really.

  103. Hans Reisers vision of the future-Matches required by Anonymous Coward · · Score: 0

    "http://www.gnome.org/projects/beagle/"

    I do believe there's an RPM for a beagle-epiphany plugin

  104. HFS+ has case-sensitivity as an option by santiago · · Score: 1

    HFS+ (and HFS before it, and MFS even earlier) have always been case-preserving but case-insensitive. Starting with Panther, there is the option to format volumes in a case-sensitive version of HFS+; I am unsure how well former version of the Mac OS deal with such volumes. Journalling can be enabled on either variant of HFS+ (and is now on by default).

  105. User-based file versioning by phorm · · Score: 1

    Nae, better to do the versioning by user. If you don't want a particular daemon to do versioning, simply give it to a user with the noversion option. UID of an inode is already saved, so that makes it easier...

    I'd want versioning off by default. Really it comes in most handy when I'm doing development, so in my case I'd just do dev as a user with versioning in case I make an "oops."

    To take it a bit further, you could do both (enable versioning by user/file) or simply allow versioning on any file belonging to user/group X

  106. More like a thimble... by Anonymous Coward · · Score: 0

    *plink*

  107. EMBED VERSIONING! by chill · · Score: 2, Insightful

    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.

    --
    Learning HOW to think is more important than learning WHAT to think.
    1. Re:EMBED VERSIONING! by pe1chl · · Score: 1

      That can hardly be called innovative. VMS and Novell, and probably others, had this 15 years ago.

    2. Re:EMBED VERSIONING! by chill · · Score: 1

      And who uses Novell and VMS today? I'm talking about end-users. Nobody.

      This would be ultra-useful to desktop users today.

      --
      Learning HOW to think is more important than learning WHAT to think.
    3. Re:EMBED VERSIONING! by pe1chl · · Score: 2, Insightful

      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.

    4. Re:EMBED VERSIONING! by wandazulu · · Score: 1

      As someone who still uses VMS, I can assure you that versioning is the greatest thing in the world. You can always reference foo.c and get the latest and greatest, but should you screw it up so badly that it beyond salvaging (not that this has ever happened to me ... ;) ) it's nice that the previous version is always there.

      File versioning is like dual monitors; until you've experienced it you won't "get" it. Why this feature hasn't been implemented already, I don't know, but I would presume that it isn't easy.

    5. Re:EMBED VERSIONING! by pe1chl · · Score: 1

      Of course it is easy, especially in the intrusive way it is done in VMS. It simply gives out new file numbers every time and shows the users all the versions of the file that are there. A simple patch would make that available in Linux (could be a little trickier when links and symlinks are considered as well).

      Already better is the way it is done in Novell Netware. The old versions are normally not visible, the space they occupy is automatically released when the disk runs out of capacity, etc. The user normally does not see the versioning going on, but can still access it when required.

      However, a really useful feature (especially for textfiles) would be automatic versioning by something like RCS or CVS. Those systems do not store the full files for every change, but only the diffs. That allows to store many more versions without running out of space, and to do more intelligent things like "remove the changes that occurred between version 11 and 12 from my current version 20 file and make that version 21 (current)".

      In fact I use a script on many systems that I administer, that uses RCS for such a versioning. I dislike the "checkout, modify, checkin" paradigm that underlies RCS (and that makes it unusable for versioning files that are in actual use, like configuration files in /etc) but with this extra script that I run nightly from cron I keep al changes that have occured during a day in an RCS archive for each file on the system for which an RCS archive exists in an RCS/ subdirectory below the file.

      Having this as a builtin in the system would be a bonus, but as often it can be sort of simulated with an addon script.

    6. Re:EMBED VERSIONING! by chill · · Score: 1

      Market conditions have changed.

      VMS was on big, expensive iron and Novell was/is a server OS.

      Microsoft & Mac started out as consumer, desktop OSes. Drives were small and data not anywhere near as important as say, a bank or hospital. They were also easier to backup, as a tape or two could do it and they didn't cost a lot.

      Now, drive sizes are obscene compared to available backup media. Time to back up is through the roof.

      I look at this as an idea whose time has come for the new market.

      Of course, in the Windows world, you'd have to tie the whole system to a Registry rollback utility as well. That would be much more work to get those to operate in sync.

      --
      Learning HOW to think is more important than learning WHAT to think.
    7. Re:EMBED VERSIONING! by wandazulu · · Score: 1

      While you have valid points, what I like about the way VMS does it is its universality; it's just *there*; no scripts to run, and no silent purging a la Netware. Frankly, I didn't know Netware even had this feature, being an end-user of it for years and years (never as an Admin). I was actually told that once a file was deleted or changed somehow on a Netware box, it was permanant (I was asking how come there isn't Norton Undelete for Netware).

      I theoretically like the idea of using diffs as a way to conserve disk space, but needing tools makes it a non-starter for me. I mean, I could probably cobble something together that looked like a journaled file system, or a RAID disk, using scripts, but relying on the script makes it not assured.

      This is one point where I'm willing to throw hardware at by simply getting bigger disks. :)

    8. Re:EMBED VERSIONING! by Anonymous Coward · · Score: 0

      Agreed! Perhaps it could behave like the multi version filesystem part of Clearcase. This would make recovery of accidentally removed files a snap. Additionally, this could be used to completely cure DLL-hell by allowing a program to specify which version of borked.dll it wants to use. Similarly an administrator could easily sandbox parts of the system with a config spec (list of rules which determine what versions of files you see) change.

    9. Re:EMBED VERSIONING! by Anonymous Coward · · Score: 0

      > I was asking how come there isn't Norton Undelete for Netware

      There always has been: SALVAGE.

      The versioning is actually only on newer versions of NW, I believe.

    10. Re:EMBED VERSIONING! by Anonymous Coward · · Score: 0

      Linus can't accept this or his bitkeeper-license voids

    11. Re:EMBED VERSIONING! by jelle · · Score: 1

      "Additionally, this could be used to completely cure DLL-hell by allowing a program to specify which version of borked.dll it wants to use."

      What are you talking about? That is a windowsism, Linux has perfectly working and standardised versioning for shared libraries in place and in use today.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    12. Re:EMBED VERSIONING! by jelle · · Score: 1

      "Who backs up their hard drives any more?"

      I didn't, but then a couple of drives died, and now I'm using RAID1 for the bits that need to be fast and RAID5 for the bits that need to be cheap.

      Actually, versioning goes a little far for me, it would become too slow and take too much diskspace. Where I need a lot of versioning, subversion works fine for me. But what I would like to see is snapshotting (similar to versioning, but then I can choose to have one version per day, week, month, and/or N-hours, instead of one version per change).

      With snapshotting, recovering from a 'rm -f *', or less intrusive trackbacks of recent changes, would be so easy.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    13. Re:EMBED VERSIONING! by spitzak · · Score: 1

      Exactly how is versioning going to save you from a disk crash? Versioning is quite useful, but it does not mean you don't have to backup. The older versions are on the same disk and will be lost at the same time in case of hardware failure.

      Versioning is somewhat useful for speeding up incremental backups, possibly. But lots of other designs can also speed these up.

    14. Re:EMBED VERSIONING! by chill · · Score: 1

      I've had to deal with 2 disk crashes in the last 4 years. (One of which was last week -- a 3-year old IBM Deskstar :-) I can't even count the number of times I've had to deal with data loss due to viruses, worms, accidents or sheer stupidity. Not to mention installing a new program and it hosing 12 other things.

      Well, to be honest, most of that was helping people on Windows systems. I have had a few accidents and sheer stupids on my Linux boxes.

      Still, drive crashes are easy to avoid. Buy 2 and set up RAID-1.

      --
      Learning HOW to think is more important than learning WHAT to think.
    15. Re:EMBED VERSIONING! by chill · · Score: 1

      Agreed. This is actually what I meant when I said "versioning". You just articulated it better. Thanks.

      Being able to right-click on a file or folder and choosing "restore from..." then selecting "previous version, yesterday, last week, initial install" etc. would be fantastic.

      --
      Learning HOW to think is more important than learning WHAT to think.
  108. I'm working on this problem today by jmulvey · · Score: 2, Insightful

    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.

    1. Re:I'm working on this problem today by Anonymous Coward · · Score: 0

      WebDav sounds like the best fit.

    2. Re:I'm working on this problem today by bfields · · Score: 1
      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.

      I'm working on the linux NFSv4 implementation: krb5 support, performance at least as good as NFSv3, built-in ACLs, implementations for Windows also apparently exist (and some features, e.g., share locks and an NT-like ACL model, were clearly chosen to improve windows interoperability--but I'm not a Windows expert).

      --Bruce Fields

  109. Apple does NOT have a new FS coming out. by JohnsonWax · · Score: 3, Informative

    Apple is simply adding functionality to HFS+. Everything you've read about Spotlight describes a services that sits above the file system. It takes advantage of HFS+, but there is NO database driven FS coming out from Apple.

    Their solution is to build a service that can interact with individual files, including their native metadata (ID3 tags, pdf metadata, MS Office metadata, email headers, etc.) through metadata importers and to store the metadata indexes in a separate database. This is relatively similar to how iTunes does it's thing. The services will have lots of APIs open to apps to incorporate the functionality locally.

    The obvious clue that HFS+ isn't going away is that Apple is finally pushing full HFS+ support back up to the command line utils like cp to support resource forks and whatnot in 10.4, so hopefully we can stop needing OS X specific tools like ditto.

    They've been adding improvements steadily over the years, such as journaling and most recently case sensitivity. The more obvious question to me is why doesn't the Linux community just jump all over HFS+ and build off of Apple's work since they seem more than willing to give the HFS+ support back anyway?

    1. Re:Apple does NOT have a new FS coming out. by ChristTrekker · · Score: 1
      The obvious clue that HFS+ isn't going away is that Apple is finally pushing full HFS+ support back up to the command line utils like cp to support resource forks and whatnot in 10.4, so hopefully we can stop needing OS X specific tools like ditto.

      Why stuff like this wasn't included in 10.0 is beyond me. Even if OS X wasn't designed to be a CLI-driven system, there has to be at least one Unix geek at Apple that would have thought this important enough to implement earlier. Anyone happen to know if the new HFS+-aware versions will be available separate from upgrading to 10.4?

    2. Re:Apple does NOT have a new FS coming out. by virtual_mps · · Score: 2, Informative
      They've been adding improvements steadily over the years, such as journaling and most recently case sensitivity. The more obvious question to me is why doesn't the Linux community just jump all over HFS+

      Because the features they're adding to HFS+ are already available in other filesystems? There's nothing in HFS+ that would make linux users want to use it, and some compelling reasons why they would not. (Performance, size limits, lack of an online resizer, etc.)
  110. Re:Linux encrypted filesystems not really up to sn by caluml · · Score: 1
    I can't just set up a Fedora system out of box, and check "use encryption"

    So, write a few patches, or something. Or use another distro.

    on NTFS, it's easy for a user to just say "I want the contents of this directory and below to be encrypted"

    Which is silly. Why not just encrypt all partitions that store user data. /var/spool, /home, and maybe /tmp ? Or set up gpg and a public key, and install kgpg.

  111. Laughable - at best. Likely just worthy of a groan by CAIMLAS · · Score: 2, Insightful

    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.

    --
    ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
  112. OS400 is still different by mabhatter654 · · Score: 2, Interesting

    OS400 native FS is still the neatest model for DB-FS integration out there. It's unique because the File system is written to allow file-member-record-field access directly from a command line call... It's similar to what was posted above with Reiser4 and having plugins. The key to AS400 success is that the "file system driver" is pushed down into hardware controller roms so the DB like access is nearly fool-proof. Stuff like queries and SQL are just "plugins" on top of that model. The only thing I see preventing linux from adopting such a scheme is that it would require an entire dedicated HDD/partition to do properly because you need complete control of the disk structure to the FS driver...and where AS400 has very few native file types it deals in, linux would need to litteraly create a file model "plugin" for every type of Mime type..otherwise you still have a bunch of meaningless BLOBS to parse. OSS/Linux is uniquely qualified to write this because they have the "keys" to everything, but it would take enormous cooperation to implement it correctly!

  113. Innovate? by ajs · · Score: 1

    From the article: However, Microsoft (with Longhorn) and Apple (with Tiger) have made it clear that they consider the filesystem of the future to be a database of information to be mined, and that client PCs will be a major part of the next chapter in the "search wars." The future of Linux may depend on whether Linux filesystems continue to innovate.

    Ugh. First off, who says MS is right? Do we see people chomping at the bit to write database-like filesystem using apps? Do we have any notion that this is a good idea?

    Ok, that's point one, and I can argue both sides of it. I just want to point out that it's not a foregone conclusion.

    Point two: Since when did keeping up with Microsoft constitute innovation?

    Reiser was the first B-tree directory-structured filesystem that performed on-par with existing filesystems. Ext3 was the first backward-compatible journaling filesystem. And of course, there are dozens of innovations that have been absorbed via JFS and XFS which were released to Linux by their owners.

    I'd like to see more innovation on the sceduling, thread/process-control and inter-process-messaging fronts. I'd like to see the availability of more passive messaging (e.g. like alert(2), but for more system events than just time and user-defined events beyond just SIGUSR1 and SIGUSR2). In short I'd like the steady stream of real innovation in Linux to not get bogged down because the grass looks greener over in Redmond....

  114. salvaging deleted files by eljasbo · · Score: 1

    Does anyone know of a way to salvage deleted files on a Linux filesystem? This would be a really great feature, and is probably the only thing keping me from implementing a linux file server. One of the things I just love about Netware as a fileserver is how it uses the entire disk space to keep old files and overwrites them as needed for disk space. Need a deleted file back? No problem at all. A user wants a file from 2 hours and 3 versions of the same file earlier in the same day and you have no tape backup? Too easy. Want to know who deleted the file? It is part of the attributes of the deleted file now. Microsoft has tried copying this feature with the Shadow Copy service on Windows Server 2003, but their implementation is not near as slick or useful as Netware's, and i find it about useless in comparison. I really hope Novell implements this feature into Linux now that they have a large interest in Linux.

  115. What's past is prologue. by devphil · · Score: 1


    Yes, the old VMS operating system had this for its users' files by default. Doing things with file "foo" would actually create "foo;1", "foo;2", and so forth. (It's not a Unix system, so the semicolon isn't special to its shell.) Asking for file "foo" would auomatically pick the latest revision.

    You quickly learned to issue the "purge old revisions" command once you smacked up against your diskspace quota repeatedly. :-) But being able to trivially look at older revisions was worth almost any hassle.

    So if you google around for "linux filesystem vms" you may find something. Haven't tried looking myself.

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
    1. Re:What's past is prologue. by NoOneInParticular · · Score: 1
      Oh yes, and especially nice when getting an out of space message when editing a file. Obviously, you go and purge the old revisions, only to find out right away that the latest revision of your all-important file (the only one left on your filesystem) is the one that failed to write: 0 bytes, AAARGH!

      Ah well, you do that once and then you learn.

    2. Re:What's past is prologue. by ElderKorean · · Score: 1

      It's been at least 12 years since I wan at uni, but I remember that when purging old versions of your files you could tell the delete command how many versions to keep.

      eg. keep the current plus the previous version, but delete the rest.

    3. Re:What's past is prologue. by meadowsp · · Score: 1

      PURGE /KEEP=4

      Will leave the latest four versions of all of your files.

  116. Next generation?-Be Different! by Anonymous Coward · · Score: 0

    I've suggested this months back, but I would have UID/GID as the base, and ACL's on top of that, so you'd have the best of course-grain/ fine-grain security. Backwards compatiable, because the software would only pay attention to what it understands.

  117. ...and Sun's new filesystem? by christophersaul · · Score: 1

    It's not just Apple and Sun that are doing cool file system stuff.

    http://www.eweek.com/article2/0,1759,1604449,00. as p

  118. cairo ? by r3dx0r · · Score: 1
    Anybody remember Cairo?

    the capital of egypt. whats that to do with filesystems ? wait...

  119. MOD PARENT UP by jmulvey · · Score: 1

    This is why everytime a comparison is made of Linux and Windows is made, and Linux comes out ahead, the comparison is limited to Web Server functionality. Anything on the network requiring real, scalable access control becomes a nightmare that would scare the pants off corporate IT managers.

    It's about time we took this problem seriously and recognized it is a HUGE PROBLEM TO LINUX ADOPTION!!!!

  120. Re:Next premise, please by bit01 · · Score: 1

    Now, MS doesn't use most of this good stuff, but it's all in there.

    Which begs the question:

    If they're not bothering to use most of the stuff in the current filesystem why are they creating a new one and accepting such significant conversion costs for them and their customers?

    ---

    It's wrong that an intellectual property creator should not be rewarded for their work.
    It's equally wrong that an IP creator should be rewarded too many times for the one piece of work, for exactly the same reasons.
    Reform IP law and stop the M$/RIAA abuse.

  121. Picking a nit re: WinFS. by Ayanami+Rei · · Score: 1

    I don't think the article author realized this, but the introduction of WinFS will not change the storage layer underneath, which will be the exact same version of NTFS that Windows XP/Server 2003 is using. So the filesystem PROPER won't change. However, there will be new features and services added that couple NTFS to a dedicated "Jet" instance which will discover, store, and search meta-data about these files. That part and the associated APIs is WinFS.

    Considering ReiserFS is just about as featureful as NTFS is, why do we need a new file system again?

    And let's not forget, even lowly ext2 supports POSIX attributes and ACLs... so really there's no excuse.

    I think pushing to make sure all the modern FSs (ext2/3, JFS, ReiserFS, XFS, NFSv4) adhere to the POSIX extended attribs API in Linux is a good first step, so that you can then make Gnome/KDE take advantage of them in more cases.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  122. I can only say this to that: by Kiryat+Malachi · · Score: 1

    Unix is dead. Long live the Unix.

    --

    ---
    Mod me down, you fucking twits. Go ahead. I dare you.
    (I read with sigs off.)
  123. FUD? by Anonymous Coward · · Score: 0

    It doesn't exist yet, therefore, doesn't work on windows.

    Hummingbird is non-free. Novell may or may not make the windows client free.

  124. Next generation?-Grounded in reality. by Anonymous Coward · · Score: 0

    "No, the entire OSS community is not an echo chamber, but the kernel development community is. I've seen flamefests caused by some poor soul suggesting very minor changes to, for example, the semantics of pipes. Unix isn't just written in stone, it's laminated and stored in an evacuated nuclear-blastproof case 500 meters underground."

    Of course. One breaking things for the sake of breaking them is bad. Two remember people use computers to get work done. Not to show how geeky they are. Three unfortunately a lot of the ideas tossed around on the kernel list, are grounded in ignorance of the problem space. Fourth I would recommend you give a hand to one of the other OSes out there. Not for the reasons you think, but to illustrate in the most concrete manner possible, an OS is an excercise in the art and science of compromises. Of hardware, software, and people.

  125. The leader of the pack... by joh · · Score: 2, Insightful

    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.

  126. The biased and silly lab in the article summary by rd_syringe · · Score: 1

    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?"

    Okay, okay, we get it, you hate "M$." But WinFS is coming. The API is already implemented in Longhorn builds. Not sure what you're trying to say here--that it won't ever come out? It's coming out. That it's a rip-off? Yeah, you say that on the website that supports a UNIX clone which runs a Windows clone on top of it. Do we really want to start listing off rip-offs? Because I guarantee OSS would have the longer list.

    Maybe the point was that you just had to get that quota of "M$" bashing off of your chest because you knew it would get you posted...

  127. Re:MOD'd Troll???? by Anonymous Coward · · Score: 0

    You must be new here.

  128. Not really by Synn · · Score: 2, Insightful

    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.

  129. Re:X cuse me by MemoryDragon · · Score: 1

    Since my posting was moderated as a flamebait.
    Following, to be mor precise.

    Reiser4 offers a clean all tree based structure, with everthing handled as files, every file can store metadata, add to that an indexing mechanism and you are way beyound WinFS, which still basically is an NTFS with a btree index for metadata added.

    I see nothing in this article which justifies another filesystem development, because Reiser4 is the most advanced filesystem currently on commodity level.

    Another issue is how fast the tools and desktops can integrate those features.
    This goes pretty much for everything except DRM in longhorn, there is already a solution in linux available or will be within this year.

  130. If it ain't broke.... by dacarr · · Score: 1
    Look, a luser doesn't care how their files are stored on their disk (unless, of course, they're being stored unreliably), they just care that they click on the shiny thing and it goes all flashy and stuff. The only ones who really worry about it are higher end users and above, as well as maangers (who are equally impressed by shiny things, just different kinds).

    As such, if it ain't broke, why fix it?

    Oh yeah - it is broke. =/

    Rather than trying to overtake MS on the filesystem market (something that isn't going to make/break anything, see the "shiny thing" bit above), let's just develop something that works correctly. Quickly would be cool as well, but I'm patient.

    --
    This sig no verb.
    1. Re:If it ain't broke.... by sloanster · · Score: 1

      Rather than trying to overtake MS on the filesystem market (something that isn't going to make/break anything, see the "shiny thing" bit above), let's just develop something that works correctly. Quickly would be cool as well, but I'm patient.

      (shrug) we've had that for years...

  131. A couple of good ideas by MoogMan · · Score: 1

    I think this whole "tree" filesystem is fundamentally flawed. Why have one root (\) when you can have... many.

    I think having one "root" drive for your main hard drive would be a good idea. And as to stop user confusion, get rid of this "\" and name it a "see" drive. Extending on this philosophy, we can group other similar devices around it. A "Deigh" drive for a cd-rom, and an "eh?" drive for a floppy disk for example. The possibilities are endless.

    Oh, and I also think its pivotal to have encorporated a graphical assistant built into the very core of the device drivers. One that, when you at least expect it, pops up and asks you if you need help to "view your see drive", or "delete off your eh? drive".

    1. Re:A couple of good ideas by Anonymous Coward · · Score: 0

      That was funny.

  132. Re:Next premise, please by badriram · · Score: 1

    Well actually they use most of those features, expcept the reparse point. Which is there was for posix subsystem.(But also works under win32)

    They use streams on the server OS, when you have afs enabled. They use encryption, and be enabled on any folder. They have been using journaling since win2k. And anyone using windows is using ACLs, and unicode...

  133. versioning and security by BrianRepko · · Score: 1

    I think it would great to have the ability to roll back to a version of a filesystem (cvs) and also have security based on XACML policy schema (need to define resources, etc.) but you get the idea.

  134. Three wishes by odie_q · · Score: 1

    1. A completely version-controlled file system, so I can backtrace through changes to files and so forth, like a continuous backup.

    2. Reiser4 style file/directory interchangability

    3. A Plan 9:ish (i think, I might be confusing things) system of unifying the namespace, where users can install stuff into their /usr/bin without upsetting other users /usr/bin.

    Give me these three things in a filesystem and I'll be a happy camper for quite a while, until I come up with new cool features.

    --
    ...ceterum censeo Carthaginem esse delendam.
  135. Re:New FS - Features List? by silvatica · · Score: 1

    Okay lets see what would be nice:
    handles 1,000,000's of files
    Fast searching
    Quick to recover
    FAST backup interface at the FS level in a nice all over standard way that backup software vendors can easily hook into (Hmm NDMP comes to mind). (Imagine backing up filesystems that take HOURS to do nothing more than a simple find.)
    How about spliting up the data from the file metadata and the locking so the whole lot can be improved separately or even (see lustre) spread over many machines for added resilience / performance.
    The list of nice fs features goes on and on....

  136. Novell NSS by voideng · · Score: 1

    Novell's NSS for Linux should be avalible in Q4, I know it will take care of my of my issues.

    1. Re:Novell NSS by psailor · · Score: 1

      Thank you!

      NSS is way better than a lot of file systems out there (64 bit, Journaled, Data Shredding, Compression, Snapshot, Quota support on a Volume/Directory/User level, Versioning, Encryption, ...), but no one seems to look at it because Novell/Netware is dead, right?

      Hopefully Novell fully ports the NSS file system to Linux and doesn't mess it up.

    2. Re:Novell NSS by voideng · · Score: 1

      According to the Novell guys who visted last week, NSS was designed to be portable and is currently running very nicely on Linux, it should be in open beta end of Q3 or early Q4.

  137. Tough to get marketshare by zyche · · Score: 1

    Why is adaption of new filesystems is so slow? Well, you can alter either which metadata that is collected or the way data is stored.

    New metadata: well, what happens when you send that file to someone else, running another filesystem? Where are you supposed to store that extra information? Wrap the file in something else? Can you say 'binhex'? :-)
    Sure, internal metadata can always be gathered, like last accesstime, usage frequency, etc. But even that require that applications can use it, something which will probably take quite some time (especially when there are alternative filesystems on the same platform!).

    Think about it. Apple tried to add more meta-data to the filesystem: ok, it works on the Mac but everybody else goes ballistic if you so much as mention 'fork'.

    Data storage: just as with metadata, this will require that applications are written to use the new features. If the new filesystem isn't available on all platforms (like all versions of Windows) adaptation will probably be slow. If you want to make your program a success, are you sure you want require something that not everybody has?

    New features as atomic writes, new kind of files, plugins, whatever: sure, but do you know how many features there are in NTFS that practically noone use? (like a stream coupled to a standard file - gives a whole new dimension to (meta)data storage).

    Every new filesystem that is introduced, be it on Windows or some Unix-variant, will have a really hard time to get any marketshare to speak of. Especially if the filesystem in question is too different to the old ones.

    Computer scientists have tried for decades to evolve filesystems, with very little success. If you think people are conservative and stays with the given standard solution (Windows), do you think they will stuff their valuable data in some new filesystem thingy?

  138. What happened to the TUX2 filesystem?? by ninejaguar · · Score: 1
    I've on occasion wondered whatever happened to Tux2?

    It seemed promising.

    = 9J =

  139. EXT3 FS by jonnystiph · · Score: 2, Interesting

    At work here, the previous admin installed a number of machines with EXT3 FS on the drives. These machines (RH 8.0 - EL3) crash sporadically often giving indications the FS was at fault.

    While I personally believe Redhat is known to push "unstable" releases, I was suprized that from 8.0 - EL3 the EXT3 fs was still crashing and Redhat was still offering this as default on an install.

    Anyone else had better expierences with EXT3? I am curious if anyone has more information on why this FS seems so damn unstable.

    For test purposes we run "out of the box" installs, so there should be no kernel tweaking or any other "anamolous" things going on with the install's or the boxes.

    --

    If we don't make light of everything, we are just stumbling in the dark - Blank

    1. Re:EXT3 FS by iggymanz · · Score: 1

      "Out of the box" RedHat Enterprise Editions always needs a pile of patches to become a stable system (for that matter, to be a certified / warrantied system for Oracle, any SAN, etc.)

    2. Re:EXT3 FS by Hurga · · Score: 1

      I'm running a number of (old) RH boxes with ext3, some with a pretty high load (news server...) and I've never had a single problem with ext3. I applied all patches available, though (and keep them firewalled because they aren't any new patches available from RH anymore).

      The only reason why I'm considering to switch to ReiserFS is the lacking speed of ext3.

      RH kernels have their share of problems, though. There's been some pretty nasty NFS problems, for example.

      Hanno

    3. Re:EXT3 FS by lachlan76 · · Score: 1

      No, I think there is something weird with your setup, since I have the exact same setup on my other desktop behind me, and the only problem i have with the FS is that it keeps filling up ;)

  140. My wish: Case insensitivity by Lars+Clausen · · Score: 2, Insightful

    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

  141. Some features I'd like to see in a new filesystem by cdn-programmer · · Score: 2, Interesting

    The first feature I would like to see added would provide the capabilities of a Partition Data Set from the IBM TSO days. We would not copy what IBM did of course because they did some stupid things meant to sell more hardware. One thing was deleted files were not really deleted and you needed to "re-generate" the PDS when it filled up. Nice trick!

    Suppose you had an infinit number of loop back devices and these were hidden and used internally by the file system and when you started an application you could "mount" what for many intents and purposes looks like a TARBALL and the application in question and ONLY the application in question got to see all the files in this TARBALL. Well, the files inside a "TARBALL" of this nature would probably not be compressed, but, they could be if desired... Well, that is the concept of a Partition Data Set.

    In the case of a user logging in, when the shell is started a mount could take place against the user's private data set. By doing this on a shared machine, file security can be guaranteed. For export and import the system could mount a "shared" dataset.

    This sort of secutiry is far superior to ACL's and anything present file systems offer for the very simple reason that normal people including systems administrators would not normally see any of the files inside one of these datasets. Consider the advantages of running an apache server where you KNOW all associated files needed by that release of apache are in a single dataset. There IS not easy way to lose a file or clobber it or accidently delete it and so forth. Next consider that when that copy of apache starts up it _could_ simply mount a set of files each of which contains the whole website for a given domain.

    Upgrading to a new copy of apache would be as simple as copying in a new dataset and mounting it against the web datasets. If a glitch is found, simply restart the old copy.

    Backing up a set of files becomes a simple copy operation. Replication can be accomodated as well.

    Systems Administration in those old IBM mainframes was MUCH easier than with UNIX systems and this is in large part because of the way the system handled partition datasets.

    ------------

    Now, with this we would want to be able to mark certain files as being external sort of like opening up a window, and through this window we could for instance access certain files which might be the executables and supporting scripts.

    Of course people will point out we can accomplish some of this with a loop back mount. The problem with the loopback mount is that it populates the directory tree and this is what I really want to avoid. Frankly there really *IS* no reason for even a sysadmin to be able to see 90% of the files that say consitute a web server, or say PostFix, or PostgreSQL. We accomplish a lot if the executable which needs access to its supporting files has a "private" loopback and only this executable by default gets to see the mounted dataset.

    --------------

    Next idea is versioning the way Digital Equipment Corporation did it in the VAX. We simply append a version number and what the delete does is append a version number. With disk drive capacities heading into the stratoshere there is no reason to be conservative.

    And this leads to the next idea which has been mentioned before... that is replication - across machines.

    I can buy for $20 bux a machine (P1 200mHz) that can run a 20 GB hard drive and in fact I think they can run 80 GB hard drives as well. Rsync is useful, but a full replicating filesystem at the kernel level, or at least at the level of a deamon close to the kernel would mean that a machine can be backed up to another machine in perhaps another building automatically and with little effort.

    Well, I'm sure other people have other things they might like to add. This is my wish list.

  142. Re:Linux encrypted filesystems not really up to sn by 0x0d0a · · Score: 1

    So, write a few patches, or something. Or use another distro.

    [shrug] I've set it up, and I've had a friend set it up, and neither wanted to bother with ramming everything through pam. It isn't worth the effort.

    I don't know of any major distros that allow this, though I wouldn't be surprised if one did.

    Which is silly. Why not just encrypt all partitions that store user data. /var/spool, /home, and maybe /tmp ?

    A couple reasons. First, encryption has a fair amount of overhead associated with it -- generally, there are a few things that I want encrypted, but most things I really don't care about, and would prefer to not have encrypted.

    Second, I use a single partition, not a set of partitions, as is the case for many home workstations.

    Or set up gpg and a public key, and install kgpg.

    I'm not aware of any system that does this. It doesn't mean that one couldn't be made, but the only thing gpg buys me is file-level encryption (which, FWIW, I do use), not loopback encryption.

  143. Over and above the BeOS thing... by otis+wildflower · · Score: 1

    ... I'm still interested in the idea of using a directory metaphor for metadata.. I wonder if it's possible to adapt files (kind of like how Apple does .app directories) so you could cd into them and change metadata within files in that 'directory'..

    Also, if you're gonna start trying to add DB stuff to filesystems, why not think about mounting a DB _as_ a filesystem.. Multiple systems could mount the fs in write with row-level-locking, you could use proven DB tools for robustness and recoverability, etc.. I recall Oracle doing something like this, but their costs were overkill.. Maybe with postgresql as a backend? It'd be easy to add further capabilities like ACLs, filetype metadata, etc.. new functionality with tools and ALTER TABLE...

  144. Re:New FS (Reiser4 has a compression plugin coming by hansreiser · · Score: 5, Informative

    Reiser4 has a compression plugin coming. We got gzip to work, but it consumes too much cpu, so now we are doing lzo which can compress at disk drive speed. The lzo plugin has a bug, maybe next week....

    Hans

    (You can email edward@namesys.com for details).

  145. It all comes down to how you lay out file space... by Trolling4Dollars · · Score: 1

    As much as this kind of thing usually results in flamewars about what a computing environment should be, it still comes down to the filing system.

    It's come to my attention that people are always complaining about not being able to find their files on most OSes. But Unix seems to confound people to no end, which makes absolutely no sense since it is VERY WELL logically structured. Unlike Windows which is just a fucking mess. The Unix philosophy behind filing your data is all about standard locations for the different types of programs, configs and data you might have on your systems. If adhered to, you can go to any Unix system and easily locate files. However, I will argue that it needs some reorganizing for today's applications. And NO "My Documents" is a stupid fucking idea for morons with the intelligence of a slime mold!!! That will NEVER happen on any systems I administer. So now, I give you how I lay out my systems these days:

    First level designations in a path:

    00 in the first level of the path is the root user's personal directory

    01 in the first level of the path is the designation for the "applications" directory

    02 in the first level of the path is the "documents" directory

    03 in the first level of the path is the "users" directory (equivalent to the stupid "home" designation used by troglodytes)

    Note: in directories of type 03 in the first level of the path, the second directory is just the user's id number

    Second level designations in a path:

    01 in the second level of the path is always the "OpenOffice.org" application directory

    02 in the second level of the path is always the "Mozilla" application director

    01a in the second level of the path is always "Textual" documents /01/01 - Open Office.org resides here. /01/02 - Mozilla resides here /02-00/01a/ - root's textual docs live here /02/01a/01 - the first user's textual docs live here /02/01a/02 - the second user's textual docs live here /00/mbox - root's mail is here /03/500/mbox - the first user's mail is here /03/501/mbox - the second user's mail is here

    This is a much easier setup once you get used to it as it makes it VERY easy to find stuff. It also makes scripting possible for searching for files and working with files in a character based setting. I don't allow my users to use anything other than three character numeric file names. I haven't heard a word out of them since I implemented this system. In general, they seem to be pleased since they no longer have to think hard about where their docs are. The docs are always within easy reach, and as an operator, my life has become considerably easier. More time to play Nethack... So get it though your heads you fucking idiots!!! Long file names based on alpha characters are nothing but a big pain in the ass. Get used to the coming paradigm of numeric filenames. It's WAY easier. Fucking idiot amateurs.

    (In a Daffy Duck voice): Woohoo! Whoohoo!! Wooohooo!!!! Whoohooo!!!! ;p

  146. Object Oriented Database by Roger_Wilco · · Score: 1

    I'd like to have an object oriented database, like Lambda MOO, but accessible from a multitude of languages, instead of just one.

  147. Re:My wish: Case insensitivity by Knos · · Score: 1

    What's supposed to happen in your case-insensitive filesystem when one types a ß ?(german sz character) The capitalization of this character is SS (two characters)

    --
    . . . . . . . .. . . . . . . .
    may u!sh 2 sm!le at dz!z bad nn.!m!tat!ion
  148. Didn't you know? Linux is a penis by rd_syringe · · Score: 2, Funny

    It's not about actually making good applications for computing, it's about a losing penis competition with Microsoft and Apple.

    Microsoft is the big penis. It got big through buying lots of natural herbs, getting its dick sucked by lesser folk, and having an expensive personal trainer make them do cock pushups everyday.

    Apple is the small penis, but it works hard to make itself look bigger by trimming the pubes around the base of its shaft. Commonly, the pubes are trimmed into artistic mutton chops, and you'll see cockrings and piercings.

    Linux is the extremely tiny penis, desperately trying to extend itself with a very painful penis pump. It's also desperately downing lots of penis enlargment pills and furiously masturbating itself in any attempt whatsoever to compete with the other guys.

    The other two penises accept their size and work with it. The Linux penis tries to be the other penises.

    Be your own penis, Linux!

  149. Just use a lossless compressor by poptones · · Score: 1

    It sounds like all you really need is a linux port of huffYUV. That'll give you nearly 2:1 on standard NTSC (dirty) analog caps. On clean HD you might even go 3:1 or more. MythTV offers this as a codec, so most of the work may already be done.

    1. Re:Just use a lossless compressor by prisoner-of-enigma · · Score: 1

      I've looked at HuffYUV, and we've actually used it in the past. The problem is it doesn't shrink stuff as much as you'd think, and its fantastically slow.

      However, I do appreciate you bringing it up. More help is always better than less.

      --
      In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
    2. Re:Just use a lossless compressor by Anonymous Coward · · Score: 0

      What about hiring the guys who did lzo and have them write a plugin for rsr4 tuned for your video data?

      Please, that will stop you complaining and give the world a great compression plugin that will "help the cause". For publicity, put up a few hundred/thousand $$ for a bounty, it has to be worth the cost of a few harddisks, yes?

      Then when it comes together please submit it here as a story. TIA.

    3. Re:Just use a lossless compressor by Anonymous Coward · · Score: 0

      Crap, the only time I don't read _all the thread replies...

  150. Some nice encryption features we can implement by cdn-programmer · · Score: 1

    We could add a nice feature to things like the graphical file manager so that when the user clicks on "properties" they can elect to "encrypt" . We can just grab the user's password and create a cert that is used to strongly encrypt the file.

    We could use this technique without telling the user and at the same time implement it in such as way that only the GUI interface can deal with it. We would not want to touch the CLI interface because we would want to preserve backward compatibility for all those old apps that don't know about our nifty new encryption scheme.

    Next, when the user loses their password and the systems adminstrator has to assign a new password we of course would not tell the user about all the files the system has lost access to. This would only create fear in the mind of the user's anyway and it is much better to say nothing.

    We can add some silly permission bits as well that again only the GUI interface knows about. This way the user can lose access to his own files and never know about it. When we do this, we need to set the system up so it says you NEED to be an "adminstrator" in order to access the files, and then set it up so an adminstrator actually cannot access the file, but can only change some of the permissions. We should issure no message when the adminstrator TRIES to access the file and not tell him that the system didn't let him do anything, because if we issue a message then the administrator might get the idea something is wrong with the way we implemented this.

    Another thing we can do is remove all error messages that the file system can issue and instead point the finger at the application and claim there is an "Unavoidable Application Error".

    We can set it up so that if for instance the user powers down say an external disk drive while it is being accessed that no message is sent to the application other than "normal END OF FILE". This is pretty obvious anyways because if the drive get powered off clearly access to the file has ended, right?

    Also, we should stream line the I/O so that when an application asks for data to be written to the disk, then EVERYTHING else in the computer stops until this has been completed. We can justify this because hardware is getting cheaper and faster and writing data is the single most important activity we can do when it is requested.

    Also, benchmarks are typically run "stand alone" so as to get the highest numbers and if we program the machine so that there are no "background" tasks then the benchmarks will yeild higher marks.

    RIGHT?

    While we are at it, why don't we get rid of the concept of "users" and just make everyone root?

  151. You're right, let's stick with brute-force search by rd_syringe · · Score: 1

    Barring the fact that WinFS isn't a filesystem replacement anyway, but a service running in the background, let's see you do some brute-force searching in 2006 on the new 200GB hard drives that will be out by then.

    When Longhorn can do a search for e-mail contacts who like the same MP3 playlists you like, or all the Quake 4 pictures on your hard drive, and it can return the results in 2 seconds, let me know if you still feel that vanilla ext3 is something we can stick with for years to come.

  152. The slowest of the slow by ylikone · · Score: 1

    I don't think EXT3 is that great... it is painfully slow when compared to something like ReiserFS. ReiserFS4 is the future.

    --
    Meh.
  153. Re:Next premise, please by apachetoolbox · · Score: 1

    And novell's NSS filesystem even blows NTFS away. NSS even has X-pass transparent file shredding at the NOS level!

  154. How about a metadata standard? by Anonymous Coward · · Score: 1, Insightful

    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.

    1. Re:How about a metadata standard? by spitzak · · Score: 1

      I belive all metadata must be able to be determined from the file's contents. Think of it as a cache of information figured out from the file, not as "extra information".

      Oddly enough everybody talking about "databases" thinks this way, saying that files are inserted into the database depending on their contents, but when people start thinking about "metadata" they get all confused.

      First step would be to set the "type" metadata by examining the file's contents and looking for magic header bytes. Then postage-stamp images, comments, author, and other information may be extracted by programs that know about the various types. Eventually I think even filenames and permissions and ACL's would be stored in the file data.

    2. Re:How about a metadata standard? by Anonymous Coward · · Score: 0

      And I think that's wrong. I think the metadata should be separated from the contents. This separation should be done for the same reason that you should separate content from presentation on the web, and design from implementation in OOP. It's cleaner and easier to maintain. In addition, like OOP, there may be some metadata that could reasonably belong in the file, but there is some that shouldn't be. Having ID3 tags in an MP3 makes sense, since the metadata applies directly to the contents. But then some metadata doesn't particularly care about the contents. Executable flags and access permissions are one example.

      You'll also save a lot of effort if you keep the metadata when you pass the file around. If you've manually added tags to a file, you would have to add them again after transfering the file to another computer.

      Also, what if the computer that you transfer to is incapable of reconstructing the metadata tags? Let's say you have an image with a bunch of people in it. Your source computer has a program capable of identifying the people and tagging the image with their names. If you transfer the file, will the computer you transfer it to be able to do the same thing? Probably not, unless it has access to the same data that the original computer used to create the tags.

      Then there's the effort required to create the metadata. How long do you suppose Apple's Spotlight will take to search the contents of a PDF? It will probably happen transparently in the background, so it's no big deal if you have to do it once. But what if you have to do it over and over again? I can't imagine that being very fast.

      Cache or extra, I think it's important that the metadata be persisted, and not rely on the target system to reconstruct it all over again.

  155. Just use/extend Apple's FS by iamacat · · Score: 1

    I bet it will be released with Darwin. Why reinvent the wheel?

  156. Re:Laughable - at best. Likely just worthy of a gr by swissmonkey · · Score: 2, Insightful

    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.

  157. Re:New FS (Reiser4 has a compression plugin coming by robertchin · · Score: 1, Troll

    It seems like having gzip support would be more exciting though, since presumably one could combine it with a tar plugin, and that would allow you to cd into a gzipped file like a directory to access the uncompressed data, and then cd into the uncompressed data like a directory to get at the files themselves. Then there would be a totally transparent way to access tarballs that fits into the model that, from my understanding, Reiser4 follows.

  158. Re:New FS (Reiser4 has a compression plugin coming by nutshell42 · · Score: 1
    kio slaves support this, iirc a number of user space filesystems too.

    Of course it's nice to have it implemented at fs level for speed and compatibility reasons

    --
    Don't think of it as a flame---it's more like an argument that does 3d6 fire damage
  159. It will happen by Anonymous Coward · · Score: 0

    Most open source programmers can write a file system that will rival the millions of dollars that Microsoft and Apple are developing.

    Sure they have day jobs, but as soon as they hear that someone named Mark Stone has thrown down the gauntlet, they will drop their Lord of the Rings DVDs and crank out a futuristic file system. Afterwards they can throw together a Mars rover from old SCA armour they made from coffee cans. They can paint Sailor moon characters on the side.

    I look forward to it.

  160. Re:My wish: Case insensitivity by waferhead · · Score: 1

    Reality collapses, of course, Right?

  161. better protocol first, please? 9P? by anothy · · Score: 1

    developing a local file system is nice, and i'm glad people are working on it. but what's much more interesting to me - and i think more generally useful - would be a better protocol for talking to said file systems. VFS is better than the more direct stuff that predates it, but it's still a nightmare. 9P, the file system protocol in Plan 9, is wonderful to work with. if we could get a better way to talk to file systems, doing work on file systems would become much, much easier.

    the likely side effect of user-level file systems would be a huge win for the system as a whole. loopback NFS? ick.

    9P patches have existed for BSD at various points. it's not hard, and it'd be a big win.

    --

    i speak for myself and those who like what i say.
  162. Re:Didn't you know? Linux is a penis by neko9 · · Score: 1, Funny

    Linux is a penis

    i don't even want to imagine beowolf cluster of these...

  163. Unrestricted metadata ? by billcopc · · Score: 1

    I, for one, would like a filesystem with unrestricted metadata and easy access to it. Say you have a folder full of camera pictures, store a thumbnail, comment, date etc but in the filesystem where it doesn't get in the way of stupid little utils that barf on comment headers, something like Mac's resource forks. In essence each file would have a matching metadata chunk, handled by the kernel.

    --
    -Billco, Fnarg.com
  164. BFS by POds · · Score: 1

    It would be nice maybe if we could use OpenBeOS's file system... I have a feeling it might be under a strange licence. I.e, more strange than the GPL or LGPL :(

    --


    Giving IE users a taste of their own medicine since 2005 - http://pods.-is-a-geek.net/
    1. Re:BFS by bhima · · Score: 1

      I think you are thinking of the MIT licence, but it isn't strange at all, it's just different!

      --
      Nothing in the world is more dangerous than sincere ignorance and conscientious stupidity.
  165. "Cairo" by Anonymous Coward · · Score: 0

    Anyone find it interesting that "Cairo" as a homonym for the greek letters Chi (x) and Rho (p)?

  166. Parity & Encryption by mnemoth_54 · · Score: 1

    I agree with the need for compression, but it would have to be something lossless and quick, at the expense of compression ratio.

    I've always wanted to see the Reed-Solomon routines get integrated into the filesystem. RAID is great, an PAR2 has opened up a lot of possibilities, but I still think it would be a good option to provide in the filesystem itself.

    Encryption would be another great option, but it would have to be a method that actually deserves my trust, not ike the ntfs encryption.

    Hopefully Reiser4 and plugins will make all that a reality in the near future.

  167. Old problem in filing by Anonymous Coward · · Score: 0

    This is at least a 60 year old problem -- how do you file things?

    Do you file your income taxe receipts under 'I' for income tax, 'R' for receipts, 'M' for money, 'F' for finances, 'T' for taxes, 'A' for accounts payable, 'G' for government, 'D' for debts, 'E' for expense, or 'U' for i give UP?

    Some people are great at filing and organizing. Some are slobs. I've yet been able to find some system that can organize a 'creative mind'. I don't think that WinFS, even if it lives up to it's hype, can help us poor creative slobs. There are just too many ways to look at the same thing.

    1. Re:Old problem in filing by Anonymous Coward · · Score: 0

      Personally, I'd file it under 'S' for Stuff;-)

  168. Ah, Cairo. by flacco · · Score: 2, Funny
    Anybody remember Cairo?

    Do i remember Cairo? How could I forget it. It was the first time I'd ever laid eyes on you, and my thoughts have been consumed by that moment ever since.

    It was hot - the sun in the sky, and the Egyptian counterintelligence on the ground. Very hot indeed. Dust filled the bazaar, crowded with people and the scent of spices. The cameras around my neck (for show, of course) seemed to grow heavier throughout the day, and the perspiration threatened to show through my white linen suit.

    I stopped by a stall and pretended to peruse the knives for sale, but under the horn-rimmed sunglasses, my eyes scanned the bazaar. I was worried - you were supposed to be here an hour ago.

    As I turned back into the crowd, I saw you. I will never forget that moment. Your face was mostly covered by the traditional dress of the region, but your eyes were glittering blue jewels that mesmerized me.

    I stood unable to move for several seconds. Coming to my senses, I gave the pre-arranged signal: taking the hat from my head, I wiped my forehead and the back of my neck with a handkerchief, exposing the black widow spider design stitched into its corner.

    Immediately, you relaxed, smiled with your eyes, turned, and walked into a dark, dusty doorway, and I followed after you.

    And so I have followed you ever since. I tried to remain professional, but I was merely denying to myself what I already knew on that first day: I was doomed. It was a classic case of giving way to my heart, and in this business, that is the first step to giving away your life.

    In the previous cell - the torture cell - there was nothing but blackness, and agony. Here, there is at least a crack in the ceiling. Light sometimes filters through the perpetual dust, and it falls across me during certain times of the day. In the dustbeams, I still see you. Even after everything, I see you every day, not knowing what thoughts hold court behind that beautiful, mysterious face.

    The dysentery has left me quite weak, so I don't often move. There is no water here, and no food. But mostly it is the lack of water. That's what will get me in the end. I've been put here to die. In these final days, I don't think of the apple orchard in Indiana, or of my mother, or of the ice storm that trapped me in the mountains so many years ago. I think only of you, and the bazaar, and that moment I first met you. I think of... CAIRO.

    --
    pr0n - keeping monitor glass spotless since 1981.
  169. If you really want it, pay for it by anti-NAT · · Score: 1

    Sounds like you organisation could really benefit from this feature. It also sounds like it would save you money. So why not use some of the potentical money savings, and offer to pay one of the Linux file system developers to develop it for you.

    It sounds like you've benefited from the Linux development community, why not, by paying for further development of one of the existing file systems, recipricate.

    --
    The Internet's nature is peer to peer - 20050301_cs_profs.pdf
  170. Re:Next premise, please by Patoski · · Score: 1

    What are you talking about? NTFS has had journalling for over a decade. And Unicode. And ACLs. And streams. And reparse points (these are amazingly cool). And compression. And encryption. And ... you get the point.

    Now, MS doesn't use most of this good stuff, but it's all in there. Even three-letter file extensions on Windows are obsolete, since everything on NTFS can be an OLE server. There's nothing on Linux that comes close to the capabilities of NTFS. About the only major thing NTFS is missing is versionning, which VMS has.


    While it is true that NTFS is a journalling file system its implementation is *very feature poor*. NTFS can save you from MFT corruption which would be fatal to something like FAT but little more. NTFS' current journalling capabilites cannot provide enough data to roll back incremental changes (WinFS is supposed to have this) like Reiser and all other journalled FSes that Linux can use. NTFS' crappy journaling implementation is the main reason everyone on a Windows box STILL has to sit through those LONG volume scans if a disk isn't unmounted cleanly. In more robust FS like ReiserFS, Ext3, XFS, etc. the OS can just replay the log and redo any transactions that didn't go as planned. You cannot do this with NTFS as I understand it.

    This feature alone makes your claim that "There's nothing on Linux that comes close to the capabilities of NTFS" ring hollow in my ears at least.

    Also, if a feature is not implemented it might as well not exist because the user cannot derive any benefit from it. If I can't use a feature who on earth cares that it exists?

    --
    G. Washington on Government "it is force. Like fire, it is a dangerous servant and a fearful master."
  171. Re:Cairo (mostly) = XP by Anonymous Coward · · Score: 0

    >Probably because it was renamed to Windows NT 4.0 before released.

    Most of it was actually renamed 'XP' before it was released, and people didn't even get the joke.

    The Greek letter 'X' is a capital 'chi' (pronounced as in 'kite'), and the Greek letter 'P' is a capital 'rho' (as in 'row').

    Cairo
    chi rho
    XP

    You didn't really think they'd let all of it go to waste, did you?

  172. Re:Next premise, please by harlows_monkeys · · Score: 1

    HFS+ is journaled, and NTFS has sort-of journaling HFS+ and NTFS use exactly the same kind of journaling.

  173. DBFS, Security, and Featuritis by dpilot · · Score: 1

    Before coming up with some sort of DBFS, some extra thoughts on security are needed.

    So far the biggest reason to crack a system is to get access to its network resource, as a spam relay, a springboard/anonymizer, or a bigger pen1s. (bragging rights) Back to spam for a moment, about the only data harvested so far on those cracked systems is the address book. That's because the address book is the easiest to find - the most integrated.

    Enter DBFS. Now ALL of your data becomes easy to find, *and mine*. I presume/hope there will be encryption of sensitive data, but there will always be weak passwords, weak encryption, etc. It's easy to imagine your own system cracking away all night trying to break into your own data, on behalf of someone else.

    DBFS makes it easier. Granted it's currently possible to scan normal places for Quicken or MS Money, and see if any account numbers or such are there. But it's the *integration* that's the fear, because you can start doing *more* with DBFS and integrated applications. But those 'nice' features increase your vulnerability.

    Not that we shouldn't do such a thing, but security needs to be a fundamental part of the architecture, not a bolt-on afterward.

    --
    The living have better things to do than to continue hating the dead.
  174. As much as you think? by poptones · · Score: 1
    I've been using huffYUV for years, I'm pretty familiar with it. It's very rare I get less than 1.5:1 compression with an NTSC broadcast source (and it gets better with cleaner sources). Were you using it with a native linux filesystem or were you using it with one of your captive mounted ntfs partitions? Or were you just using it with windows?

    I was able to encode realtime 640x480 NTSC video (using a 16 bit YUV source) on a 450MHz PII and that was WHILE I surfed the web. That was back when I needed to - with an XP1600 I can rip through PAL sized video (720x576) at 100fps or more - and that's in windows with a conversion filter or two in between the "in" and the "out."

    Are you using RGB24? If you are using RGB you might try keeping everything RGB32 - you'll find it much faster, and that empty alpha channel won't take up much extra space :)

  175. Re:Next premise, please by Anonymous Coward · · Score: 0
    About the only major thing NTFS is missing is versionning

    What about an open spec so that you can read and write it on non-Windows systems without having to reverse engineer? Can NTFS be used on a digital camera or Palm organizer? Not reliably.

  176. file deletion and other undoable features? by GCP · · Score: 1

    I don't know enough about the implementation issues to know whether these belong in the FS or should remain in some layer above it, but it always seemed odd to me that "rm" in *nix is unrecoverable unless you custom build something that makes rm an alias for something that isn't rm.

    Why not have rm mark the file as being in the special "deleted" directory and have all such files fully recoverable until the moment their space is needed. (If you don't WANT a file to be recoverable, use something like rm --scrub and the file system would intentionally make it unrecoverable.)

    Likewise for file renaming. If you rename a batch of files and then realize that you screwed up (perhaps sorted alphabetically instead of numerically, so they're renamed in the wrong order), you just issue an undo command of some sort and the the damage is undone.

    Yes, I know this sort of thing can be a feature of your GUI, but I'm wondering why it couldn't just be a standard feature at the command line so even on servers you would have the ability to undo things and wouldn't need that very unhelpful and primitive "Are you sure...?" confirmation hack for so many operations.

    --
    "Those who have never entered upon scientific pursuits know not a tithe of the poetry by which they are surrounded."
    1. Re:file deletion and other undoable features? by AstroDrabb · · Score: 1
      Umm, rm is like a "low level" delete. If you open a command prompt under MS Windows (or what MS considers a command prompt) and 'delete' a file, guess what? That file is not in the recycle bin! Holy cow Bat Man! This is the same as with the Linux/Unix rm command. If you want recylcle bin, then use a GUI to delete the file like Gnome/KDE which will place the "deleted" file into your recycle bin for you to "undelete" or "restore". rm also does not destroy the file. You can still recover it with certain tools, just as you could delete a file under MS Windows with the delete command and use a recovery tool.

      Oh, by the way, if you really want a recylce bin for Linux rm, then your whish is granted here, and here, and and other places

      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
    2. Re:file deletion and other undoable features? by GCP · · Score: 1

      Holy cow Bat Man! You managed to write that much without really adding anything to what I had already mentioned in the question.

      My question was about whether there was a place for "undo" support at the file system level so all access to the file system, even by low level utilities like rm, would have the ability to call on features of the FS itself to support undoing of FS operations. This might obviate the need for custom "recycle bins" or a GUI or of special file recovery utilities (all of which I mentioned already) to obtain this functionality and of most need for the primitive "are you sure...?" hack before a FS operation, which is a classic usability design error.

      I did, however, say that there may be issues that I'm overlooking that may make this functionality something that should ALWAYS be at a higher level than the file system. I'd be interested to know if anyone has an informed opinion on the point, especially regarding a FS such as Reiser with extended file metadata.

      --
      "Those who have never entered upon scientific pursuits know not a tithe of the poetry by which they are surrounded."
    3. Re:file deletion and other undoable features? by AstroDrabb · · Score: 1

      This functionality _should_ be at a higher level then the filesystem. A filesystem should be mean-n-lean and focus on being a filesystem. However, with the new version of RieserFS coming out, it supports plugins. This would be the perfect function of a ReiserFS plugin. Maintain a history for delete/rename/undo, etc. Again, the core filesystem should never have to worry about undo type actions. It should always be at least one layer up. However, do note that the new ReiserFS coming out is an atomic filesystem. Which means that an operation either entirely occurs or is entirely does not.

      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
  177. Re:New FS (Reiser4 has a compression plugin coming by mysticalreaper · · Score: 3, Informative

    uhhhh... what?

    if the filesystem does the compression, the apps (or you) can't see it happen. that's the POINT. your suggestion, above, is ridiculous. If you had a tar.gz file, you could extract it to the FS, but it would actually be equally compressed (cause it's a gzip compressed FS), and then you could play with the files to your heart's content, without worrying about the compression, cause it's transparent. You wouldn't need or want some kinda plugin or something...

    Unless the FS wasn't compressed, and you wanted a transparent way to access tar.gz files. That idea would make sense.

  178. Your talking nonsense by octothorpe · · Score: 1
    Well, I'm sorry but I don't own any Brian Adams or Whitney and my HD is only 80G with 158,205 files on it but you're still way off on your numbers. My Home Music server is an old IBM Aptiva K6-2 300 runnning EXT3 on Fedora Core 2 and it easily meets your goals for WinFS. Here is a copy-and-paste from a search for all my Bob Dylan mp3s:
    [octothorpe@blue octothorpe]$ time locate -i *dylan* | wc -l
    79

    real 0m1.681s
    user 0m1.600s
    sys 0m0.080s
    [octothorpe@blue octothorpe]$
    Gee, 1.681 seconds is just a little shorter than ten minutes. And that's on a six year old computer that won't even run XP let alone Longhorn or whatever they call it when they ever finish it.
    1. Re:Your talking nonsense by swissmonkey · · Score: 1

      Sure, are they spread across the filesystem ?
      What about files where the filename doesn't indicate the author and it's located in an attribute ?

      I'm not talking about single directories for files where all the info is in the filename where it's very easy since most filesystems index on the name.

      Go spread your mp3s across dozens of directories, and try to find files where the data you're looking for is actually in the file instead of in the name of the file, you'll see how slow it is.

      Stop dreaming, a regular filesystem can _not_ do what a database does, it's just not their job and they're not optimized for it, plain and simple.

    2. Re:Your talking nonsense by CAIMLAS · · Score: 1

      You evidently don't even understand what locate does, but that's besides the point.

      If the file has no mention of the author even in a file attribute - guess what? WinFS won't be able to do a fucking thing, either. It's not a clarvoiant technology. It's a Microsoft product. Like every other MS product to date, it will be a lot of marketing bullshit, a lot of exageration, and a lot of "this is better than the second coming" nonsense. When the product finally ships, it will be a slow, bloated feature.

      As I've seen it described, it's supposed to be not much more than the current disk indexing function (which doesn't exactly even work, ffs), plus the basic file meta information, in a databse. Big. Fucking Deal. There's nothing terribly impressive about it - even I could scramble a quick perl script together to query disk data, say, once a day (as a replacement to slocate, or what have you - you know what that is, right?) that would combine all the meta information into a database, and then write a quick little tool to query that db with simple syntax. Not terribly difficult.

      I'll tell you what is impressive, though. That the MS engineers are actually integrating a MS SQL (or some retarded version of it)... with a filesystem. Anyone remotely familiar with the functionality of both will realize how retarded a concept it is. Sure, it's a neat idea, if you don't understand the technologies.

      Aside from the speed and performance hit that will be taken on every single disk read or write (which I'm asuming will be the case, given the DB is supposedly integrated -with- the FS), it's going to result in a lot of extra, needless disk and operational memory being wasted.

      And for the record: NTFS is not a 'good' filesystem. It is a featureful system with a lot of bugs, instabilities, and performance issues.

      Mark my words: by the time it comes out, I want you to remember my post saying you're full of shit, and realize you've been told, and were being a fool. Maybe by 2007 (or whenever it's scheduled to come out) you'll have your high school diploma and a job at McD's, and you'll be able to afford a legit copy.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    3. Re:Your talking nonsense by swissmonkey · · Score: 1

      Hint regarding all the idiocies you wrote :

      1) I saw WinFS in action a number of times
      2) WinFS is _way_ more than the indexing engine currently present in Windows
      3) WinFS can and will index the attributes of your file, with the end result that it can do what I described, and that it not only can, it already does

      I'll mark your words, and I'll laugh at you, as much as I'm doing right now.

      Hint2: I work for MS, I already saw more of WinFS than you ever will probably.

    4. Re:Your talking nonsense by swissmonkey · · Score: 1

      Oh and I forgot, if you actually take the time to read and understand what WinFS is, you'll find out that it sits on top of NTFS, it's not part of it, you don't go through WinFS for every read/write access, and you can choose what data to store in WinFS and what data not to store in there.

      Go read about the technology before talking shit, that might do you good.

      Regarding your perl scripts with slocate, please do it, show us how you can do it in 15 minutes, and give us a good laugh !
      But maybe you want to go understand what WinFS can do before you make a fool of yourself.

    5. Re:Your talking nonsense by Anonymous Coward · · Score: 0

      Go spread your mp3s across dozens of directories, and try to find files where the data you're looking for is actually in the file instead of in the name of the file, you'll see how slow it is.

      Why the hell would you want to do this? Other than to create a synthetic example of how cool your attribute based indexing thingie is? I'll just assign meaningful names to my files, put them in a logical directory hierarchy, and stick with ext3, thanks.

  179. Re:Next premise, please by Anonymous Coward · · Score: 0

    What I read is that ntfs only journals the metadata, (or was it everything except the metadata), anyways that's exactly what I would expect from Microsoft: Technically we can call it a duck, but please don't expect it to really quack and waggle.

  180. Re:Linux encrypted filesystems not really up to sn by Anonymous Coward · · Score: 0

    Besides that there is Linux support for user-controlled encryption of loop-mounted filesystems: do you really trust the Microsoft encryption to do anything else than making your systems slower?

  181. Re:Linux encrypted filesystems not really up to sn by Anonymous Coward · · Score: 0

    "Sixth, NTFS supports key recovery with a backup, emergency passphrase (it can maintain two copies of the encryption key, one encrypted with, say, the administrator's password)."

    You just found the point where they will breach your data security.

  182. Use zisofs (compressed iso9660) by r6144 · · Score: 1
    ISO9660 filesystems can be compressed (so is cramfs, but it is a bit more limited than ISO9660) using the Rock Ridge extension. You cannot add or change any files on the compressed filesystem without redoing the whole compression, but for archival purposes this should not be a problem. Personally I use this to store compressed source trees or large documentation which I take a look once in a while.

    IIRC it should be something like that (foo should be a directory containing your stuff):

    mkzftree foo foo-z
    mkisofs -rz -o foo.iso foo-z
    rm -rf foo-z
    When you want to use the compressed file, use something like
    mount -t iso9660 -o loop foo.iso /mnt/foo
    You can also use automount, by adding a line like this to your automount config file (on my machine it is /etc/auto.autofs, referenced from /etc/auto.master:
    foo -fstype=iso9660,loop :/baz/foo.iso
    Then the compressed filesystem can be accessed as /autofs/foo, which can be symlinked to.

    To avoid running out of loop devices that these filesystems use, you may want to add

    options loop max_loop=64
    to your /etc/modules.conf (2.4 kernel) or /etc/modprobe.conf (2.6 kernel).

    Of course, huffyuv etc. should be more suitable in your case, as other posters have said, if your software can support it.

  183. Codec Huffyuv by gagol · · Score: 1

    I am working in multimedia production, including video. For lossless video compression (yuy, yuv or rgb) you can use HUFFYUV. The original site have vanished but some goggling will lend you to this.

    I used it for lossless outputs, lossless hi-res projections etc... stable and all, it think it's free software.

    --
    Tomorrow is another day...
  184. Are you aware there are RDBMSs for Linux? by Anonymous Coward · · Score: 0

    If you're going to hassle with "user defined attributes", you may as well store that information in an actual RDBMS and do it *right*.

    But then I don't know that the Windows "community" could accomplish something like that without waiting for Microsoft to do it for them.

    Microsoft has been *trying* to do it for 10 years, and they have already made major compromises in their promises about it in the next Windows release. Does the word "Cairo" ring a bell?

    Have fun waiting.

    While you do that, we'll be building a more open, more robust, more Free, and better system on our own.

    And seriously... Brian Adams? Whitney Houston? Do they play those artists to get the crowd fired up at MS Developer conferences or something?

    1. Re:Are you aware there are RDBMSs for Linux? by swissmonkey · · Score: 1

      WinFS exists and already runs, as opposed to your "more open, more robust, more Free and better" solutions which currently don't do much.

      As for Briand Adams & Whitney, well, I decline responsibility, I swear, I don't have a single CD or mp3 of these people :)

  185. You got the ordering wrong! by shadow_slicer · · Score: 1
    It should read:
    Do you file your income taxe receipts under 'R' for receipts, 'T' for taxes, 'M' for money, 'F' for finances, 'N' for 'ncome, 'E' for expense, 'W' for wait till april, or 'B' for blow off?
  186. Statement Correction: by Anonymous Coward · · Score: 0

    "innovative" native database/filesystem (copying an idea from IBM's hugely successful OS/400) Perhaps we need to clarify to the Unixesque/mainframe world the difference betweem an idea, and how well that idea is implemented. OS400 was an idea. The implementation, on the other hand wasnt so great.

  187. File IO without cache by Anonymous Coward · · Score: 0

    Hi

    Just a thought:

    Why is it not possible for a program to do IO on files without using the OS's cache?

    Tasks like writing a CD or taking a backup usually destroys the cache and swap - after the task is complete, applications are swapped and the cache is full of a file that's usually just deleted.

    What if you could e.g. specify a "d" in the fopen parameter, like fopen(filename,"rd") and that read (or write) would not use the cache?

    I think it would be greate.A programmer often knows more about data than the OS.

  188. Re:Laughable - at best. Likely just worthy of a gr by Eu4ria · · Score: 1

    But if I search for "Brian Adams" will I also get songs by Bryan Adams? http://www.bryanadams.com/

  189. rich metadata and VFS = libferris by monkeyiq · · Score: 1
    This is probably to late on in the piece to get modded up but anyway:

    As far as the metadata side of the linux.com article is concerned,
    many of the things talked about have been implemented and working
    nicely in libferris for
    quite a while now

    Most filesystems these days support EA (ext3, xfs, Reiser etc) the
    trick is having the system do something interesting for you with that
    EA capability automatically. This is another area where libferris
    helps, making EA that is trapped in files available aswell and
    providing indexing over your EA. (A catch-22 is that EA for files is
    supported in many kernel level filesystems but can be very slow
    relative to even file access, you have to index EA in some way in
    order to search for your files based on queries over your metadata).


    Supporting ACID at the libferris level is a pending challenge.

  190. Re:Next premise, please by TheNetAvenger · · Score: 1

    While it is true that NTFS is a journalling file system its implementation is *very feature poor*. NTFS can save you from MFT corruption which would be fatal to something like FAT but little more. NTFS' current journalling capabilites cannot provide enough data to roll back incremental changes (WinFS is supposed to have this) like Reiser and all other journalled FSes that Linux can use. NTFS' crappy journaling implementation is the main reason everyone on a Windows box STILL has to sit through those LONG volume scans if a disk isn't unmounted cleanly. In more robust FS like ReiserFS, Ext3, XFS, etc. the OS can just replay the log and redo any transactions that didn't go as planned. You cannot do this with NTFS as I understand it.

    I don't even have to respond. You know nothing about NTFS and even journalling in nature. Go pretend your smart somewhere people don't know how dumb you sound.

  191. Re:Next premise, please by TheNetAvenger · · Score: 1

    What about an open spec so that you can read and write it on non-Windows systems without having to reverse engineer? Can NTFS be used on a digital camera or Palm organizer? Not reliably.

    Technically the FAT and other file systems used on these devices are not open either. They are reverse engineered, and technically illegal.

    NTFS could be reverse engineered for these devices, but Win98,WinME users would not have access to the content, so providers have not used NTFS for this.

  192. Re:My wish: Case insensitivity by ChrisMaple · · Score: 1

    Just about everything in Linux which looks at an ext2 filesystem relies upon case matching exactly.

    --
    Contribute to civilization: ari.aynrand.org/donate
  193. Re:Linux encrypted filesystems not really up to sn by 0x0d0a · · Score: 1


    You just found the point where they will breach your data security.

    It's still something that a lot of organizations will want to have before they deploy something. The IT guy is nearly always a security hole anyway -- he's setting up the computer and saying "you can trust this". You might as well trust him with recovery duties as well.

  194. Re:Linux encrypted filesystems not really up to sn by 0x0d0a · · Score: 1

    do you really trust the Microsoft encryption to do anything else than making your systems slower?

    I'm not sure that I'd want to directly trust either the Windows or the Linux code with my life WRT the presence of zero flaws.

    On the other hand, I'd rely on both of them to be pretty solid, and be comfortable using either for data encryption of sensitive, classified, or incriminating data.

  195. VXFS by superpulpsicle · · Score: 1

    I really thought when Veritas was making a push for vxfs, that was going to be the real dominent commerical filesystem with a real industrial volume manager. I guess they couldn't make this free to any extent, so it went no where.

  196. Re:Laughable - at best. Likely just worthy of a gr by nathanh · · Score: 2, Funny
    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.

    I assume you're finding those particular MP3s so you can delete them. Badoom tish.

  197. diskspace is cheap by Cheetahfeathers · · Score: 1

    checksums are good. let's have self repairing filesystems. end bitrot forever.

  198. Re:Trust the Kernel team maybe... by Anonymous Coward · · Score: 0

    Certain software excercises certain code that other similar code may not.

    For instance, distcc seems beat on some kernel code more than just make -j 5 and bring out some potential kernel bugs.

    So, it may not be reiserfs/other_software = bad, kernel gods = good
    It might just be that certain combinations of software bring out the best/worst in each other.

  199. Modern drives by warrax_666 · · Score: 2, Insightful

    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.

    --
    HAND.
  200. The problem with "recoverable" rm... by warrax_666 · · Score: 1

    I wrote a longer reply which got lost (bloody crashy browser), but essentially is boils down to: The semantics are unclear without expanding the traditional UNIX system calls to include more semantic details about the context of the various operations (including allowing for real transactions). Adding this would make this unreasonably slow, because most of the time it's not actually needed (only user operations on files need this support, and it's completely wasted on anything else).

    For user files you can also approximate this by just using tla on your home directory (with appropriate embedded ID tags to prevent mv's from screwing up the file "tracking").

    --
    HAND.
  201. I think subversion does this by jtlim · · Score: 1

    Set up subversion via apache, then use the path as a WebDAV store. Then all writes to the files should be versioned [I think] - that's what I've understood from reading the documentation, though I haven't tried setting it up myself.

  202. Forgot to mention: by warrax_666 · · Score: 1

    The ability to undo after the fact would also complicate free space allocation (which is already quite nontrivial in file systems like Reiser4) because you'd have to find an (arbitrary) balance between: "Do we remove this file permanently" and "do we allocate some other free (but clearly suboptimal) blocks?". I.e.: There are lots of policy decisions which are usually best left to userspace.

    --
    HAND.
    1. Re:Forgot to mention: by GCP · · Score: 1

      Thanks.

      --
      "Those who have never entered upon scientific pursuits know not a tithe of the poetry by which they are surrounded."
  203. Re:Didn't you know? Linux is a penis by britneys+9th+husband · · Score: 0

    Too late. Someone already did, and they even gave it a name: bukkake.

    --
    Hear recorded Slashdot headlines on your phone! New service beta testing. Just call (248) 434-5508
  204. My recomendations by spitzak · · Score: 1

    Add Plan9 and 9P to Linux. This allows interpretation of most filenames to be done by user level programs and by remote services. This gives you encryption and compression and lots of other stuff that some people think are "filesystem" things. This also gives you the ability to put the entire "database" in user space, ie "/search/foo=bar" would be a directory listing all the files in the system that match the "foo=bar" criteria, dynamically created.

    Add Plan9 union mounts to Linux.

    Move all of the "ioslaves" that are in KDE/Gnome and move them to using 9P. The program "cat" should be able to open any string you can type into the fanciest KDE file browser and copy the contents. Instead of colon use slash. See 9P for details.

    Hit all the idiots with a clue by 4 until they figure out that a "filename" is a STREAM OF BYTES. It is not "text". This means no "canocolization" or "convert to wide characters" or "make sure it is legal UTF-8" or any of the other crap that we have been putting up with for years and years that has killed all progress in this field. Microsoft is of course the worst offender here, but new Unix designs are not so hot either, note that with locales I can easily create a file that I cannot display in KDE, that is wrong.

    "Metadata" should be required to be a cache of information figured out from the file. Do you want the postagestamp image? Look for the metadata, but if it is not there, run a program that will create it. Although physically not prevented, metadata that cannot be recreated from file data should be considerd a bad idea because it will be lost if the file is moved. This gets rid of all need to transmit metadata. Also it allows the metadata to be stored on a different system than the file, which is very useful if the file is remote or you don't have permission to write it.

    Using ReiserFS or EXT3 or NTFS WinFS is all trivial issues compared to this stuff.

  205. All good points, but... by warrax_666 · · Score: 1

    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?


    I'd go for / and just look through the 10 photos that are stored there (possibly named after the people in the photos, but I'm lazy so I usually just leave them with names like IMGXXXX.jpg), but I digress.

    My question (and I believe, the original poster's) is this: If people cannot be relied upon to even provide a file name that's meaningful, what makes you think that they'll be inclined to even provide a list of the people in photos, locations, etc.? Of course, one could just be obnoxious(sp?) and require that the user provide at least 3 pieces of metadata to identify a file. Not sure how well that would work, though.

    My current naming scheme is quite simple: Make sure that the path to your data contains all the metadata that you will want to search for. Then you can trivially use "locate" to find what you're looking for. Free text search in path names is actually quite powerful once you start naming files reasonably and putting the files into directory names which contain all the metadata necessary to retrieve them.

    (I would love system-wide virtual folders (backed by metadata) though, ... :))

    The only place I see people relatively consistently using metadata is music, but that's only because they actually don't have to: Somebody's already done it for them and put the results on FreeDB or Musicbrainz...

    In short: People are generally too lazy to make this work reasonably for most people. That's not to say I won't be using it. In fact, I'm quite looking forward to it. :)
    --
    HAND.
    1. Re:All good points, but... by mvpll · · Score: 1

      Well, my first line was a comment about automatically added metadata. Clever developers will find all sorts of ways to automatically add metadata without requiring user action. For example, suppose a mime type was stored with each file. Now when you do a search for images, there is no need to specify an extension, or for that matter even a type, anything image/*blah* will be included, be it in jpeg, gif or png format. This sort of functionality requires no user input.

      Locate is great, but ... it's slow. For example, I just saved a document in ~/docs/emails_from/bob/ , except I didn't. Distracted at a critical moment I 've dropped it somewhere on my filesystem. I could run updatedb, but I need the document _now_ not twenty five minutes later. I could run find, but where do I start it ... in the emails_from directory, my home directory ... it is still going to take a while and if I start in the wrong place I will have to restart the search again. With my metadata filesystem I should be able to do a search for documents saved from emails from bob in the last day and find it nearly instantly (all this information can be automatically added by the email program to the file when it is saved).

      The fact that smart users gain extra functionality above and beyond what can be provided automatically is bonus for them, but I can see even "lazy" users getting benefits.

  206. WINFS for Linux? by stock · · Score: 1
    After i just read this on The Register :

    "Server crash blitzes Florida's e-voting records"
    http://www.theregister.co.uk/2004/07/28/florida_vo tes/

    one wonders why a server crash allows for a possibility to loose its data. Apparenlty it was e-voting records which were lost. Also very very strange. Why?

    From the old days, using norton disk doctor (msdos based) and nowaways using the crash recovery kit (linux based), recovery was plain simple: use the basic rules for filesystems on disk sectors, and to loose all your data became an impossibility, except when having real physical disk damage.

    With the move from a filesystem to a database driven file and document storage a couple of things happen. 1st Knowing the basic rules of filesystems and disc sectors will become a useless skill. 2nd We come dependant to database recovery skills, which a market study shows are way more expensive per hour (CALL e.g. 0800-ORACLE) as filesystem/disk recovery services.

    This will have as major impact. If someone's Longhorn crashes and cannot recover itself anymore, your neighbour just might loose all its data. Why is it, I suddenly smell a dirty rat here? Do Ballmer & Co want to reshape the grand public perception that if your Windows dies, then also your data dies with it? Did he maybe get a clue from the RIAA/MPAA how to proceed further? Like how can we nail those kiddo's with all them 120Gig and bigger disks full mp3 and mpeg copyrighted multimedia content? Only the future will tell. Sofar i'm happy with running Linux on my desktop and laptop.

    I guess the perfect perception goal for Ballmer might be this future quote, meaning someone lost all his windows data : "Has your PC been Longhorned?"

    Now why linux.com/Novell also want Linux users to believe this, and advocate for the fast introduction of a linux database driven journalled filesystem, i don't know.

    Robert

  207. Apple isn't bringing a new file system by Anonymous Coward · · Score: 0

    Apple isn't bringing a new file system with Tiger. It is just doing searching right. Folks, this can be done on current file systems.

  208. Re:Laughable - at best. Likely just worthy of a gr by Davoid · · Score: 1

    I read your post and the responses and I can't agree with you. I tested it out on a file server I have:

    Tyan mobo, dual 333MHz PIII, 512M of RAM and 4 x 160G WD JB drives connected to a 3Ware 6400 in a RAID 5 configuration.

    The total file system space is 480GB and it is about half full (239GB). There are about 400,000 files on the system.

    I did various searches using 'locate' and 'grep'. On average the searches took 0.6 seconds... which is three times faster than WinFS. Some searches took as long as 1.8 seconds when combined with mutiple filters but that was the max. Shortest was 0.43 seconds. I didn't only search for MP3s (which are spread out all over the place) but also RPMs, tarballs, text files, video files, source files... you name it. Same results.

    Now it is obvious you don't understand what 'locate' is or does. You may even know something about WinFS. You claimed somewhere that you work for MS and have seen WinFS in action. I know nothing about WinFS. I will just have to take your word for WinFS being as much as three times slower than Linux/ext3 filesystem when doing searches for filenames (shrug). This is slashdot and there are all kinds of under-informed claims made here. You might want to be a bit more careful with your employer though... lest they be embarassed when their new WinFS doesn't actually stack up.

    -DU-...etc...

    --
    "Don't sweat the technique."
  209. Re:New FS (Reiser4 has a compression plugin coming by horza · · Score: 1

    Reiser4 has a compression plugin coming.

    What about encryption plug-in? That would be nice for those easy-to-lose USB keys.

    Phillip.

  210. Re:Laughable - at best. Likely just worthy of a gr by horza · · Score: 1

    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.

    Would it? Can someone try on their 200GB collection and post the results of: locate .mp3 | mp3info -p "%a" | grep "Brian Adams". Personally I think on any decent spec machine it should only take a few seconds.

    Phillip.

  211. gzip/zlib by Anonymous Coward · · Score: 0
    We got gzip to work, but it consumes too much cpu

    Did you use recent zlib library source? It's become significantly faster...

  212. Debian-legal says: GPL incompatible by Anonymous Coward · · Score: 0
    What are the winds of change saying? R..E..I..S..E..R...4...

    I don't know what the winds of change are saying, but the good people at Debian-legal say GPL-incompatible. Here is a controversial part of a text that the people at Debian interpreted as the licence (Read the entire license here)

    Finally, nothing in this license shall be interpreted to allow you to fail to fairly credit me, or to remove my credits such as by creating a front end that hides my credits from the user or renaming mkreiser4 to mkyourcompanyfs or even just make_filesystem, without my permission, unless you are an end user not redistributing to others. If you have doubts about how to properly do that, or about what is fair, ask. (Last I spoke with him Richard was contemplating how best to address the fair crediting issue in the next GPL version.)

    Is there a fundamental difference between XFree86 and reiser4?

  213. Please learn how to make links. by Anonymous Coward · · Score: 0
    Please learn how to make links.
    <a href="http://www.drbd.org/">replicating block device</a>
    yields: replicating block device
    1. Re:Please learn how to make links. by Feyr · · Score: 1

      one word: no

  214. Come on, mods...it was a joke. by rd_syringe · · Score: 1

    Laugh a little. :) It wasn't a troll, sheesh.

  215. Re:New FS (Reiser4 has a compression plugin coming by chtephan · · Score: 1

    Actually, the plugin does encryption, authentication and compression at once (only the ones that you want, of course).

  216. Re:My wish: Case insensitivity by Anonymous Coward · · Score: 0

    What's supposed to happen in your case-insensitive filesystem when one types a ß ?(german sz character) The capitalization of this character is SS (two characters)

    So? It gets stored as a ß. If a user types 'cat ß...' then it matches that file. If a user types 'cat SS...' then it matches that file. Case-preserving-yet-insensitive filesystems are nothing new; NTFS has done this for years.

  217. Plugins by Anonymous Coward · · Score: 0

    Interesting... Could this feature be done as a plugin for Reiser4?

  218. So what is it? by arafel · · Score: 1

    This whole thread would be slightly more useful if you actually said what else WinFS is useful for.

    Particularly for you, actually. What does it give *you* that other filesystems don't?

    1. Re:So what is it? by mingot · · Score: 1

      A lightweight relational datastore that is built into the OS. As a developer this is nice. Very nice. Currently my viable options are MSDE/SQL Server (too heavy for small apps, hard to build the MSDE install into another products install) or Access (too light, apt to corrupt itself, leaves a file laying around that any user with access installed can easily poke into). WinFS + .NET framework will be a much nicer solution since there are no install woes or extra files laying about. In addition classes can be generated to programatically access the schema I have defined, and I can generate classes to access other schemas and even extend other schemas.

    2. Re:So what is it? by arafel · · Score: 1

      Forgive the ignorance, but it doesn't exactly sound particularly innovative...

    3. Re:So what is it? by mingot · · Score: 1

      It isn't. To me it's simply a relational database as a part of the OS and will be installed by EVERYONE who installs said OS. Simple idea, I've been wishing someone would do it for ages. The fancy stuff they are building on top of it might be exciting to some people, and might even be what's innovative, but that's not my bad.

  219. Re:Next premise, please by Anonymous Coward · · Score: 0

    NTFS has had journalling for over a decade. And Unicode. And ACLs. And streams. And reparse points (these are amazingly cool). And compression. And encryption. And ... you get the point.
    Now, MS doesn't use most of this good stuff, but it's all in there.


    Er, sorry? MS most certainly does use the journalling, unicode, ACLs, streams, compression, and encryption.

    The only feature you mention which isn't exposed through the GUI is reparse points, which are trivially created with third-party utilities, and which I use every day.

    So which is the "most of this good stuff" you're saying they don't use, given that they use all but one of the features you mention?