Slashdot Mirror


How To Move Your Linux Systems To ext4

LinucksGirl writes "Ext4 is the latest in a long line of Linux file systems, and it's likely to be as important and popular as its predecessors. As a Linux system administrator, you should be aware of the advantages, disadvantages, and basic steps for migrating to ext4. This article explains when to adopt ext4, how to adapt traditional file system maintenance tool usage to ext4, and how to get the most out of the file system."

304 comments

  1. But does it run... by RiotingPacifist · · Score: 2, Funny

    reiser4?

    --
    IranAir Flight 655 never forget!
    1. Re:But does it run... by 2muchcoffeeman · · Score: 4, Funny

      Reiser4 will absolutely kill ext4.[/badtastedaemon]

      --
      Prevent Windows piracy. Use Linux instead.
    2. Re:But does it run... by Sentry21 · · Score: 5, Funny

      From what I've read, Reiser4 completely kills Ext4 in performance... then it disposes of ext4's kernel module, removes one of its redundant drives, and then cleans the free space left on its array.

    3. Re:But does it run... by Anonymous Coward · · Score: 0

      I believe the proper question is how fast does it run FROM reiser4?

    4. Re:But does it run... by electricbern · · Score: 5, Funny

      But it is too verbose, and that ends up being a problem.

      --
      alias possession='chmod 666 satan && ls /dev > il && tail daemon.log'
    5. Re:But does it run... by CatOne · · Score: 3, Funny

      How would you know? It's as if the old Ext4 system just... vanished.

      Even if you found a platter under the front seat.

    6. Re:But does it run... by erlehmann · · Score: 2, Funny

      Not only that. It killed my backup copies of bride.ru , i needed for, err science.

    7. Re:But does it run... by Anonymous Coward · · Score: 1, Funny

      sounds like EOL with no possibility of fork.

    8. Re:But does it run... by erlehmann · · Score: 5, Funny

      You apparently didn't get the whole picture. It's not about single files - Reiser4 is just a better choice for partitioning your wife.

    9. Re:But does it run... by Anonymous Coward · · Score: 1, Funny

      Try looking amongst the random debris in your fanny pack.

    10. Re:But does it run... by apt-get+moo · · Score: 1, Funny

      In Soviet Russia, files find and kill YOU!

      This never seems to get old.

      --
      ...."Have you mooed today?"...
    11. Re:But does it run... by Trogre · · Score: 1

      Speaking of which, since all this Reiser ugliness, has anyone else noticed the surge of slashdot ads for Russian mailorder brides?

      Coincidence?

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    12. Re:But does it run... by Chrisq · · Score: 1

      It has a built-in wash disk facility, which will hose down your old data but leave an inch of water.

    13. Re:But does it run... by AftanGustur · · Score: 2, Funny

      Well, you open up your computer to find that the hard drive has been removed ..

      And the rest of the PC interior has been carefully cleaned.

      --
      echo '[q]sa[ln0=aln80~Psnlbx]16isb572CCB9AE9DB03273snlbxq' |dc
    14. Re:But does it run... by Anonymous Coward · · Score: 0

      >>cleans the free space left on its array
      after claiming the ext4 kernel module uploaded itself to a .ru server.

    15. Re:But does it run... by Corwn+of+Amber · · Score: 1

      Just to ask in a high thread, is it any faster than Reiser4?

      No, not flamebait. But Reiser3 was so much faster than everything, and Reiser4 squashed those perfs with one hand tied. So I'd like to know. Benchmarks anyone?

      About "moving your data" : backup, format, restore. (tar, mkfs.ext4, tar -x. See? Polyglot!) How hard is that and why does it need an article and how is that news?

      --
      Making laws based on opinions that stem up from false informations leads to witch hunts.
    16. Re:But does it run... by Anonymous Coward · · Score: 0

      Just like he killed his wife!

    17. Re:But does it run... by mav[LAG] · · Score: 1

      Although there's still an inch of water sloshing around in the bottom of the case and two books on why you should remove hard drives...

      --
      --- Hot Shot City is particularly good.
  2. Mere Mortals? by db32 · · Score: 1

    "largely unnoticed by mere mortal Linux users and administrators" strikes me as a strange phrase to find on this IBM page. Is there some other IBM project more interesting than ext4 being revealed here?

    --
    The only change I can believe in is what I find in my couch cushions.
    1. Re:Mere Mortals? by Anonymous Coward · · Score: 0

      "Is there some other IBM project more interesting than ext4 being revealed here?"

      Well, JFS is certainly a more interesting filesystem. However I am interested in their un-dead system administration staff. Finally someone to get a hold of Zombie processes.

    2. Re:Mere Mortals? by mweather · · Score: 2, Funny

      Do you think the public response would have been different had he been in a bar?

    3. Re:Mere Mortals? by Anonymous Coward · · Score: 0

      It probably would have been slightly less if he was picking up men/women in a bar for anonymous sex, though I don't know.

      That's not nearly analogous to the situation though--pickup up a sexual partner at a bar isn't illegal, it's just immoral (if one or both are married). It's the perversity and ILLEGALITY of cruising for sex (gay/straight/whatever) in a public toilet that most disturbed people!

    4. Re:Mere Mortals? by JackieBrown · · Score: 1

      You know, I thought I was missing a post and others got it, until I realized that you were responding to yourself.

      Nice trick.

    5. Re:Mere Mortals? by Anonymous Coward · · Score: 0

      I have mod points but there is no "-1 responded to way off-topic sig"

    6. Re:Mere Mortals? by Anonymous Coward · · Score: 0

      Actually, I was responding to the GP's signature. You're probably wise and have turned them off :)

  3. Not for the casual user by halivar · · Score: 4, Informative

    ext4fs is designed to be used in systems requiring many terabytes of storage and vast directory trees. It is unlikely the common desktop (or even, for that matter, the common server) will see appreciable performance increase with it.

    1. Re:Not for the casual user by Anonymous Coward · · Score: 5, Funny

      Do you realize how much porn some people have?

    2. Re:Not for the casual user by Anonymous Coward · · Score: 0

      Its also unlikely we will ever need more then 640KB of ram!

    3. Re:Not for the casual user by Vellmont · · Score: 5, Informative


      It is unlikely the common desktop (or even, for that matter, the common server) will see appreciable performance increase with it.

      Disk sizes are going up. In a few years you'll see a terabyte on a single drive. I'd also say that features like undelete, and online de-frag are important to anyone.

      So while you may not see any real performance increases, that's really beside the point.

      --
      AccountKiller
    4. Re:Not for the casual user by Anonymous Coward · · Score: 5, Funny

      Instead of waiting a few years, go to your local computer store. They should have terabyte drives now.

    5. Re:Not for the casual user by A+nonymous+Coward · · Score: 4, Funny

      Disk sizes are going up. In a few years you'll see a terabyte on a single drive. Unlike those two 1000 GB (or is it 1024) drives I have on my desk now.
    6. Re:Not for the casual user by miscz · · Score: 3, Interesting

      I can't wait for faster fsck. It takes something like an hour on my 500GB ext3 partition. Terabytes of storage are not that far away.

    7. Re:Not for the casual user by Anonymous Coward · · Score: 0

      1TB drives are available now. Currently they run $220-$280.

      Of course, those aren't truly 1TB but rather 1,000,000,000,000 bytes (0.91TB) instead of 1,099,511,627,776 bytes (1TB)...

    8. Re:Not for the casual user by Uncle+Focker · · Score: 4, Informative

      Disk sizes are going up. Since last year we've seen a terabyte on a single drive. Fix'd it for you.
    9. Re:Not for the casual user by XenoPhage · · Score: 5, Funny

      All you young kids want these days is a faster, more convenient fsck.. What about the old days where fscking was about the technique, not the speed or the size...

      --
      XenoPhage
      Technological Musings
    10. Re:Not for the casual user by stuporglue · · Score: 3, Interesting

      I have the following disks in my computer:

      1 TB
      500 GB
      300 GB

      When they decide to fsck at the same time, it can take 1/2 hour or longer to get to the login screen.

      --
      https://www.facebook.com/digitizeicm -- Show your support for the digitization of the Iron County Miner newspaper archiv
    11. Re:Not for the casual user by dpilot · · Score: 2, Interesting

      It might be a win for me even today on my meager 300G MythTV media partition. I'm currently using xfs for that, but every now and then I hear about bad things on xfs with a power failure, and other times I hear that it can be physically hard on the hard drive. (excess head motion?) Of course other times I hear that xfs is the best thing since sliced bread, and is usable for ANY purpose with just a little tuning.

      I transcode my Myth stuff on an ext3 partition, and occasionally get complaints about the large data size without having the right options set. But it works.

      --
      The living have better things to do than to continue hating the dead.
    12. Re:Not for the casual user by LWATCDR · · Score: 3, Insightful

      But EXT4 because really useful when you have many terabytes of disk storage. With just one or two EXT3 is probably good enough.
      Now when we have ten TB drives....
      Good grief people Yea just keep a few thousand TV shows on your desktop.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    13. Re:Not for the casual user by LWATCDR · · Score: 2, Informative

      No file system likes a power failure. Bet a UPS that will shut down the PC. They are cheap.
      And if you care about that data make a backup and even better run a raid.

      Remember EVERY HARD DRIVE IS GOING TO FAIL SOMEDAY.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    14. Re:Not for the casual user by trolltalk.com · · Score: 1

      ext4fs is designed to be used in systems requiring many terabytes of storage and vast directory trees. It is unlikely the common desktop (or even, for that matter, the common server) will see appreciable performance increase with it.

      Really? My (comparatively) cheap laptop has 640gig of storage, and when you start getting into video, 640g is NOT enough!

      You can buy 2 x 500gig desktop hds for the grand total of $150.

      At that price, a terrabyte will be the "new pink" within a couple of years. Just like 2 gigs of ram is now the "norm".

    15. Re:Not for the casual user by EvilRyry · · Score: 5, Interesting

      This is why we have XFS. I fscked a 9TB partition is under 10 minutes. Hopefully they've done some improvements for ext4 in this area. A volume that takes days to fsck might as well just die completely.

    16. Re:Not for the casual user by techno-vampire · · Score: 5, Funny
      I can't wait for faster fsck.


      I can tell you're a slashdotter. When most people fsck they want it to last as long as possible.

      --
      Good, inexpensive web hosting
    17. Re:Not for the casual user by drinkypoo · · Score: 4, Funny

      What about the old days where fscking was about the technique, not the speed or the size...

      I'm just happy when it's done for me, and I don't have to handle it manually. When fscking fails at the beginning, it can ruin your whole day if you're not an expert.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    18. Re:Not for the casual user by dpilot · · Score: 1

      My /home is nfs4, the server is on a UPS, and the disk(s) on the server are raid-1.

      I don't really care that much about TV, but would prefer not to lose it. If it were on ext3 I'd have it journal=data, or is that data=journal, anyway, full data journaling instead of just metadata. Incidentally, my raid-1 is set up that way, both for reliability and because I'd read that it's actually faster for an nfs server.

      --
      The living have better things to do than to continue hating the dead.
    19. Re:Not for the casual user by Daimanta · · Score: 4, Funny

      I fscked a 9TB partition is under 10 minutes. That's what you get when you throw a harddrive in a bathtub with water.
      --
      Knowledge is power. Knowledge shared is power lost.
    20. Re:Not for the casual user by diegocgteleline.es · · Score: 4, Interesting

      Ext4 has a lot of performance improvements, like extents or delayed allocation. Desktop users will notice that ext4 is much faster

      That said, ext4 is unstable. It can easily eat your data. Just say NO to moving your filesystem to ext4 - for now.

    21. Re:Not for the casual user by instagib · · Score: 2, Informative

      Correct, and that's why outsourcing your fscking needs is the way to go. These days it is more and more common to not maintain fscking resources inhouse; instead you choose from a variety of service level agreements who will take care of everything around fsck and related issues.

    22. Re:Not for the casual user by CrazedWalrus · · Score: 4, Funny

      No kidding. Sometimes I'm just not into fscking either, but if you're failing at the beginning, you may want to call an expert.

      Usually my problem is that my fsck gets a "fsck-completed-normally", when the media is really only half fscked.

      But don't worry -- fscking takes practice. If you got a quality media, you can half-fsck it many times before the media fails completely.

      May I also suggest fscking aids? There are many tools on the market that can help when your fscking routinely fails doesn't complete. They're usually lightweight and easy to use, and can help to save your media from getting fscked elsewhere.

      As you said, when all else fails, sometimes you really do just need to handle it manually.

    23. Re:Not for the casual user by stanleypane · · Score: 4, Funny

      You obviously haven't been married ;)

    24. Re:Not for the casual user by ewanm89 · · Score: 1

      May be they should parallise it, so they actually happen simultaneously, surely the most expensive part is actual disc access speed.

    25. Re:Not for the casual user by SpaceLifeForm · · Score: 3, Funny
      That should be 'dick' sizes if you're going to be waving your hard drives around here.

      --
      You are being MICROattacked, from various angles, in a SOFT manner.
    26. Re:Not for the casual user by Ucklak · · Score: 1

      That's not bad compared to Windows.

      I have a 160GB, and 2 500GB and when it CHKDSK, it can take a couple of hours.

      --
      if you steal from one source, that is plagiarism, if you steal from many, well, that's just research.
    27. Re:Not for the casual user by erlehmann · · Score: 5, Funny

      Good grief people Yea just keep a few thousand TV shows on your desktop.
      This could make for RIAA settlements in an order of magnitude of the GDP of a small country !
    28. Re:Not for the casual user by glwtta · · Score: 2, Insightful

      ext4fs is designed to be used in systems requiring many terabytes of storage and vast directory trees

      Well yeah, but Slashdot seems like a pretty good place to find people who administer multi-TB systems, no?

      A terabyte isn't what it used to be (hell, 1TB SATA disks are pretty common) and ext3 sucks pretty hard even on a measly TB.

      Does the sub-TB desktop crowd even care about filesystems? I mean, they all pretty much work and these days the popular ones have pretty similar performance (on a single spindle, at least).

      --
      sic transit gloria mundi
    29. Re:Not for the casual user by Sancho · · Score: 2, Interesting

      Why not? When storage density gets so high and the drives get so cheap, why not rip all of your movies and store them on disk? I'm lazy, and don't want to get up to change the disk.

    30. Re:Not for the casual user by LWATCDR · · Score: 1

      Well just how many times do you watch a movie? That is one of the things I never could get.
      I know people that collect movies. They have a netflix account and as soon as they show up they make a copy. How much free time do people have to watch movies or is just the thought of having them?
      But right now you can store a few hundred movies a moderate sized HD. What will you store when you have many TB of storage. And of course we have the old slashdot joke about the porn collection.
      But back to your lazy part. I guess I am too lazy to rip and store a few hundred or even a few dozen DVDs. I will just grab one from the box and go.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    31. Re:Not for the casual user by EvilRyry · · Score: 1

      There is more to computing than desktops. To many businesses, 16TB is almost nothing.

    32. Re:Not for the casual user by Sancho · · Score: 2, Interesting

      I have scripts to automate any digital conversions that I perform, so time isn't really a factor. It's easy enough to grab a stack of discs, set them by my workstation, and do the ripping while you're working on other tasks. If you have a media PC that you use to play back DVDs, you can perform the ripping there the first time that you want to watch the movie. Any time someone else wants to watch it, they can just watch the cached version.

      As for your other points, it's largely a packrat mentality. There have been times when I wished that I could rent a movie, only to find that it's no longer available on DVD. Sometimes Netflix has it, sometimes they don't, but when production stops, it stops, and as copies of the movie wear out, it becomes much harder to come by. That makes purchasing them and backing them up on magnetic media more attractive, even if I may not get around to watching the films again any time soon.

    33. Re:Not for the casual user by whmac33 · · Score: 3, Informative

      from
      man fsck
      "filesystems on different drives will be checked at the same time to utilize parallelism available in the hardware."

      If / is small it will be quicker. If / is a large partition then it hinders any parallelism.

                    The sixth field, (fs_passno), is used by the fsck(8) program to deter-
                    mine the order in which filesystem checks are done at reboot time. The
                    root filesystem should be specified with a fs_passno of 1, and other
                    filesystems should have a fs_passno of 2. Filesystems within a drive
                    will be checked sequentially, but filesystems on different drives will
                    be checked at the same time to utilize parallelism available in the
                    hardware. If the sixth field is not present or zero, a value of zero
                    is returned and fsck will assume that the filesystem does not need to
                    be checked.

    34. Re:Not for the casual user by Xabraxas · · Score: 3, Informative

      Ext4 has a lot of performance improvements, like extents or delayed allocation. Desktop users will notice that ext4 is much faster

      XFS has both extents and delayed allocation. I really don't know why we need Ext4. XFS has been a very solid fs for quite some time now, it's sad that more attention hasn't been payed to it from kernel hackers. The whole idea behind Ext4 seems to be more of a NIH syndrome than anything else. I could understand if it was radically different but it isn't.

      --
      Time makes more converts than reason
    35. Re:Not for the casual user by whmac33 · · Score: 1

      Err... man fstab

    36. Re:Not for the casual user by LWATCDR · · Score: 2, Interesting

      Yes I have thought about setting up a media PC but then I would have to set up an NAS and then I would want to move over to GigaE. Once I did that I would want to get an IPod Touch and write a WiFi based Universal remote program for it....
      It is just more productive to grab the DVD.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    37. Re:Not for the casual user by rainhill · · Score: 1

      I bet fscking was done faster in older days, have you seen our forked ancestors fscking on tree branches in African jungles?

    38. Re:Not for the casual user by oddfox · · Score: 5, Insightful

      One of many reasons right here

      I messed around with Ext4 for a little while on my machine (Like a couple days, just toying with it and seeing how its performance compares to Ext3 and Reiser4) a while back, like maybe a little bit before it was merged as experimental in the mainstream kernel. It is fast, backwards-compatible and extremely featureful. XFS is not a bad filesystem, but it has some problems, in my eyes. Metadata-only journaling, aggressive caching that makes it a potentially dangerous choice if you don't have a UPS, very slow metadata and deletion operations.

      That's great that XFS has a lot of features Ext4 is bringing to the playing field, and has had them for a long time. To pretend, however, that the developers of Ext4 simply have a NIH syndrome is just silly and disregards the fact that there is a lot that Ext4 already provides that XFS doesn't, and even more that it will soon. You might not see what the big deal is, but really, I can assure you that it won't be very long before the new ideas Ext4 employs are in widespread use.

      Here's an interesting article that really caught my eye with this: "Storage snapshot: The financial firm has more than 14 Petabytes of active storage and plans to add "several more Pbytes" within the next 12 months."

      --
      "We invented personal computing." - Bill Gates
    39. Re:Not for the casual user by Erpo · · Score: 1

      It is unlikely the common desktop (or even, for that matter, the common server) will see appreciable performance increase with it. Extents!
    40. Re:Not for the casual user by Awptimus+Prime · · Score: 1

      do this mean if i upgrade, i can actually perform 'ls' in my mp3 folder? it seems my computar do not like 8k files in one directory.

    41. Re:Not for the casual user by turing_m · · Score: 2, Informative

      Several points as to why the need for massive TB of storage of video (backups of course):
      1) People wanting a lossless copy of the original media. i.e. purists.
      2) Bonus content.
      3) HD video.
      4) Kids - they will want to watch different movies, over and over and over, at different ages.
      5) Watching a movie with friends.
      6) Keeping it all out of sight, out of mind.
      7) Wanting to keep the NAS within a small power threshold, i.e. more easily done with higher storage density/fewer HDD. Better for the environment too with fewer HDD.
      8) Never underestimate the bandwidth of a stationwagon full of HDD.
      9) As someone else said, the packrat mentality. Who knows when that movie you want to watch will be out of production or perhaps banned?

      --
      If I have seen further it is by stealing the Intellectual Property of giants.
    42. Re:Not for the casual user by sydneyfong · · Score: 1

      As a sibling poster has mentioned, using XFS is dangerous if you don't have a UPS.

      It's well known that if you get a hard shutdown (like, sudden power failure) when accessing files in a XFS partition, the contents of those files will be zeroed out.

      For expensive server farms this won't be a problem. UPS, redundant servers, backups, etc will generally render the problem moot. But for my desktop that's backed up like once every few months (I know, I know...) data integrity is much more important than whatever advantages XFS could provide.

      --
      Don't quote me on this.
    43. Re:Not for the casual user by Anonymous Coward · · Score: 0

      Well, use ext3 then, you'll get more than an
      hour of fsck for a 1 Tb partition, more than
      4 hours on a 4 Tb, etc. etc.

    44. Re:Not for the casual user by Anonymous Coward · · Score: 0

      In 1982 a videogames was less than 64Kb. Today
      is often more than 3 Gb. This applies for photos, videos, etc.etc.

      These days a 750 Gb Hard disk isn't that strange
      in a desktop system. In a couple (ok, 2-4) years
      we'll go for 2-4 Tb disks in desktop segment.

      Media partitions will be of more than 1,5 Tb and
      one single complete ext3 fsck will be more than
      100 minutes long, while it will be less than
      5 minutes with other fs.

      As desktops aren't always turned on like
      servers, you'll about a couple of long fsck
      in a month, for a total of 200 minutes waiting
      every month......

    45. Re:Not for the casual user by TractorBarry · · Score: 1

      Whilst it is undoubtedly important (someties vitally so) "Undelete" is the wrong answer to the wrong problem.

      What we need are file systems that allow multiple versions of files. Whenenver a files contents is altered (e.g. by an editor) the output should be to a new version of the which has the same logical name but which has an implicit higher generation number. The generation number being another file attribute which is held at the directory level.

      So for instance I should be able to keep multiple generations of, let's say "/etc/X11/xorg.conf" (yeah I have loads of problems with that) without have to resort to manually adding sufffixes to files such as "/etc/X11/xorg.conf-2008-01-01", "/etc/X11/xorg.conf-2008-01-02" etc. etc.

      By using this scheme then editing xorg.conf would results in two files which would show up from, say the output of "ls" as follows: /etc/X11/xorg.conf(2) /etc/X11/xorg.conf(1)

      n.b. The bracketed generation number whon at the end of the file name is not part of the name, it is only displayed when using "ls etc." By default you'd just use commands such as "nano /etc/X11/xorg.conf" and, if 2 were the highest generation, you'd start editing generation 2. If you wanted to you could obviously do "nano /etc/X11/xorg.conf(1)". Both of these edits would result in generation 3 of the file being created.

      We've had this sort of file system in VME (Virtual Machine Environment) mainframes since the 1970s and quite frankly I find using *NIX and WINDOWS file systems to be utterly primitive and archaic.

      The whole "only one generation of a file at any one time" paradigm is ludicrous and needs replacing with a better model. Undelete is simply an, admittedly very useful, but poor "hack".

      Just my periodic "primitive PC file systems" rant :)

      --
      Sky subscribers are morons. They pay to be advertised at !
    46. Re:Not for the casual user by Random+Walk · · Score: 2, Interesting

      XFS has that nasty 'security' feature that it will zero files that were open when the power failed. Never use XFS on hardware that has no battery backup to shutdown properly if you trip over the power cable.

    47. Re:Not for the casual user by aproposofwhat · · Score: 1
      Psssst!

      If you've got fscking aids, stop fscking the wrong partition!

      --
      One swallow does not a fellatrix make
    48. Re:Not for the casual user by at0mjack · · Score: 1

      On a 64-bit system with lots of memory, fine. I had a 2TB XFS partition get corrupted, and it was not possible to recover it as the fsck tool required more memory than is possible under a 32-bit OS.

    49. Re:Not for the casual user by at0mjack · · Score: 1

      One big problem with XFS is that it's not usable for decent-sized partitions unless you have a 64-bit kernel. If you have a filesystem bigger than around a terabyte you can't run fsck on it, as fsck will require >3GB of RAM.

    50. Re:Not for the casual user by Anonymous Coward · · Score: 1, Funny

      5.76TB, excluding the donkeys.

    51. Re:Not for the casual user by Crayon+Kid · · Score: 1

      Actually, I expected to see parent modded Insightful.

      --
      i ate crayons when i was a kid and now i have two braincells and the blue ones taste nicer
    52. Re:Not for the casual user by Crayon+Kid · · Score: 1

      Oooh, love the subtle touch, how you said "have been" ie. not "are".

      --
      i ate crayons when i was a kid and now i have two braincells and the blue ones taste nicer
    53. Re:Not for the casual user by MMC+Monster · · Score: 2, Insightful

      I buy movies when the run $5-15 at the local store. I like having the physical disc. I may watch a movie just once, but good ones I'll watch at least a few times or more.

      There's nothing better than to sit down with the wife one evening and use the remote and flip through the DVD collection on the TV and start the movie without having to get up and figure out what to watch.

      It also means we're more likely to watch something we both enjoy rather than whatever happens to be on the TV at that time.

      --
      Help! I'm a slashdot refugee.
    54. Re:Not for the casual user by hackstraw · · Score: 1

      When they decide to fsck at the same time, it can take 1/2 hour or longer to get to the login screen.

      Why do they do this?

      The defaults for mke2fs are unfortunately wrong. The check after X mounts and Y amounts of time are not done by any OS installers that I know of. man tune2fs on how to stop these checks on boot. I've turned these off on over 1000 disks in my time and it has yet to of come to haunt me since, doing a reboot and having to wait an unknown amount of time really sucks.

    55. Re:Not for the casual user by Abalamahalamatandra · · Score: 1

      Gosh, without even trying I'm up into the 3+ terabyte range on my home server, and that's just for casual whole-house use for me an my family. An easy 6-7 gigabytes of that alone is a HUGE tree of JPG files for family photos accumulated since I started with digital photography in 1999. Another terabyte is raw video that I've been accumulating that needs to be edited down, just have to get around to it.

      So, given those kind of figures, I think the "common server" could easily start getting there, if not now, surely within the next 10 years. When I get into that kind of storage, I'll want a filesystem that's been around awhile and has stood the test of heavy production use. No offense and no jokes here, but I never considered ReiserFS for that reason - I'm not going to trust my data to unproven filesystems.

    56. Re:Not for the casual user by Fatalis · · Score: 1

      epic fail.

      --
      Deus est fatalis
    57. Re:Not for the casual user by Abalamahalamatandra · · Score: 1

      Something tells me you worked at DEC at some point in your career.

      I don't think we'll be seeing things like file generation identifiers showing up in the actual filename any time soon - that's pretty primitive. I would like to see snapshotting of the type that's been available on NTFS for quite awhile, though, to allow for separate restoration of previous versions and proper backups of open files.

    58. Re:Not for the casual user by gosand · · Score: 1

      After you have kids, you aren't so much interested in how long it lasts, but the MTBF. (Mean Time Between Fscks)

      --

      My beliefs do not require that you agree with them.

    59. Re:Not for the casual user by Anonymous Coward · · Score: 0

      fscking A

    60. Re:Not for the casual user by civilizedINTENSITY · · Score: 1

      I don't know, but it rather sounds as if you are being *very* productive in the former scenario, and just watching a movie in the latter.

    61. Re:Not for the casual user by Inner_Child · · Score: 1

      The RIAA is in charge of suing people that pirate TV shows now? They really are branching out, aren't they?

      --
      Today is red jello day - all workers must eat all of their red jello. Failure to comply will result in five demerits.
    62. Re:Not for the casual user by halivar · · Score: 1

      but I never considered ReiserFS for that reason - I'm not going to trust my data to unproven filesystems.
      Yeah, you don't want it killing your system.

      *ducks*
      *runs*
    63. Re:Not for the casual user by Grishnakh · · Score: 1

      Disk sizes are going up. In a few years you'll see a terabyte on a single drive.

      Hello from May 2008! You appear to be communicating with us through a wormhole from the recent past, perhaps 2005. I wish I could offer you some words of encouragement about the future, but other than terabyte drives now being a reality, I don't really have much good to say. Assuming you're in the US, gas prices are way up, we've selected three really awful candidates to run in the November elections, and the realty bubble has collapsed, and we're entering a recession. I recommend you sell your house(s) now while the prices are still high, because they're about to crash.

    64. Re:Not for the casual user by rtechie · · Score: 1

      As others have pointed out, ext4 offers undelete and online defrag, features users have wanted for many years. However, I think a better case can be made to move the the extremely stable XFS file system rather than mess with the buggy ext4. XFS has more features anyway. The only really credible competitor seems to be ZFS.

      Once ext4 is more stable everyone should move to it (or, I would argue, XFS).

    65. Re:Not for the casual user by medlefsen · · Score: 1

      this has been beaten to death, but just so ya know, a TB is 10^12 bytes so it is correct. A TiB (tibibyte) is 2^40. for more info: http://en.wikipedia.org/wiki/Binary_prefix

    66. Re:Not for the casual user by amRadioHed · · Score: 1

      Forget about the computer, I couldn't stand to have 8k files in one directory. I've got ~10k music files, but they are sorted by artist and album. That way the largest directory, Artists, has only ~500 files.

      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
    67. Re:Not for the casual user by Awptimus+Prime · · Score: 1

      Yeah, I know it sounds bad, I used to keep them in the same fashion. I'd have everything sorted out all nice, but then I got a macbook and let itunes import my stuff. Of course, it did the crazy sorting and got everything set up in impossible to manage directories. This was fine, since all my original stuff was on the other system, raid5 and such. Well, as luck would have it I lost a drive and a spare on the same day due to a faulty PSU. Then a few days later, my position was eliminated and I had like 2 hours to get everything off the laptop-- thus copied the whole mess into one directory on one of my linux boxes. Being impatient, I just went and imported them with Rythmbox and Twonkymediaserver, which both work great since they use a db to store the file's locations. To cut down on resources, I finally just broke the directories off into chunk1 chunk2 and so on. To keep things maintained, I make sure everything has good id3 data so it doesn't matter how jumbled the files are as long as I've got some frontend to deal with them.

      Yes, a far cry from the days of using mplayer on the command line. It was essential to keep everything organized very well back then, but modern technology has turned me into a file slob.

    68. Re:Not for the casual user by amRadioHed · · Score: 1

      Well, at least you've got a good reason for the mess they're in! At least you were able to recover the files. It's my worst nightmare to lose the RAID1 I have all my music on and have to rip everything again.

      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
    69. Re:Not for the casual user by Awptimus+Prime · · Score: 1

      If only I still had my original CDs. I'm stuck lugging around these bits on various backups until I get the mad money for a better solution. It's sadly near the bottom of my stack of to-dos which means I'll probably have disaster strike.

  4. Wikipedia entry by drgould · · Score: 5, Informative

    Link to Ext4 entry on Wikipedia for people who aren't familar with it (like me).

    1. Re:Wikipedia entry by miscz · · Score: 3, Funny

      Because nobody on Slashdot knows that primary filesystem used on Linux is called Ext3 and we're too stupid to figure out what Ext4 might be. Come on.

    2. Re:Wikipedia entry by discord5 · · Score: 3, Funny

      Because nobody on Slashdot knows that primary filesystem used on Linux is called Ext3

      Now now, don't give us too much credit

      we're too stupid to figure out what Ext4 might be

      It's like ext2 times two, stupid.

    3. Re:Wikipedia entry by Anonymous Coward · · Score: 5, Funny

      My Linux box goes to ext11.

    4. Re:Wikipedia entry by Applekid · · Score: 1

      Because nobody on Slashdot knows that primary filesystem used on Linux is called Ext3 and we're too stupid to figure out what Ext4 might be. Come on. I, for one, saw the news item and immediately thought, "How to move to ext4? What's in it for me?"

      Thank you, GP, for saving me the seconds of typing with a convenient link. And shame on you for wanting to put out a candle that might be used to light the darkness.
      --
      More Twoson than Cupertino
    5. Re:Wikipedia entry by ajayrockrock · · Score: 2, Funny

      It's like ext2 times two, stupid.


      No, wrong. it's the next stable release of ext. remember people, odd numbers are development, even numbers are stable!

      okay, mod me down, I should really come up with new jokes.
    6. Re:Wikipedia entry by muszek · · Score: 1

      Who knew Debian stable was so bleeding edge all these years (my grandma says "decades")?

    7. Re:Wikipedia entry by hostyle · · Score: 1

      wow. a real life gentoo user! i feel privileged.

      --
      Caesar si viveret, ad remum dareris.
    8. Re:Wikipedia entry by Sentry21 · · Score: 1

      It's like ext2 times two, stupid. No, it's ext2 squared! Sheesh, seriously.
    9. Re:Wikipedia entry by Chrisq · · Score: 1

      Yes, we all count 1,2,3, 8.1, 95, 2000, 2003

    10. Re:Wikipedia entry by Mr.+Jaggers · · Score: 1

      Hey, now! No need to be hostile, we like our Gentoo.

      Now, excuse my while I read the handbook and figure out how to keep an old version of portage around to use Manifest1-hash digests for manifests from my overlays...

      Seriously, though, I have always liked the Gentoo approach, having always admired the BSD zen of package management, but liking the Linux kernel, especially the 2.6 build system, which totally rocks... and I was thrilled with the kernel 2.2 build scripts when they were released. 2.4 was an improvement from that, and 2.6 has easily twice that improvement.

      Plus, being a Gentoo-person, I'll probably be inclined to try out ext4 first amongst my peers, and we do have two machines that will be hosting networked multi-terabyte scratch-space for automated software builds. So, there we have 1) the big filesystems, 2) the networking component (probably via NFS), 3) transient nature of the data, as they're all build outputs, and the source code is in a repository, elsewhere. So, it could completely crap out, and nothing would be lost except that us engineers would have to all spin our own builds, locally. Sounds like a good way to test out ext4. The only problem I have is that I don't really know how to post a useful post-mortem report to LKML if badness happens... hmm.

      So, there. I'm not off-topic either. Ha!

      --

      When I grow up, I want to have Christopher Walken hair.
  5. How do I get to ext4? by Anonymous Coward · · Score: 0

    Partition, partition, partition.

  6. Preempting the prefix war by A+beautiful+mind · · Score: 3, Insightful

    Yes, Terabyte is not entirely correct according to SI, but Tebibyte just sounds lame and language is a tool, to facilitate written and oral communication.

    Of course, in this case you have to balance the confusion stemming from the Tera in IT context meaning 1024 in some cases. To be honest, people insisting on the new naming, they should have come up with a sensible sounding name and promoted that. You have to remember that language, even technical language is for the people. There are lots of ways to craft a beautiful, logical, symmetrical language that no sane person would use because it just doesn't sound convenient.

    Maybe a linguist can pitch in to explain why tebibyte sounds so awful?

    --
    It takes a man to suffer ignorance and smile
    Be yourself no matter what they say
    1. Re:Preempting the prefix war by DahGhostfacedFiddlah · · Score: 1

      Is it too late to suggest *aybyte? Kaybyte, Maybyte, G...

      Dammit.

    2. Re:Preempting the prefix war by Dachannien · · Score: 4, Funny

      Maybe a linguist can pitch in to explain why tebibyte sounds so awful? Tebibyte-buh: It's bad-buh because-buh it makes-buh you sound-buh like Mushmouth-buh.

      Hey hey hey!

    3. Re:Preempting the prefix war by GreatBunzinni · · Score: 1

      I'm no linguist but the notion of anything that resembles a Tera binary byte doesn't compute all that well.

      --
      Slashdot, fix your code or at least hire someone who is competent at it to do it for you.
    4. Re:Preempting the prefix war by RiotingPacifist · · Score: 1

      I think the only place you need to use it is in the abbreviations, there KiB vs KB is sort of useful

      --
      IranAir Flight 655 never forget!
    5. Re:Preempting the prefix war by Bralkein · · Score: 1

      Yeah, but now the problem is that KB is now ambiguous - it could either be 1000 bytes, or it could be 1024. Before anyone mentions HDD manufacturers, it isn't ambiguous there, either. 1 KB is 1000 bytes, yeah that's because they're fleecing you, it sucks but oh well.

      I just hate the mindset that comes up with all of this stuff, it reeks of the sort of person who alphabetises everything and writes into newspapers to complain that they misused the apostrophe one time on one page. I mean for god's sake, take exbibyte. The word was actually used in the article. Look at it, you can bear to. Say it, if you can figure out how to. The worst thing is that it seems to be becoming more popular. Sigh. I really shouldn't get so worked up by this.

    6. Re:Preempting the prefix war by Waffle+Iron · · Score: 0, Offtopic

      but Tebibyte just sounds lame

      It doesn't sound objectively any more lame to me than a prefixes like "giga" and "peta". You probably just think it sounds weird because you're not used to it yet.

      If you're starting a crusade to clean up the language, why not start with far more egregious problems like all the words that contain the string "ough"?

    7. Re:Preempting the prefix war by Anonymous Coward · · Score: 0

      TBH, the ONLY .

      Since the beginning of the computing age, storage has been measured with 1024-based prefixes, and that trend is still the de facto standard today.

      The ONLY people that use the 1000 convention is hard disk (and now flash) storage companies, and the sole purpose of that is to a) Rip us off and b) Try to avoid lawsuits for false advertising (Which both Seagate and Creative have already lost in court).

    8. Re:Preempting the prefix war by mpathetiq · · Score: 1

      I think you meant....

      Tebibyte: Ubit's bubad bubecubause ubit mubakes yubou subound lubike Mubushmubouth.

    9. Re:Preempting the prefix war by CastrTroy · · Score: 1

      They're only fleecing you if you keep on insisting that 1 KB is 1024 bytes. If you define that 1 KB is 1 billion bytes, then they are are really fleecing you. The only reason that 1024 was used as the size of a KB was because it was much easier, not because we were trying to standardize things, or because it made things simpler to understand. It completely went against all the other standards, just because it made the code a little simpler to write.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    10. Re:Preempting the prefix war by A+beautiful+mind · · Score: 1

      To put it into more accurately worded language, I was hinting at the phonetic characteristics of tebibyte that makes the word harder to pronounce. Another poster mentioned that "quark" must have sounded weird when it was introduced the first time. I have the opposite experience. Quark is easy to pronounce, it is a distinct, hard to confuse name for a specific particle which has in fact a quite interesting etymology. I just love quark. It is actually one of the best examples of naming I could come up with, if asked off the top of my hat.

      --
      It takes a man to suffer ignorance and smile
      Be yourself no matter what they say
    11. Re:Preempting the prefix war by pizzach · · Score: 1

      It really didn't start out that complicated, but it's the manufacturers who keeps F*ing it up because they are trying to stretch the numbers. I think it's the consumers who are the victims in this.

      Hard drives have the MiB-MB problem because manufacturers wanted to be able to say 60GB instead of 54GB. When you buy a monitor, you have look for viewable size in much smaller print. Then there is the dithering you hear about on modern LCDs. I've also heard that early monitors were measured by their horizontal instead of their diagonal. Of course, the diagonal is longer so...

      Meh. Buyer beware.

      --
      Once you start despising the jerks, you become one.
    12. Re:Preempting the prefix war by sconeu · · Score: 2, Funny

      If you define that 1 KB is 1 billion bytes, then they are are really fleecing you

      I'd say that i fyou define that 1KB is 1 billion bytes, then you've got bigger problems than the marketing departments of drive manufacturers.

      --
      General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
    13. Re:Preempting the prefix war by VirusEqualsVeryYes · · Score: 2, Interesting

      I am not a professional linguist, but I think I can explain.

      In any spoken language, different sounds are loosely associated with different ideas. As a simple example, voiceless sounds, like p, k, t, f, and s, are well suited for pointed use, as in pejoratives; and r, especially the alveolar trill variety, is associated with intimidation or primality. These associations are made either because it sounds like something else ("rrrr" sounds like an animal's growl or roar -- notice the Rs in "growl" and "roar"?) or because the sound serves a purpose (hard, clipped sounds serve well as punctuation -- notice all the hard sounds in "punctuate"?). In the latter case, combinations of sounds can invoke a wide array of ideas or feelings. Utilization of these things is key to a good punchline or to controlling semiconscious undertones of speech. I admire Dr. Seuss in particular for his mastery of sound combinations in making up suitable words to balance sing-song silliness with gravity and purpose.

      Now, returning to "tebibyte" and all the other -bibytes, soft, voiced consonants like B are associated with childishness (a baby might make these sounds), silliness, bounciness, or informality. Two Bs in a row are especially so: bib, baboon, babble, bob, boob. The reason tebibyte sounds "stupid" is that it describes a technical idea using unsuitable sounds.

      This being said, if you were used to using the word, you wouldn't think twice about it. You would probably complain about "flop" and "watt" in the same way if the words were new, but established use overrides the weak sound associations. The President could be instead called the Biggyloppalo and few would care, as long as the term were already established in the common vocabulary. I'd think people would move on even if a video game console were named something as ridiculous as "Wii" ... but that's just a wild guess.

      As for my opinion on the matter, I'm in favor of it. The SI prefixes are already assumed to be powers of 10 in all other fields except the computer and information sciences. Tebibyte will maybe sound silly for awhile, but the problem will go away given time. And I, for one, look forward to buying futuristic data storage without feeling a little cheated.

    14. Re:Preempting the prefix war by Dachannien · · Score: 1

      Okay, you win :)

    15. Re:Preempting the prefix war by Profane+MuthaFucka · · Score: 1

      Ignore the lame and contrived kibi and tebi nonsense. Just call it a disk-Meg, or a disk-Gig, or a disk-Tera. You don't even have to type extra characters to say what you mean. Disk-gig is 8 characters, and so is gibibyte.

      --
      Fascism trolls keeping me up every night. When I starts a preachin', he HITS ME WITH HIS REICH!
    16. Re:Preempting the prefix war by Anonymous Coward · · Score: 0

      //How geeks have done it since 1969
      long long terabyte = pow(2, 40); //What SI decided to append a few years ago
      long long terabyte = pow(10, 12);

      Terabyte is being redefined at what SI decided to append a few years ago. See original declaration at how geeks have done it since 1969.

      SI is wrong. 1 terabyte is 2^40 bytes. That is how it was universally defined in geek circles long before SI tried to "standardize" things. 1 tebibyte, if anything, should mean 10^12 bytes, as otherwise it would be an alias of terabyte.

    17. Re:Preempting the prefix war by sik0fewl · · Score: 1

      The real problem is that "terabyte" already has the definition of 2^40 bytes. Yes, we clearly fucked up when we decided 1024 bytes was a "kilobyte", but it's way too late to change that now. We used an SI prefix, but when any SI prefix prefixes "-byte" it's no longer an SI prefix, I'm afraid. "Kilo-" means *1000 in SI, but not in bytes.

      Now we've gone and created *another* definition for 2^40 bytes, called a "tebibyte". How does this remove the confusion? It doesn't. We still have the ambiguous term "terabyte" (thank you, hard drive manufacturers!).

      Perhaps tebibyte should have been defined to mean 10^12 bytes and hard drive manufacturers could use that term when they want to exaggerate.

      --
      I remember when legal used to mean lawful, now it means some kind of loophole. - Leo Kessler
    18. Re:Preempting the prefix war by DeathCarrot · · Score: 1

      Yeah, but now the problem is that KB is now ambiguous Nonsense! I think you'll find the Kelvinbyte is a strictly defined unit.
    19. Re:Preempting the prefix war by martyros · · Score: 1

      Maybe a linguist can pitch in to explain why tebibyte sounds so awful?

      I don't care how it sounds, it's just a pain in the neck to pronounce the two 'b' sounds in a row. In England they're to lazy to pronounce the "chest" in Leichester, and pronounce it "Lie-ster". Here in Cambridge, they're too lazy to prounounce Mag-da-lene in Magdalene College, and pronounce it Mawd-lin. Do you really expect English speakers to say "Mebbbibbbyte"? It's not going to happen.

      --

      TCP: Why the Internet is full of SYN.

    20. Re:Preempting the prefix war by swillden · · Score: 1

      We used an SI prefix, but when any SI prefix prefixes "-byte" it's no longer an SI prefix, I'm afraid. "Kilo-" means *1000 in SI, but not in bytes.

      Except when it doesn't. Like the way hard drives have been, since the time when computer memory sizes were talked about in "words" and "characters", and the SI prefixes used for random access memory were also powers of 10.

      And what about when it prefixes "bit"? When we talk about kilobits, megabits, etc., it's usually in the context of data communications, where the prefixes are powers of 10. When we talk about low-level flash and RAM sizes, though, the same prefixes are powers of 2.

      It's stupid to overload the prefixes and try to guess their meaning based on context. Tebibyte and gibigyte only sound funny the first hundred times you say them. After that, they're just natural, and precise.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    21. Re:Preempting the prefix war by NitroWolf · · Score: 1

      I wish I had mod points to mod you up. The "new" prefixes are ridiculous. I usually am all for clarity and useful jargon, but the new prefixes suck. They sound terrible and they don't really serve a very useful function for 99.9% of the people who use the words anyway.

      Yes, they provide a slight bit of clarity, but in the instances that they do provide it, it's just as easy to say "A binary TB" to differentiate it from a decimal TB. It gets the point across and it doesn't add useless complexity to the jargon.

    22. Re:Preempting the prefix war by gr8dude · · Score: 1

      Check out the kiki-effect; the concept is pretty much the same.

    23. Re:Preempting the prefix war by Anonymous Coward · · Score: 0

      Yes, you're right. It should be denoted as Tera-binary octet, or TbO (Tee-Boh).

      This way we save a syllable (actually, we are on par with the status quo) and avoid those giddy-sounding names (gibi anyone?).

      Anything half-assed towards SI compliance is just not good enough.

    24. Re:Preempting the prefix war by Anonymous Coward · · Score: 0

      And, of course, we should not use "byte" either. The correct term is "octet". So, how many tebioctets can ext4 handle?

    25. Re:Preempting the prefix war by kryptkpr · · Score: 1

      Are you not aware of the Single, Definitive standard?

      --
      DJ kRYPT's Free MP3s!
    26. Re:Preempting the prefix war by Grishnakh · · Score: 1

      It really didn't start out that complicated, but it's the manufacturers who keeps F*ing it up because they are trying to stretch the numbers. I think it's the consumers who are the victims in this.

      Exactly right.

      Hard drives have the MiB-MB problem because manufacturers wanted to be able to say 60GB instead of 54GB.

      Right. They shouldn't have been allowed to do that. Up until that time, everyone was doing just fine counting KB, MB, etc. in powers of 2, because it makes sense to do that with computers. But the HD makers got greedy and their evil marketing people wanted to muck things up by changing the definitions.

      I've also heard that early monitors were measured by their horizontal instead of their diagonal. Of course, the diagonal is longer so...

      It's worse than that. The early monitors were measured by their horizontal dimension instead of their diagonal because they could advertise a LARGER number. How's that? Simple: they measured the entire case, not just the screen! So they had a bunch of monitors with excessively large cases, relative to their screens, so they could advertise large screen sizes.

      The solution to all this is simple: execute all marketing people, and put the engineers in charge of advertised specifications. Marketing people are leaches and have never done anything good for the world, and this is yet another example of them screwing things up for everyone else.

    27. Re:Preempting the prefix war by Grishnakh · · Score: 1

      Instead of "binary" and "SI", why not just "terabytes" (implying binary) and "marketing terabytes"? That's what this is all about, after all: marketing people want to advertise larger numbers instead of telling the truth.

    28. Re:Preempting the prefix war by sik0fewl · · Score: 1

      It's stupid to overload the prefixes and try to guess their meaning based on context.

      I agree, but it's already happened.

      Tebibyte and gibigyte only sound funny the first hundred times you say them. After that, they're just natural, and precise.

      Apparently they're also difficult to spell :). Unforunately, terabyte and gigabyte will still be ambiguous.

      --
      I remember when legal used to mean lawful, now it means some kind of loophole. - Leo Kessler
    29. Re:Preempting the prefix war by swillden · · Score: 1

      Tebibyte and gibigyte only sound funny the first hundred times you say them. After that, they're just natural, and precise.

      Apparently they're also difficult to spell :). Unforunately, terabyte and gigabyte will still be ambiguous.

      Oops :)

      Assuming I spell them correctly, they're never ambiguous when I say them. Increasingly, Linux utilities are careful to use the appropriate prefix (e.g. GB vs GiB), and HDD manufacturers are starting to provide both values, with appropriate units.

      If enough people begin begin careful to distinguish, in a few years the ambiguity will have disappeared.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    30. Re:Preempting the prefix war by rts008 · · Score: 1

      Hey! He does distance conversions for NASA....using Excel, you insensitive clod!

      --
      Down With Slashdot BETA!!! I've been around the corner and seen the oliphant; you can only abuse me from your perspecti
    31. Re:Preempting the prefix war by zsau · · Score: 1

      language is a tool, to facilitate written and oral communication.

      Precisely, so it's awkward when people in one field usurp terms with confusing new meanings. Everyone knows a kilometre, kilograms, kilolitres, kilo- this, kilo- that. Why should kilobytes be any different?

      Maybe a linguist can pitch in to explain why tebibyte sounds so awful?

      It's your own personal opinion, but the repeated /b/ sound is probably what's causing you distress though. Repeated (or similar) syllables are frequently skipped in many languages at different times in a process called "haplology" (which could do with some haplology itself).

      For instance in English, most people (I speak to) say words like "particularly", "library", "similarly", without the "ar" syllable (so "particu'ly, libr'y, simi'ly"), ro "probably" with only one b (so "prob'ly"). If you think "tebibyte" sounds bad, you might want to do the same thing to that and have "kibbyte, mebbyte, gibbyte, tebbyte".

      In any case, it's important that kilo- and other prefixes have only one meaning. It should be the original meaning i.e. 1000. Usage will sort out any infelicities of pronunciation before long, as long as no-one's too caught up in our spelling system. After all, this is English. Spelling has practically nothing to do with pronunciation.

      --
      Look out!
  7. Wait, what? by jesdynf · · Score: 1

    Did you see the section on timestamps? Nanosecond resolution out to 2514.

    Nanoseconds.

    We're dealing with a process whose maximum useful precision is "has the green light gone off yet", and we've got nanosecond timestamps.

    --
    Yahoo! Pipes are awesome. How awesome? http://pipes.yahoo.com/jesdynf/slashdot
    1. Re:Wait, what? by Uncle+Focker · · Score: 1

      The nanosecond resolution is there for mission critical systems that need a finer resolution than seconds.

    2. Re:Wait, what? by Anonymous Coward · · Score: 0

      Drive access is a red light. And that may be the extent of its usefulness to desktop computers but for other applications timestamps can be important (nonetheless I'm not sure nanoseconds is going to be that useful).

    3. Re:Wait, what? by VeNoM0619 · · Score: 1, Interesting

      Seeing how processing becomes faster and faster: in batch file processing (just an example) where tens of files get processed in a single second. It may be useful to know which files processed in what order, in which case the precision could be useful. Think of it more as a feature than a necessity though I suppose.

      --
      Disclaimer: I am not god.
      We may not be created equal
      But we can be treated equal.
    4. Re:Wait, what? by jesdynf · · Score: 1

      I'm having trouble with that one. I mean, the statement would've been true without invoking "mission critical" -- of course the ability to get resolution better than seconds is for applications that need resolution better than seconds. I'm not sure why you've invoked the specter of "mission critical" here, and I'm having a damn hard time picturing any utterly important, world-ending task that's going to (a) rely on the *timestamp in the filesystem* and (b) run on Linux and ext4fs.

      And the timestamp isn't in milliseconds (an incremental improvement that wouldn't've even raised eyebrows) or microseconds (which would have been future-proofed overkill) but nanoseconds. I know how PC clocks work -- you'll have a hard time convincing me that you can maintain nanosecond timing long enough for the difference between two nanosecond timestamps to be accurate down to the nanosecond.

      --
      Yahoo! Pipes are awesome. How awesome? http://pipes.yahoo.com/jesdynf/slashdot
    5. Re:Wait, what? by Waffle+Iron · · Score: 4, Informative
      They're probably using a 64-bit number to hold the timestamp. That gives you 1.8e19 discreet time intervals, so you're going to get ridiculous precision, dates ridiculously far into the future, or both. I assume that they went for precision because that arguably has more potential for use in the real world than worrying about files thousands of years into the future.

      IIRC, today's PCs have high-resolution timers available that surpass the old 14.318MHz clock chip. If you can't get accurate nanoseconds out of the timers yet, they'll just round the numbers off. No big deal.

      BTW, NTFS uses 100ns timestamp granularity, and it was designed when systems were almost 100X slower than today. So it had a similar amount of overkill, but that certainly doesn't seem to have had any negative impact on the acceptance of NTFS.

    6. Re:Wait, what? by flnca · · Score: 1

      Nanoseconds isn't that high a precision, when you think about the fact that everyone can buy a computer with 2.0 GHz nowadays, which would be a clock cycle of half a nanosecond (500 picoseconds).

      Even my old Amiga 1000 computer had a timer with 2 nanosecond precision in 1986 with a CIA 8520 chip.

      High-precision timestamps are used in cases when time stamps of files have to be compared to detected changes, as in the ubiquitous "make" program, which uses timestamps to detect whether a file has been modified.

      The same applies to some scripting situations ...

      Anyway, the resolution is also geared at the big irons, on which processors run that exceed the teraflop range (1 THz cycle duration = 1 picosecond).

    7. Re:Wait, what? by flnca · · Score: 1

      BTW, every IA-32 compliant CPU (PI,PII,III,4,etc. or Athlon etc.) has an instruction called RDTSC, which reads the CPU clock tick counter into a 64 bit register. This creates a timing facility that has a precision as high as the CPU clock. So 1 GHz clock cycle = 1 nanosecond precision.

    8. Re:Wait, what? by Anonymous Coward · · Score: 0

      Oh great. Now not only will we have to use some complicated leap-second calculation to find out what year it is from a timestamp - we'll have to factor in the altitude of the computer so as to correct for relativistic effects as well!

    9. Re:Wait, what? by Chris+Mattern · · Score: 1

      Drive access is a red light.


      Actually, on my system, it's a yellow one, just under the green power light.
    10. Re:Wait, what? by flnca · · Score: 1

      Yeah, it's not precise enough for some applications. picoseconds, or femtoseconds would've been more reasonable. Also, why not make a time stamp 128 bits instead of just 64 bits? Those 8 extra bytes wouldn't have made much of a difference. So, we'll have to wait for ext5 to support that ... ;-)

    11. Re:Wait, what? by flnca · · Score: 1

      Only, that in some applications, it's not tens of files per second, it's thousands, or hundreds of thousands of files per second, as when you're checking and/or updating lots of small files, like source trees (for programs or web sites).

    12. Re:Wait, what? by techno-vampire · · Score: 1
      you'll have a hard time convincing me that you can maintain nanosecond timing long enough for the difference between two nanosecond timestamps to be accurate down to the nanosecond.


      Not now, and not in the near future, sure. However, who's to say that it won't happen, possibly sooner than we think? The developers had the room to store times that accurate, so they probably just put it in to allow for future developments.

      --
      Good, inexpensive web hosting
    13. Re:Wait, what? by skulgnome · · Score: 1

      However, on a Core 2 chip (and presumably its descendants), a RDTSC is sometimes undone by the speculative execution scheduling unit and can, in some circumstances, report time going backwards. Not to mention that on a dualcore processor these counts are not strictly in sync, and do not tick forward predictably enough to be used as a clock.

      Good idea though. Unworkable in practice, but good idea.

    14. Re:Wait, what? by bfields · · Score: 1

      IIRC, today's PCs have high-resolution timers available that surpass the old 14.318MHz clock chip.

      Last I checked the actual time source used for file timestamps was actually jiffies, so even though the filesystem inode may in theory have space for lots of precision, in practice the resolution is only hundredths of a second.

      That's a problem if you're trying to use the timestamp to decide whether a file has changed or not--if you happen to check the time between two writes that come within (say) a millisecond of each other, then you may not ever see the second write. (E.g., consider the case where you're an nfs client trying to check whether your cached data for a file is still up-to-date.)

    15. Re:Wait, what? by flnca · · Score: 1

      It's possible to be used regardless if you set the thread affinity mask to a particular CPU. Then the RDTSC time stamp is quite usable. In fact, I've used it for over a decade for high-precision timing, especially on Windows with its awkward task scheduling (the performance timers in Windows often aren't sufficient). I've never encountered that time going backwards thing yet, thanks for mentioning it.

    16. Re:Wait, what? by Sentry21 · · Score: 1

      BTW, NTFS uses 100ns timestamp granularity, and it was designed when systems were almost 100X slower than today. So it had a similar amount of overkill, but that certainly doesn't seem to have had any negative impact on the acceptance of NTFS. Yeah, amazing but true, NTFS is actively used by as many operating systems as Ext3 is. :p
    17. Re:Wait, what? by Anonymous Coward · · Score: 0

      BTW, NTFS uses 100ns timestamp granularity, and it was designed when systems were almost 100X slower than today. So it had a similar amount of overkill, but that certainly doesn't seem to have had any negative impact on the acceptance of NTFS.

      The 100ns NTFS time stamps come from VMS, all the VMS time stamps were a 64 bit number in 100ns units (with the origin sometime around 1870 IIRC).


      Individual processors are about 1000 times faster than the first VMS (VAX) machine, actually a bit more but definitely not 10000 and stagnating. However I/O bandwidth has not progressed at the same rate (or you'd get sustained disk drive bandwidth close to 10GB/s).


      The worst is main memory access time (cache misses), they have not even dropped by a factor of 10 in 20 years (and I'm not speaking of Cray machines, which had main memory access time close to the L2/L3 cache access time of current PCs).

    18. Re:Wait, what? by AndrewHowe · · Score: 1

      Speculative execution can cause your RDTSC to give you odd results, for sure. It's normal to do a CPUID first to serialize everything. But I'm quite surprised that time would go backwards on a single core. The minimum sequence would be something like:
      rdtsc
      mov ebx, eax
      mov ecx, edx
      rdtsc
      (sub eax, ebx
        sbb edx, ecx)
      I can't quite imagine the second rdtsc being executed before the first, even with out of order execution. But I'd love to know if anyone has ever seen it happen :)

    19. Re:Wait, what? by Crayon+Kid · · Score: 1

      ...doesn't seem to have had any negative impact on the acceptance of NTFS.
      Yeah, like there was a choice. What were people supposed to do if they had issues with NTFS, use something else with Windows? Like FAT?

      We're really spoiled for choice under Linux, by the way.
      --
      i ate crayons when i was a kid and now i have two braincells and the blue ones taste nicer
    20. Re:Wait, what? by dotancohen · · Score: 1

      On my Dell laptop, drive access is green like power. Battery can be either green or orange, depending on state.

      --
      It is dangerous to be right when the government is wrong.
  8. To all ext3 users... by c0l0 · · Score: 5, Informative

    ...who are on the lookout for a new fs to entrust with keeping their precious data: make sure to check out btrfs ( http://oss.oracle.com/projects/btrfs/ ). It's a really neatly spec'd filesystem (with all the zfsish stuff like data checksumming and so on), developed by Oracle employees under GPLv2, which will feature a converter application for ext3's on-disk-format - so you can migrate from ext3 to the much more feature-packed and modern btrfs without having to mkfs anew.

    On a related sidenode: I'm very happy with SGI's xfs right now. ext\d isn't the only player in the field, so please, go out and boldly evaluate available alternatives. You won't be disappointed, I promise.

    --
    :%s/Open Source/Free Software/g

    YTARY!
    1. Re:To all ext3 users... by DJProtoss · · Score: 2, Insightful

      I agree btrfs looks nice, but its somewhat behind ext4 in terms of implmentation and stability (which is saying something) - theres the small matter of not yet handling E_NOSPACE, for instance

      --
      "Success is based on knowing how far to go in going too far"
    2. Re:To all ext3 users... by miscz · · Score: 1

      The only thing that keeps many people using Ext3 is availablity of drivers on operating systems on Linux and clear upgrade path. Being supported by third-party partition management tools helps a lot too. I can ready my data on Windows (Ext2 IFS for Windows is awesome), OSX (though the only driver doesn't have write support) and more.

      I don't want to entrust my data to a single OS.

    3. Re:To all ext3 users... by swilver · · Score: 1, Troll

      There is no way I'm installing anything Oracle on my Linux system ever. I will definitely not entrust my data to them after having witnessed over the past years what a mess their flagship product is.

    4. Re:To all ext3 users... by Anonymous Coward · · Score: 3, Interesting

      I'm an XFS fan as well. I have been using it for years. I usually have my root/boot partition as ext3 (so grub works) and all data on XFS.

      XFS kills ext in terms of not losing data. I have recovered lots of data from failed drives that were XFS formatted. Not so with ext3 which tends to flake out and destroy itself when it gets bad data.

      And don't even mention ReiserFS, that has always sucked. I have lost more data to Reiser than any other filesystem (ext is a close second though). Sometimes it would corrupt files just from rebooting the machine. I have never lost data on an XFS partition that wasn't due to hardware failure.

    5. Re:To all ext3 users... by sconeu · · Score: 1

      I'd use JFS, but then I'd have to pay SCO money....

      --
      General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
    6. Re:To all ext3 users... by EvilRyry · · Score: 1

      btrfs is a completely new ground up filesystem. I would expect it to take a while longer than ext4 which is just another incremental improvement on ext2. btrfs isn't stabilized at all yet. I would consider the running out of space issue a non-issue at their current stage in development.

    7. Re:To all ext3 users... by johannesg · · Score: 1

      I notice they are happily throwing benchmarks around, which is funny considering that Oracle will not allow benchmarking at all for their flagship product...

    8. Re:To all ext3 users... by piojo · · Score: 1

      I agree. Around the time when SuSE had ReiserFS as the default filesystem, it still had a data-eating bug (at least, it did when I used it on slackware).

      I like JFS a lot, because it seems to perform well on many small files, and if one does a lot of compilation or other management of small files, it's pretty nice. XFS seems to win the benchmarks for operations involving large files, but I find that on the occasions that I use huge files, I don't care so much about speed. JFS has made me happiest, among the filesystems I've used.

      --
      A cat can't teach a dog to bark.
    9. Re:To all ext3 users... by Jherek+Carnelian · · Score: 4, Interesting

      btrfs -- How fast are deletes?

      ext3 is both so slow and so bottlenecked that mythtv had to implement a special "slow delete" mode which gradually truncates files instead of just unlinking them. Without the "slow deletes" mode, you get hiccups in any shows that are being recorded while old shows are deleted.

      On my system, deleting a 20GB file can take a minute on ext3 (and the filesystem is completely locked - all other processes are blocked), but on ntfs it is almost instantaneous.

    10. Re:To all ext3 users... by DJProtoss · · Score: 1

      indeed, but I think you will agree, its possibly not quite something for people "who are on the lookout for a new fs to entrust with keeping their precious data" [parent] - well, unless you don't intend to be doing the entrusting until a few years down the line. - it may well end up superior to ext4, but it isn't *currently*

      --
      "Success is based on knowing how far to go in going too far"
    11. Re:To all ext3 users... by cecom · · Score: 1

      I completely agree.

    12. Re:To all ext3 users... by glwtta · · Score: 3, Insightful

      On a related sidenode: I'm very happy with SGI's xfs right now.

      I seem to be plugging XFS in every fs thread recently, so I'll second that - I'm really surprised it's not more popular.

      ext3 may have, more or less, caught up to XFS in IO speed recently, but file operations on large filesystems are still a disaster - just try deleting a 2TB tree with a couple million files in ext3, I dare you.

      --
      sic transit gloria mundi
    13. Re:To all ext3 users... by Anonymous Coward · · Score: 0

      Excellent question.

      Fast deletes is one of the main reasons I moved to reiserfs back before when ext3 didn't exist. A few months ago I moved back to ext3, because I wanted to run selinux.

    14. Re:To all ext3 users... by Anonymous Coward · · Score: 0

      I usually have my root/boot partition as ext3 (so grub works) and all data on XFS.
      GRUB can boot directly from XFS. What made you think it couldn't? Take a look at the available *_stage1_5 files under /boot/grub/
    15. Re:To all ext3 users... by Anonymous Coward · · Score: 0

      Try doing it via FTP ;)

    16. Re:To all ext3 users... by manitoulinnerd · · Score: 2, Informative

      I moved to XFS from Reiser3 and ext3 because of file delete times coming up on 2 years ago. XFS has lightening fast deletes of large files over Reiser3, I was blown away. I only use it on a data partition (/home) and have left the rest of my system on reiser3 or ext3. XFS has a great set of tools and is stable. I see no reason not to use it (at home at least).

      --
      Burn Bright or Fade Away
    17. Re:To all ext3 users... by jabuzz · · Score: 1

      I has not always done so. Therefore if at some point in the past you found out it did not work, then you would tend to think it still does not. My Debian Etch installation is using lilo for the very reason that it is pure XFS.

    18. Re:To all ext3 users... by Anonymous Coward · · Score: 0

      just try deleting a 2TB tree with a couple million files in ext3, I dare you. Wife find your pr0n stash and made you delete it, huh? :-\
    19. Re:To all ext3 users... by Anonymous Coward · · Score: 0

      man ionice

    20. Re:To all ext3 users... by pankkake · · Score: 1

      Better solution: have a /boot partition, which is the default on Gentoo. Your /boot partition (under 40 mb) will be ext2, and the rest will be whatever you want.

      --
      Kill all hipsters.
  9. Step 1 by vga_init · · Score: 2, Informative

    Step 1: Install Fedora 9

    OK, all done!

  10. undelete by Nimey · · Score: 4, Informative

    Oh, please. ext2 had "undelete" capability, just as it had filesystem compression capability. Neither were ever implemented.

    --
    Hail Eris, full of mischief...

    E pluribus sanguinem
    1. Re:undelete by Anonymous Coward · · Score: 0

      Filesystem compression was implemented, it was just never accepted into the mainstream kernel.

    2. Re:undelete by jsm300 · · Score: 2, Interesting

      Huh? There are undelete tools for ext2. Undelete is impossible for ext3 since the information needed to do it is gone immediately once a file is removed, whereas it will still be present in a ext2 file system until it gets overwritten as new files are created.

  11. Better option: by Anonymous Coward · · Score: 0

    Buy a Mac and use OS X, then you won't have to worry about this kind of shit.

    THINK DIFFERENT. THINK BETTER. THINK APPLE!

    1. Re:Better option: by Anonymous Coward · · Score: 0

      You do realize people come to Slashdot because they *want* to talk about this stuff, right? That's not going to change, so you might want to leave...

    2. Re:Better option: by jdinkel · · Score: 2, Insightful

      Buy a Mac, then won't even be tempted with having a choice of something better.

    3. Re:Better option: by EvilRyry · · Score: 1

      To quote Linus... "Their file system is complete and utter crap, which is scary."

      Based on real life experience with HFS+, I'm inclined to agree.

    4. Re:Better option: by yourlord · · Score: 1

      I wish I had mod points because you would get a +1 insightful.

      Microsoft is a serious enemy to freedom and choice, but even they pale compared to the draconian control freaks at apple..

  12. Indulging the prefix war by JustinOpinion · · Score: 4, Insightful

    Of course, in this case you have to balance the confusion stemming from the Tera in IT context meaning 1024 in some cases. It's worse than that. According to SI prefixes, "Tera" should mean 10^12 (1,000,000,000,000), but in common usage applied to computers it sometimes means 2^40 (1,099,511,627,776). But it also sometimes means "1024 Giga", where the Giga could be using either convention (and, for all you know, the "Mega" implied within could have been computed using either convention). So you can get a gradient of "mixed numbers" that conform to neither standard. You might say that only a non-professional would make such a stupid mistake... but on the other hand, if you see a column of numbers listed in "Gigabytes" and you want to convert them to Terabytes, what conversion factor would you use? How would you know what conversion factor the previous author had used? How could you guarantee that you were doing it right? Would you be able to confidently convert it into an exact number of bytes?

    Personally, I think the whole thing is a mess, and computer professionals should be working harder to enforce a consistent scheme. Unfortunately, only a minority of computer professionals seem interested in changing the status quo confusion.

    Maybe a linguist can pitch in to explain why tebibyte sounds so awful? I'm no linguist, but I don't think "Tebibyte" sounding silly is the real problem. I admit that I laughed when I first heard the binary prefixes. They sound lame. But who cares? "Quark" was silly when it was first coined. So was "Yahoo" and "Google" and "Linux" and "WYSIWYG" and "SCSI" and "Drupal" and so on... Silly names become second-nature once they are used enough.

    I think the real problem is that people, inherently, are loathe to change. They are more apt to come up with rationalizations and justifications for doing things "the old way" rather than put in the work to learn (and code!) a new system. Sorry if this sounds harsh, but I find the people who say the binary prefixes "sound dumb" or say that "the current (inconsistent)* system works fine" are just coming up with excuses to avoid doing the work to use a properly consistent standard/notation.

    Maybe you're right, and that if the new prefixes had sounded "cooler", then adoption would have been faster... but I'm not so sure. Even if true, it doesn't absolve any of us for allowing the confusion to persist: cool or not, we (geeks especially!) should have the discipline to use proper standards.

    * The current system can be roughly described as: SI prefixes are powers of 10 everywhere except in computer science, when they become powers of 2. But only when referring to memory, and some data structure sizes, but not when referring to transmission rates or disk space (unless it's a flash drive, sometimes), and other kinds of data structures.
    1. Re:Indulging the prefix war by sootman · · Score: 1

      But it also sometimes means "1024 Giga", where the Giga could be using either convention (and, for all you know, the "Mega" implied within could have been computed using either convention). So you can get a gradient of "mixed numbers" that conform to neither standard. You might say that only a non-professional would make such a stupid mistake... but on the other hand, if you see a column of numbers listed in "Gigabytes" and you want to convert them to Terabytes, what conversion factor would you use?

      My 7th grade science teacher, when we were learning the metric system (this was in the mid-80s... any day now!) was really picky about how we did conversions. If you were going from millimeters to kilometers, he'd say convert mm to meters, then meters to km. Feet to meters was feet to inches, inches to cm, cm to meters. So same here--just go all the way down to bytes, then all the way back up. :-)

      --
      Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    2. Re:Indulging the prefix war by Anonymous Coward · · Score: 0

      Coding a new system would be inefficient. The computer thinks in base 2, stores and retrieves data in multiples of 2. We already have a consistent and proper notation system focused on base 2.

      Introducing the base 10 prefixes and attempting to apply base 10 "metric" mechanics to an inherently base 2 system. SI shouldn't be involved - adding it in destroyed a perfectly rational, understood and consistent set of measurements.

      The disk manufacturers, and bandwidth providers should drop the base 10 'SI' bullshit and align themselves with the programmers and chip manufacturers.

    3. Re:Indulging the prefix war by complete+loony · · Score: 1

      Personally, I think the whole thing is a mess, and computer professionals should be working harder to enforce a consistent scheme. Unfortunately, only a minority of computer professionals seem interested in changing the status quo confusion. A minority of computer professionals defining 1KB = 1000B when everyone else is using 1KB = 1024KB only *adds* to the confusion. Maybe we should stop using the word "byte" when counting storage in base 10?
      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    4. Re:Indulging the prefix war by dubl-u · · Score: 1

      Personally, I think the whole thing is a mess, and computer professionals should be working harder to enforce a consistent scheme. Unfortunately, only a minority of computer professionals seem interested in changing the status quo confusion. That's because it doesn't matter.

      The only time I hear a real-world complaint that this would address is the way disk manufacturers measure in one number, but your OS measures in another, so noobs get confused, feeling rooked. But this is only a partial solution anyhow, in that the OS and filesystem will eat up all sorts of bytes for all sorts of things, so adding new units to the mix is not going to help the microcephalics who get their technical advice from a Best Buy salesdolt.

      When I, as a technical person, am doing any kind of math with these numbers, it also doesn't matter. Either I'm doing back-of-envelope numbers, in which case the small gain in precision is lost in the handwaving. Or I'm doing math that matters, in which case I will use bytes all the way through, and fuck the prefixes.

      So in sum, to me it's a lot of pedantry for very little practical gain.
  13. But does it undelete... by swilver · · Score: 1, Interesting

    That's all fine and dandy, but will it allow me to somehow undelete/recover when I accidently type rm -Rf /hugedir -- yes I know there are other ways to delete stuff, I just find it ridiculous that all linux file systems with the exception of ext2 make no effort at all to be able to recover from such a common mistake. Of course, rm not giving any indication at all about how many bytes and files it is about to remove doesn't help either.

    1. Re:But does it undelete... by mlwmohawk · · Score: 3, Informative

      The whole "undelete" thing is a DOS FAT stupidity. The *only* reason why people think that you *can* undelete is that the DOS FAT file system was designed in such a way that file changes could be recovered *IF* you managed not to change the file system too much. DOS being a mainly single tasker, with the exception of the standard "indos" flag games.

      POSIX was not and should not be designed in such a way that "undelete" is reliably possible. That's like saying can I unlight that match. Can I unbreak that egg?

      An unreliable system that may, on the odd chance that the file structure has not changed too much, recover files from a disk that have not been over-written yet is no replacement for NOT being an idiot and being careful when you delete something.

    2. Re:But does it undelete... by Hatta · · Score: 1

      That's not the file systems job, that's the tool's job. You'll find on windows that when you use 'del' to delete something, it doesn't end up in the recycle bin.

      So if you want some sort of soft delete, don't use rm or del. Use a tool that 'soft deletes' a file by moving it into a trash bin, which you can 'hard delete' when you need more space. This is how Windows and KDE both work.

      Personally, I think file systems aren't aggressive enough when it comes to deleting files. When I delete something I want it well and truly gone.

      --
      Give me Classic Slashdot or give me death!
    3. Re:But does it undelete... by EvanED · · Score: 1

      So if you want some sort of soft delete, don't use rm or del. Use a tool that 'soft deletes' a file by moving it into a trash bin, which you can 'hard delete' when you need more space. This is how Windows and KDE both work.
      Know of a command line tool that fits this description that comes with most *nix distributions?

    4. Re:But does it undelete... by blitzkrieg3 · · Score: 1

      I don't know about you, but I rarely every have to type -f. Usually I only do that after I can't do it with a regular rm, in which case I'm considering not deleting /hugedir in the first place.

    5. Re:But does it undelete... by Anonymous Coward · · Score: 3, Funny

      Perhaps you should try prm (pansy rm) or psh (pansy shell).

    6. Re:But does it undelete... by swilver · · Score: 1

      I don't expect it to manage "deleted" files at all. It's that sinking feeling you get when you think you're deleting a directory that should be mostly empty, and rm is taking longer than expected (as your only indication that something is horribly wrong.

      It's not unreasonable to expect to be able to undo that action when I immediately press cancel it and make sure the drive is not written to anymore. Ext2 can do this easily. Ext3 goes out of its way to make this impossible. XFS/ZFS/ReiserFS etc.. all make it way too hard or impossible.

      I'd alias rm to something with a more sane cmdline interface, but that would break every shell script in existance.

      Recycle bin solutions are crap. I want stuff to hang around for 30 minutes at most, not weeks on end taking up valuable free space causing unnecessary disk fragmentation.

    7. Re:But does it undelete... by swilver · · Score: 1

      Fine, assume I'm an idiot then. No expert would ever want such a feature, or expect to be able to recover files in some way after they had made a mistake, even if that takes taking the drive offline immediately and having it perform a full disc scan.

    8. Re:But does it undelete... by Xtravar · · Score: 1

      mv file.txt ~/.Trash/

      That's essentially what any shell does. Personally, I find it annoying and do all my deleting from the command line.

      --
      Buckle your ROFL belt, we're in for some LOLs.
    9. Re:But does it undelete... by trolltalk.com · · Score: 1

      So if you want some sort of soft delete, don't use rm or del. Use a tool that 'soft deletes' a file by moving it into a trash bin, which you can 'hard delete' when you need more space. This is how Windows and KDE both work.
      Know of a command line tool that fits this description that comes with most *nix distributions?

      alias rm='mv $1 /home/$USER/archives/$1'

    10. Re:But does it undelete... by EvanED · · Score: 1

      mv file.txt ~/.Trash/

      This suggestion is broken for a few reasons.

      First, it's just obnoxious to add the ~/.Trash/ at the end.

      Second, it would be really easy to forget ~/.Trash/. If the final thing you are "deleting" is a directory, this would mean that it would move everything into that directory.

      Third, it doesn't record the restore location. It looks like the Gnome trash doesn't either; this is very surprising to me, and I consider it broken. Even Windows 95 recorded the location it came from, so you could right click and choose restore and it would go back where it was. Mac OS also behaves this way.

      Fourth, it isn't sensitive to file systems. So for instance, deleting a file on a file system other than the one ~/.Trash/ is mounted on will result in a long copy over to that file system, which may also cause problems with available space.

      Personally, I find it annoying and do all my deleting from the command line.

      To each his own I guess. I do a lot of work from the command line, and I find it annoying that I *don't* have a good way to handle this.

    11. Re:But does it undelete... by EvanED · · Score: 1

      alias rm='mv $1 /home/$USER/archives/$1'

      This fixes the first two problems I give here, but the third and fourth remain.

      You have to do rather more bookkeeping. I do plan on writing a program that will make this all work "correctly", but I'd like to make sure that I'm not duplicating work.

    12. Re:But does it undelete... by drinkypoo · · Score: 1

      Know of a command line tool that fits this description that comes with most *nix distributions?

      Not only does it not exist, but if you run out of disk space, you run out of disk space.

      Here's a stupid question for the slashdot populace: Why are all operating systems so bad at handling the process of deleting files?

      It seems like it would be bog simple (disclaimer: I am not much of a programmer... salt at the ready) to remap unlinking of a file to relinking it to a trash directory, something like $HOME/.Trash (there's per-volume trashes too, but I always forget where those live. Probably on the volume) :P Then, and this is the important part: 1, when free space is requested, files in the trash are not shown in the quota and 2, when a file operation requires disk space, instead of failing it, we unlink some files for real based on some sort of reasonable algorithm.

      Why, why, WHY does no one do this? It makes no sense. It would save everyone from ever having to empty the trash. When files have metadata, or based on metadata which can be generated from files programatically, files can be assigned scores and deleted in order of rank... or on whatever basis the user likes, you can select files to delete and return their inode numbers with a shell script for all I care. Just fall back to some reasonable heuristic if the user space tool fails.

      Anyway, if you want to move files to the trash yourself, it seems like a simple shell script would do the job. You could also use find -exec (read the manpage for find.) to do all kinds of fun selective "deletions". There must be some way to instruct nautilus to trash a file with dbus, which would surely be the best way to go about it... but I have no idea what that would be. While looking around I found libtrash (this is about using it actually, not a direct link) which does some of what I want; I also found Gvfs which provides unified trash; it looks like Nautilus (GNOME's file manager) has trash functions in a private library, I don't know if that's built shared but it might not be too hard to use the same functions to trash files.

      In order to delete all your potential trash files you have to do the following (GNOME):

      1. sudo rm -rf $HOME/.Trash/*
      2. sudo rm -rf $HOME/.local/share/Trash/*
      3. for each mounted filesystem, do the following:
        if [ -d "${filesystem}/.Trash-${USER}" ]; then sudo rm -rf "${filesystem}/.Trash-${USER}" ; fi

      To put trash into the trash properly... that's much more complicated, because files with the same names are removed. I think you can make nautilus empty the trash via dbus but I don't know about anything else, I don't think so.

      It seems like you could get this functionality at the command line and in the GUI by installing libtrash, and wrapping a script around the 'rm' command that would set LD_PRELOAD to load libtrash. But I haven't tried it.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    13. Re:But does it undelete... by EvanED · · Score: 2, Informative

      This suggestion is broken for a few reasons. ...

      Fifth, if you delete two files in different directories with the same name, both can't exist in the .Trash directory at the same time.

    14. Re:But does it undelete... by Anonymous Coward · · Score: 0

      If you want undelete capabilities, maybe rm just isn't right for you. You could just make rm an alias to "cp $1 ~/.trash/" or something?

    15. Re:But does it undelete... by r_jensen11 · · Score: 1

      mv

    16. Re:But does it undelete... by quanticle · · Score: 1

      How hard would it be to write a simple shell script that can do this for you?

      In bash, for example:

      #! /bin/bash
      mv $1 ~/.Trash/
      --
      We all know what to do, but we don't know how to get re-elected once we have done it
    17. Re:But does it undelete... by EvanED · · Score: 1

      *sigh*

      This has already been suggested a number of times...

      Anyway, it's rather harder than you think. (Read my third and fourth reasons from that post, and the fifth from my followup. Three reasons why a naively simple script like this doesn't work very well.)

    18. Re:But does it undelete... by Bob+The+Cowboy · · Score: 1

      Try rm -I. I know that's not exactly what you wanted, but maybe it'd help.

    19. Re:But does it undelete... by Anonymous Coward · · Score: 0

      If all you want is a safety net for the shell, then it's easy:

      alias rm='rm -i'
      alias mv='mv -i'
      alias cp='cp -i'

    20. Re:But does it undelete... by kasperd · · Score: 1

      The whole "undelete" thing is a DOS FAT stupidity. The *only* reason why people think that you *can* undelete is that the DOS FAT file system was designed in such a way that file changes could be recovered *IF* you managed not to change the file system too much.
      That is actually not the case. The FAT table is used both as a linked list of the contents of a file, and as a free blocks "bitmap" where a special value would indicate a free block. That implies that to delete a file, the list of blocks used by that file would have to be overwritten with this special value. So after a file was deleted all information about where it is located on the disk is lost, except from the first block, which was recorded in the directory entry. What undelete utilities did was to assume the file was not fragmented, and simply take the first free blocks after the first one and pretend they were the file. If the file had been fragmented, it would be corrupted after undeletion. On ext2/ext3 you can undelete a file much more reliably because the free blocks bitmask and the pointers to actual blocks are separated. Though I don't know if the list of the first 12 blocks, which is in the inode, has to be wiped when the file is deleted.

      I have successfully undeleted a 1GB file from an ext3 file system a month after it had been deleted on a file system that had writes happening all the time. But maybe I was just lucky.
      --

      Do you care about the security of your wireless mouse?
    21. Re:But does it undelete... by manitoulinnerd · · Score: 1

      Speaking as someone who has done just that it is not fun. But recovery is possible. I was using Reiser3 at the time and the included tools and a Gentoo tutorial made recovery of all but the most recent files no problem. It lost filenames though. I am lazy right now so you will have to find a link on your own. Joel PS - Don't write anything to the drive. The blocks are unallocated and if you write anything your are risking losing the data for good.

      --
      Burn Bright or Fade Away
    22. Re:But does it undelete... by steveha · · Score: 1, Interesting
      It seems like it would be bog simple (disclaimer: I am not much of a programmer... salt at the ready) to remap unlinking of a file to relinking it to a trash directory, something like $HOME/.Trash (there's per-volume trashes too, but I always forget where those live. Probably on the volume) :P Then, and this is the important part: 1, when free space is requested, files in the trash are not shown in the quota and 2, when a file operation requires disk space, instead of failing it, we unlink some files for real based on some sort of reasonable algorithm.

      Hear, hear. I second this.

      You know why I want this so much? Because I used to have this. When I ran Windows 98 with Norton Utilities I had a feature called the "Norton Protected Recycle Bin". It had the following properties:

      0) When a file was deleted by any means it would go into the NPRB. If you copied file "foo" onto file "bar", the old "bar" would go into the NPRB. If you went into a DOS shell and ran the "del" command, the files you deleted would go into NPRB.

      1) The original name, original location, timestamp of the file at the time of deletion, and time of deletion were all saved and were visible in the list of deleted files.

      2) You could specify a do-not-save list, both by filespec (example: do not save "*.tmp", "*.bak", etc.) and by location (example: do not save any files in C:\Windows\Temp, etc.) And sensible defaults were provided (all my examples here were set by default, plus more).

      3) Your deleted files would age out. It would automatically purge files that were deleted more than 14 days ago (by default; of course you could change it). I liked to keep mine set for 3 days auto-purge; I pretty much always un-deleted something seconds after deleting it, so the longer period didn't help much. And disks were small in those days...

      I don't think it would ever empty the NPRB automatically just because you were out of disk space. But it was trivial to right-click on the Recycle Bin icon on the desktop and choose "Empty Norton Protected Recycle Bin".

      To do the above properly in Linux, the file system should have a way to specify whether a given file should be saved or simply deleted. The Ext2 file system has an attribute you can set on a file requesting that it be saved instead of deleted; read the man page for chattr(1) and look for the 'u' attribute. (Then read the "Bugs" section at the end, where it says that the undelete feature has never actually been implemented.)

      The file system should handle the deletion or saving of files, and then user-space utilities should be able to get a list of saved files, undelete a saved file, empty the saved files, etc. Of course users should only be able to delete their own files, so ownership and permissions need to be checked too.

      With this feature, and today's huge hard disks, a Linux desktop would be great for ordinary users.

      P.S. If you have Vista, and you get Norton Utilities, is there still a Protected Recycle Bin feature? Or is that one of the things that Vista loses? For that matter, can you still do this in XP?

      steveha

      --
      lf(1): it's like ls(1) but sorts filenames by extension, tersely
    23. Re:But does it undelete... by Anonymous Coward · · Score: 0

      alias rm="rm -i"

      Thinking before hitting [Enter] would of course be the best way to solve those problems.

    24. Re:But does it undelete... by kasperd · · Score: 1

      remap unlinking of a file to relinking it to a trash directory, something like $HOME/.Trash
      Technically that could be done, but I can come up with a number of reasons why you might not want to implement it.
      1. It might not be compliant with the posix standard, but I don't know for sure.
      2. It screws up the algorithms to avoid fragmentation. If you want to keep files around until you are absolutely out of space, it means block allocation will have less freedom when choosing locations for new files. Less free blocks to choose from means it is more likely to fragment your file system.
      3. Actually figuring out the right per-user trash directory is not something you would want to happen inside the kernel. Sometimes the original location is not even known once the file is deleted. You could have hardlinks from multiple users' home directories, then delete all of them while the file is actually open. Once the file is actually deleted, it doesn't even exist in the file system.
      4. Having quota behave differently depending on where a file is located is problematic. It is hard to update efficiently and correctly when directories can be renamed and files can have multiple hardlinks.
      --

      Do you care about the security of your wireless mouse?
    25. Re:But does it undelete... by Blakey+Rat · · Score: 3, Insightful

      Please.

      The greatest feature of modern software is "Undo." Everything I can screw up on the computer should have an Undo-- that's what the Recycle Bin (or Trash Can for Mac users) is there for, although it's a bit more awkward than pressing control-Z.

      Call it stupidity if you want, but my system files (you know, the ones that file permissions actually protect from malware) are worth approximately zero, and my personal files (the ones that malware can delete no question asked) are worth hundreds of man-hours, if not thousands, and ten times that in dollar value.

      Windows Shadow Copy has an exact template on how to implement it, now go implement it.

      (And yes, I keep backups, as should everybody. But there's no excuse not to use spare disk space as another layer of defense.)

    26. Re:But does it undelete... by lucas+teh+geek · · Score: 1
      more importantly, the suggested script stops working correctly as soon as you start using wildcards.

      rm-script *.jpg
      that script will only delete the first file matching the wildcard because the shell does the wildcard expansion, while arguments $2 onwards are not affected. you could write a more complex script, but it still wont solve the other problems you pointed out
      --
      TIAEAE!
    27. Re:But does it undelete... by Trogre · · Score: 1

      No, no, and a thousand time NO!

      Undelete might not be a problem for a lot of people. In fact some security-paranoid people might like it that way, but that's what 'shred' is for, isn't it?

      For me however, it's a dealbreaker. No matter how much I educate my users, someone at least once a year manages to delete a file they didn't intend to. So what, you might say, just recover from backup. No good if that file is one they've been working on that day, and backups are done nightly. Of course, RAID is of no benefit here since this is on the filesystem level. It is a reasonable expectation to be able to 'undo' many things these days. Even for us sysadmins - I can happily type rm -Rf /usr/local/oldprogram, but if a finger slips and I get rm -Rf /usr/ local/oldprogram, it's fatal. I guess that makes me an 'idiot' too. Then again I do occasionally need to press the BackSpace key on my keyboard, so that pretty much confirms it. Why on earth should unlinking a file be like breaking an egg?

      IMO the ability to undelete files is a basic requirement of any production-level filesystem. Okay, granted that EXT3 recovery isn't anywhere near as easy as I'd like it to be (nowhere as good as EXT2 for example), but it is for the most part possible.

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    28. Re:But does it undelete... by Peter+H.S. · · Score: 1

      KDE allready has a trashcan or a "Protected Recycle Bin". If you choose so, all files user deleted within the KDE framework goes to the Trashcan instead, there is of course a slight speed penalty for doing this when deleting lots of files. But since it doesn't work at the system level there are no penalties in e.g. speed when the OS performs deletes of temporary files. So basically the ordinary KDE users using a GUI can have all the delete protection the user wants no matter what filessystem is being used.

      --
      Regards

    29. Re:But does it undelete... by Anonymous Coward · · Score: 0

      This doesn't sound like it catches the case where the user saves file "foo" on top of file "bar" and then wishes to get "bar" back.

    30. Re:But does it undelete... by apt-get+moo · · Score: 1

      If you get into this situation that often, make rm an alias for 'rm -i'. The interactive flag overrides the force flag, so you'll have to confirm every deletion. Or better yet, be more careful

      --
      ...."Have you mooed today?"...
    31. Re:But does it undelete... by Pig+Hogger · · Score: 2, Informative

      In order to delete all your potential trash files you have to do the following (GNOME):

      1. sudo rm -rf $HOME/.Trash/*
      2. sudo rm -rf $HOME/.local/share/Trash/*
      3. for each mounted filesystem, do the following:
      if [ -d "${filesystem}/.Trash-${USER}" ]; then sudo rm -rf "${filesystem}/.Trash-${USER}" ; fi

      Er, no.

      Sorry, but no way I'm gonna have a script that contains "sudo rm -rf" on my system...

    32. Re:But does it undelete... by Saxerman · · Score: 1

      You're not asking for something you want in the file system. In order to 'undelete' something, you need to have not actually deleted it in the first place. Once you 'really' delete something, you want that free space to become immediately available. If you want to keep around 'deleted' files for awhile, before you actually remove them from disk, you just want the "trash can" style functions, where you move 'deleted' files off to a trash can directory where they will eventually be 'really deleted' after a specific period of time. Which, if you really want, you could add by creating a simple shell script to sub out your rm command, and a cron entry. Or you could just use whatever similar functionality already exists for your distro.

      --

      A steaming cup of soykaf would be real wiz right now.

    33. Re:But does it undelete... by jimmyharris · · Score: 1

      The greatest feature of modern software is "Undo." Everything I can screw up on the computer should have an Undo-- that's what the Recycle Bin (or Trash Can for Mac users) is there for, although it's a bit more awkward than pressing control-Z.

      And Linux (at least if you're running GNOME - I don't use KDE but I would guess it's the same) acts identically to OS X. If I delete things using the GUI they end up in the Trash under both GNOME and under OS X. If I delete them using the command line under either system, they're gone for good.

    34. Re:But does it undelete... by timbo234 · · Score: 1

      Everything I can screw up on the computer should have an Undo-- that's what the Recycle Bin (or Trash Can for Mac users) is there for, although it's a bit more awkward than pressing control-Z.

      Both KDE and GNOME have this built-in. In KDE there isn't even an option in the right-click menus anymore (unless you know to hold down the shift key) to properly delete something - it always goes to the trash can.

      --
      Pre-canned Evolution Links for all those Slashdot holy wars.
    35. Re:But does it undelete... by trolltalk.com · · Score: 1

      Well, you could run a subversion or git server, and alias the rm command so that it saves everything in the filespec, then deletes everything. That gives you the best of both worlds.

    36. Re:But does it undelete... by Anonymous Coward · · Score: 0

      I'd alias rm to something with a more sane cmdline interface, but that would break every shell script in existance.
        It wouldn't. Scripts aren't affected by aliases unless you go out of your way to make it happen.
    37. Re:But does it undelete... by Blakey+Rat · · Score: 1

      Yes, but if a hostile script ran in your user account, it would delete them "using the commandline" (i.e. programmatically) and they'd be gone forever. That was my point.

      Windows Shadow Copy helps prevent this by keeping track of last revisions of files regardless of how they were deleted. OS X has "Time Machine" which provides much of the same capability.

      Security experts on computers are always so concerned about "the system." Will a virus be able to corrupt your system files? Can a worm screw with the bootloader? Is the system secure? Screw the system. The system is worth maybe two hours, the amount of time it takes to reinstall, the only *really* important files in the computer are the ones the user creates and uses to run their life. Computer permissions are currently designed entirely bass-ackwards for home computers.

    38. Re:But does it undelete... by Blakey+Rat · · Score: 1

      Yes, but everything should have it. The CLI too. In DOS, OS X Darwin, Linux, whatever. The option to Undo should *always* be available for *every* action (if technically possible; i.e. there's enough disk space left). Right now, the closest we have is OS X's Time Machine and Vista's Shadow Copy.

    39. Re:But does it undelete... by mlwmohawk · · Score: 1

      Undelete might not be a problem for a lot of people. In fact some security-paranoid people might like it that way, but that's what 'shred' is for, isn't it?

      The problem is that the actual definition of "delete" has been co-opted into meaning "remove from sight, and really delete later."

      If you want to be able to recover from a mistake, don't use "rm" or at least double check before you press the enter key.

      KDE and Gnome have trash cans, use the GUI or maybe someone can write a plugin replacement for "rm" that works with the trashcan metaphor.

    40. Re:But does it undelete... by mlwmohawk · · Score: 1

      The option to Undo should *always* be available for *every* action

      I am sick and tired of this "training wheel" society where no one takes the responsibility to double check their actions and everyone wants to be protected from themselves.

      I like "power tools" There is no "undo" for a drill or a saw. There is no undo for hammer. I HATE the idea that everything that I try to use doesn't do what its told because someone wants to protect me from myself.

      If you are unsure, use Gnome or KDE, they use a trash can metaphor that allows undelete. Otherwise, grow a pair and just be careful.

    41. Re:But does it undelete... by a.ameri · · Score: 1

      Temporary GUI recycle bins or trash cans or whatever you want to call them today completely miss the point. I do not always delete my files through Dolphin or Konqueror, I run scripts, I use the shell, and I also interact with my computer through various non-KDE programmes.

      Actually one of the initial goals of freedesktop.org was to harmonise this so that Gnome and KDE would use the same trash. I don't know how successful that was since it's been a while since I last ran Gnome.

      The GP is right. I remember Windows 98 and that Norton Protected Recycle Bin, and from a usability point of view, it was awesome. Easy to use, fast with no user-detectable performance hit, and very convenient. I can't think why 10 years on, we don't have the equivalent of that in the open source world even with advanced filesystems such as JFS and XFS.

      --
      -- /* Those who don't underestand Unix, are condemned to reinvent it poorly */
    42. Re:But does it undelete... by Blakey+Rat · · Score: 1

      I like "power tools" There is no "undo" for a drill or a saw. There is no undo for hammer. I HATE the idea that everything that I try to use doesn't do what its told because someone wants to protect me from myself.

      If you are unsure, use Gnome or KDE, they use a trash can metaphor that allows undelete. Otherwise, grow a pair and just be careful.


      So don't use Undo if you don't want to use it. That doesn't have anything to do with whether it should exist or not.

      I mean, if you want a really really hard game set the difficulty to "nightmare." If I don't, I can use "normal" and everybody's happy, right?

    43. Re:But does it undelete... by petermgreen · · Score: 1

      all files user deleted within the KDE framework goes to the Trashcan instead
      Sounds very much like the windows recycle bin, files deleted through the shell or through common dialogs etc (and presumablly files deleted through some special API that hardly anyone uses) get sent to the recycle bin. Files deleted by any other means or files overwritten by saving a new version over the top do not.

      From the GPs description it sounds like the norton protected recycle bin did a lot more than that.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    44. Re:But does it undelete... by dubl-u · · Score: 1

      The greatest feature of modern software is "Undo." Yes and no.

      That's a great feature for user-facing applications, no denying it. I love my undo. But filesystems aren't just for users. I would like my filesystems to focus on storing files.

      If they provide hooks so that somebody can implement undo on user-focused systems, that's great. But that undo should be part of a carefully-considered common user interface to undo for system operations, and not something jammed into a single filesystem because people think that'd be cool.

    45. Re:But does it undelete... by Peter+H.S. · · Score: 1

      AFAIK the Norton bin only gave protection for files deleted within the Windows environment, not if one used "delete *.*" from the "console", or if one shelled out to DOS. Anyway the FAT filesystem had no notion of "undelete" or any kind of delete protection, though some hacks could be used because the FAT filesystem was incredible badly designed and therefore technically didn't delete the file, but just the entry to it. But the cost of this design was among other things a really, really nasty tendency to have badly fragmented filesystems.

      I don't think it makes sense to implement delete protection on the filesystem level, it should be done as KDE does it, and for those few that wants to delete files from the commandline, request a modified "rm" GNU tool, or use 'mv *.zap /tmp instead of 'rm *.zap' instead.

      --
      Regards

    46. Re:But does it undelete... by drinkypoo · · Score: 1

      Whatever, the actual script is left as an exercise to the reader. You could for example use find, reverse the order of the lines output by find, then for each file test to see if it is a file or a directory, then rm -f the file if it is a file, or rmdir the directory if it is a directory.

      The whole point was to illustrate how retarded the current trash situation is, not to write you a shell script. That's not my job.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    47. Re:But does it undelete... by Anonymous Coward · · Score: 0

      AFAIK the Norton bin only gave protection for files deleted within the Windows environment, not if one used "delete *.*" from the "console", or if one shelled out to DOS.

      GP article plainly stated that the Norton feature worked even for files deleted from DOS. Even files overwritten by copying one file on top of another. Are you saying you used Norton with Windows 98, and therefore you know for a fact that GP is wrong, or did you just not pay attention?

      But the cost of this design was among other things a really, really nasty tendency to have badly fragmented filesystems.

      The tendency of FAT file systems to fragment has absolutely nothing to do with the way DOS marks files as deleted. It has more to do with the way DOS allocates space for files, plus the lack of any kind of "background daemon" that could tidy things up over time.

      I don't think it makes sense to implement delete protection on the filesystem level

      Protection on the file system level is the only way to protect the user from the classic mistake of saving a file over another file by mistake. It has other advantages but that one is huge.

      The file system should help with this undelete feature: instead of actually deleting a file it should move it to a holding area. But user-space tools should handle the tasks of listing the deleted files, requesting undeletion, etc. so the file system doesn't do all the work.

  14. ext3 tops out at 16GB files? by XorNand · · Score: 1, Interesting

    Ext3 tops out at 32 tebibyte (TiB) file systems and 2 TiB files, but practical limits may be lower than this depending on your architecture and system settings--perhaps as low as 2 TiB file systems and 16 gibibyte (GiB) files.
    Is this really the case? I created a 100GB file on ext3 earlier this week. It contains a virtual machine image that I am currently running under Xen. I haven't yet had a problem. I would guess that >16GB files are pretty commonly used in the world of Xen.
    --
    Entrepreneur : (noun), French for "unemployed"
    1. Re:ext3 tops out at 16GB files? by Uncle+Focker · · Score: 1

      Did you miss the part where it said "may be" lower. As in, it's in some cases that might be true, but not others.

    2. Re:ext3 tops out at 16GB files? by Firefalcon · · Score: 2, Informative

      This may help (from <a href="http://en.wikipedia.org/wiki/Ext3">Wikipedia's ext3 entry</a>):

      "Block size     Max file size     Max filesystem size
      1KiB         16GiB         2TiB
      2KiB         256GiB         8TiB
      4KiB         2TiB         16TiB
      8KiB         2TiB         32TiB

      It should be noted that the 8 KiB block size is only available on architectures which allow 8 KiB pages (such as Alpha)."

  15. Teletebi by davidwr · · Score: 1

    1024^4 television shows and not one of them worth watching.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  16. Getting off topic, but... by teh_commodore · · Score: 1

    Might I recommend passing the -I option? I have rm aliased to 'rm -I' on my work machine.

    --
    --"insert clever quote here"
    1. Re:Getting off topic, but... by swilver · · Score: 1

      Yes, I have that too, and it's useless.
      Frankly, the whole command is poorly designed. I don't want to confirm each and every directory, I want an overview of what is getting deleted, and then I want it to ask me "are you sure?". It doesn't even offer an option "yes to all" when using interactive mode when you finally tire of pressing "y" 50.000 times.
      I've even went looking for replacements that did just that, but that turned up nothing.

    2. Re:Getting off topic, but... by teh_commodore · · Score: 1

      Have you tried the good ol' 'quick and dirty bash script'? I haven't written it up, because I haven't run into a significant problem yet, but it doesn't seem like it'd be anything hard.

      --
      --"insert clever quote here"
  17. Wrong arguments by The+Mighty+Buzzard · · Score: 1

    I think you're looking for rm -rI /hugedir then. Adding the -f option is you specificly stating that you know exactly what you're doing and do not want to be asked if you're sure you want to remove /home and all it's subdirectories.

    --
    Violence is like duct tape. If it doesn't solve the problem, you didn't use enough.
    1. Re:Wrong arguments by swilver · · Score: 1
      Capital I not being an option on my rm, I assume you are talking about the "interactive" mode. The problem is that rm's behaviour is ridiculous in this mode. Watch this:

      [root@MyServer 0 ~]# rm -Ri MPdeletethis
      rm: descend into directory `MPdeletethis'? y
      rm: descend into directory `MPdeletethis/Gui'? y
      rm: descend into directory `MPdeletethis/Gui/wm'? y
      rm: remove regular file `MPdeletethis/Gui/wm/ws.c'? y
      rm: remove regular file `MPdeletethis/Gui/wm/ws.h'? y
      rm: remove regular file `MPdeletethis/Gui/wm/wskeys.h'? y
      rm: remove regular file `MPdeletethis/Gui/wm/wsmkeys.h'? y
      rm: remove regular file `MPdeletethis/Gui/wm/wsxdnd.c'? y
      rm: remove regular file `MPdeletethis/Gui/wm/wsxdnd.h'? y
      rm: remove directory `MPdeletethis/Gui/wm'? y
      rm: descend into directory `MPdeletethis/Gui/skin'? y
      rm: remove regular file `MPdeletethis/Gui/skin/cut.c'? y
      rm: remove regular file `MPdeletethis/Gui/skin/cut.h'? y
      rm: remove regular file `MPdeletethis/Gui/skin/font.c'? y
      rm: remove regular file `MPdeletethis/Gui/skin/font.h'? y
      rm: remove regular file `MPdeletethis/Gui/skin/skin.c'? y
      rm: remove regular file `MPdeletethis/Gui/skin/skin.h'? y
      rm: remove directory `MPdeletethis/Gui/skin'? y
      rm: remove regular file `MPdeletethis/Gui/interface.c'? y
      rm: remove regular file `MPdeletethis/Gui/interface.h'? y
      rm: remove regular file `MPdeletethis/Gui/Makefile'? y
      rm: remove regular file `MPdeletethis/Gui/bitmap.c'? y
      rm: remove regular file `MPdeletethis/Gui/bitmap.h'? y
      rm: remove regular file `MPdeletethis/Gui/app.c'? y
      rm: remove regular file `MPdeletethis/Gui/app.h'? y
      rm: remove regular file `MPdeletethis/Gui/cfg.c'? y
      rm: remove regular file `MPdeletethis/Gui/cfg.h'? y
      rm: descend into directory `MPdeletethis/Gui/win32'? y
      rm: remove regular file `MPdeletethis/Gui/win32/interface.c'? y
      ... few 1000 lines more removed ...
      You get the idea. Is no wonder I type -f when I want to remove a directory.
    2. Re:Wrong arguments by Sentry21 · · Score: 1

      I default rm (as root) to rm -vi. Why? Not so that I can confirm every file deletion. Rather, so that when I delete something as root without using -rf (which I have made a habit), it asks me if I'm sure. I can then say 'Oops, that's not what I wanted to do!' or 'Oops, I need to use -rf'.

      The more PEBKAC I can prevent, the better.

  18. IANALinguist but... by Anonymous Coward · · Score: 0

    Maybe a linguist can pitch in to explain why tebibyte sounds so awful?

    Maybe it's your accent? I'm entirely serious. I don't have trouble saying either word, or find an aesthetic difference.

    So, what's your accent? This is bemusing. You've got me trying the words in various regional intonations to figure out why you find tebibyte a bad coinage. No luck so far.

  19. Why bother? by jabuzz · · Score: 3, Informative

    ext4 is the biggest waste of time and effort in Linux. There are already good extent based filesystems for Linux. Why anyone would consider using what is an experimental filesystem for a multi TB production filesystem is beyond me.

    What ever they do XFS and JFS will have way more testing and use than ext4 will ever have. I just don't get the point of ext4. It would be far more useful to fix the one remaining issue with XFS, the inability to shrink the filesystem none destructively, than to flog the dead horse which is ext2/3 even more with ext4, which is not one disk compatible anyway.

    1. Re:Why bother? by skulgnome · · Score: 3, Insightful

      It has value as an experiment, even if it ultimately doesn't turn into much. These people have ideas, and they want to implement them. They aren't maintenance programmers and should not be shoehorned into that task even at the level of J. Random Person On Slashdot's thought.

      Remember how reiserfs was the first filesystem to have journaling in Linux, and how some people were ready to state that there is no need to do an ext3 any more?

    2. Re:Why bother? by trolltalk.com · · Score: 1

      ext4 is the biggest waste of time and effort in Linux. There are already good extent based filesystems for Linux. Why anyone would consider using what is an experimental filesystem for a multi TB production filesystem is beyond me.

      TFA points out that it's NOT for production use yet.

      As for why we want more choice - look what happened with reiserFS. The development environment now only runs in a chroot jail ...

    3. Re:Why bother? by clampolo · · Score: 2, Informative

      As for why we want more choice - look what happened with reiserFS. The development environment now only runs in a chroot jail ...

      Is Reiser4 really a dead project? (no pun intended) Seemed like it was just breaking some kernel coding standards but was working.

      Would be a shame for the project to get scrapped. The performance numbers were great (faster and files were smaller.) ext4 is a LOT less interesting.

    4. Re:Why bother? by ChrisMaple · · Score: 1

      From what I've read, Reiser4 is very slow deleting files.

      --
      Contribute to civilization: ari.aynrand.org/donate
    5. Re:Why bother? by dbIII · · Score: 1

      It had a very small team working on it and a rabid hero worshipping fanbase that would not accept criticism. We've seen XFree86 reworked as Xorg without the social issues dragging it down so it may continue to the point where it is viable (eg. filesystem recovery that works), and across the board performance instead of good performance at specific file sizes.

    6. Re:Why bother? by JayAEU · · Score: 1

      Interestingly enough, the same was being said about ext3. Back then, everybody was wondering why anybody would want to use ext3, when ReiserFS provided journalling and a btree-based on-disk format.

      The rest is history.

    7. Re:Why bother? by jabuzz · · Score: 1

      Yes but at the time ReiserFS was brand new. However now in 2008, XFS has been available on Linux for at least six years, and has a much longer pedigree on Irix. The situation is not comparable at all. I would also say that ext3 is an dismal filesystem for a large one. Nobody in their right mind would push ext3 to it's limits.

    8. Re:Why bother? by zsau · · Score: 1

      (no pun intended)

      You noticed the pun. At the time you pressed "Submit" you intended the pun. Why deny it? If you think its tasteless, edit what came before. If you like it, admit it; we won't think any less of you (I mean seriously, he's a murderer according to a jury of his peers).

      Saying "no pun intended" is fine, because you can't unsay something. Writing "no pun intended" on a computer is silly and makes the language meaningless. Meaningless language is bad because it defeats the purpose.

      --
      Look out!
    9. Re:Why bother? by ioshhdflwuegfh · · Score: 1

      (no pun intended)

      You noticed the pun. At the time you pressed "Submit" you intended the pun. Why deny it? If you think its tasteless, edit what came before. If you like it, admit it; we won't think any less of you (I mean seriously, he's a murderer according to a jury of his peers). But still, there is no guarantee that the reader will have noticed the pun. That's the pun of writing "no pun intended". Then "no pun intended" may defeat the intentionality of the writer (who might have intended to write: yes, I know there is a pun here, but the text has meaning beside the pun, I'd like you to focus on that).

      Saying "no pun intended" is fine, because you can't unsay something. Writing "no pun intended" on a computer is silly and makes the language meaningless. Meaningless language is bad because it defeats the purpose. The pun of written "no pun intended" thus forks the meaning by diverting the purpose, intention, etc...
  20. This is going to sound crazy but... by pizzach · · Score: 1

    Wouldn't it be easier to make manufacturers use the old MB=1024 type standard than to get the common people to understand a new prefix that they just won't remember?

    --
    Once you start despising the jerks, you become one.
  21. Comment removed by account_deleted · · Score: 4, Funny

    Comment removed based on user account deletion

  22. What about comparison to other filesystems? by Khopesh · · Score: 4, Informative

    Those features may be new to ext3, but not to the real competitors. I see nothing that might grant an edge over JFS or XFS. The real justifications will come from performance tests.

    This reminds me of the recent NTFS article here, which actually suggested that since Hans Reiser is in jail and reiser4 is dead, we should consider NTFS. WTF? The ludicrousness of using NTFS as the primary filesystem is further justified in this article by its similar performance to ZFS, but both run in user-space (and are thus horrible in performance), so neither is really an option. What the heck is wrong with JFS and XFS?

    Here are some real comparisons: First, Wikipedia's Comparison of file systems gets you started with a nice mapping of features. Second, a benchmarking of filesystems from 2006 which is still quite applicable (though it doesn't yet cover ext4). What we need is a comparison of EXT4 to XFS and JFS (et al), with EXT2/3 in there for reference.

    Recall that the biggest reason for using ext3 is that it is supported best of all the filesystems. If all hell breaks loose, even Tomsrtbt (an ancient rescue floppy pre-dating knoppix) can fix it. Ext4 breaks this backwards-compatibility to ext2. Therefore, I see no reason to use it. One might as well use something more stable and proven, especially while we lack numbers suggesting it performs as well or better.

    --
    Use my userscript to add story images to Slashdot. There's no going back.
    1. Re:What about comparison to other filesystems? by Sentry21 · · Score: 3, Informative

      If your recovery procedures involve using pre-knoppix floppy recovery tools, you shouldn't be administering any systems with important data on them.

      Aside from the fact that no non-obsolete machine I've seen in the last few years has a disk drive, 'backwards compatibility with ext2' is a pretty lousy minimum requirement for a filesystem.

      Heck, I can do recovery on Ext2/3, ReiserFS, JFS, XFS, and more using only a few-dozen-meg Debian netinstall image. I don't even want to know what an Ubuntu or Knoppix LiveCD could recover from.

    2. Re:What about comparison to other filesystems? by Anonymous Coward · · Score: 0

      To be honest, Ext4 looks promising. But....

      1) Ext3 isn't a bad filesystem. It performs just average over most tests. And that is a _good_ thing, it doesn't excel at any big thing but also doesn't completely suck at any big things (Reiser: large files, sparse files). It makes a good general use filesystem and has excellent tool chains available for it.

      2) Ext4 is only non backward compatible in its on disk layout if you enable extents. This is a moot point, though, since extents will be the default (they improve performance).

      3) Ted Tso is leading the development. I trust him, Ext2 and Ext3 haven't let me down yet. In the real world, data is money and I prefer safety over performance. Yes I even disable that 32MB write back cache. YMMV.

      4) Ext[34] gives me three journaling options (journal, ordered, writeback). No other linux filesystem offers this.

      5) Ext4 will offer greatly improved fsck times, online defragmentation, etc (online defrag has me drooling).

      As for overall performance, not bad at all:

      here
      here
      here

      To quote:

      > Short version: ext4 is awesome. zfs has absurdly fast metadata
      > operations but falls apart on sequential transfer. xfs has great
      > sequential transfer but really bad metadata ops, like 3 minutes to tar
      > up the kernel.

      Its good that Ext4 is bringing some good change... The part I'm most excited about, it appears Ext4 will be just as good as Ext3 in being a good general purpose filesystem. I can expect average to good performance across the board.

      IMHO

    3. Re:What about comparison to other filesystems? by oddfox · · Score: 2, Informative

      Here's an Ext4/XFS/ZFS benchmark

      I would like to see a more recent benchmark that did include JFS/Reiser/etc, though.

      --
      "We invented personal computing." - Bill Gates
  23. Linux is Dead by Anonymous Coward · · Score: 0

    Now that OpenSolaris is out... Use a REAL UNIX.

  24. What abbout Compresion. by Forge · · Score: 1

    My favorite file-system reportedly performed faster on certain workloads if it was compressed. However the primary maintainer will be incarcerated for a very long time.

    Dose EXT4 (or EXT3 for that matter) support running as a compressed file-system? If so, what is the speed like?

    Especially on that workload most likely to benefit substantially from running as a compressed file system. Mid to High Traffic Email server.

    --
    --= Isn't it surprising how badly I spell ?
  25. Why to bother... by tempest69 · · Score: 1

    ok, I'll agree ext4 blows.. XFS and Jfs are dogs in the small file arena. sure they both address it, but neither one does it well. nor do they have undelete, which is pretty nice. and one second file timing is a bit on the loose side, especially if your running a batch that checks that sort of thing. And none of these are tuned for a SSD at all. So yes we need upgrades, big time, ext4 isnt it..

  26. Re:But does it undelete... - correction by Anonymous Coward · · Score: 0

    If you want undelete capabilities, maybe rm just isn't right for you. You could just make rm an alias to "mv $1 ~/.trash/" or something?

  27. Converting from Reiser... by fialar · · Score: 1

    Anyone know an easy way to convert from Reiser? I set up a Reiser partition a while back. It's quite large. I think I'd need to do it peacemeal, like, size reiser partition down, create ext3.. move files.. size it down again, increase size for ext3, etc.. until the reiserfs has no space on it?

    I don't have the space to unload all the reiser files someplace else.

    Any ideas? Does gparted resize reiserfs without destroying the fs?

    1. Re:Converting from Reiser... by Spoke · · Score: 1

      You're pretty much screwed. Generally, the only way to extend a filesystem is to add space to the end of the partition. Extend the partition, then tell the filesystem to expand to use the newly allocated partition space.

      Now, you could fake this by using LVM and multiple partitions, but the end result would not be pretty.

    2. Re:Converting from Reiser... by apoc.famine · · Score: 1

      My best idea would be to move your data to your normal backup medium, then resize/reformat your drive as needed.

      Of course, if you don't back up, your file system of choice is moot. Recently, I doubled my drive space for less than half what the initial drive space cost. I formatted the new drive as needed, and then copied things over, and mirrored the old drive. Everything fails, it's a matter of when, not if.

      --
      Velociraptor = Distiraptor / Timeraptor
    3. Re:Converting from Reiser... by petermgreen · · Score: 1

      I'm pretty sure gparted can nondistructively resize reiserfs partitions. So your method should be possible.

      Unfortunately during each resize operation you will have to move the start of the ext3 partition. This is slow and relatively risky since afaict gparted moves the start of a partition by moving all the data on the partition, you can imagine what state that would leave the filesystem in if there was a power failure partway through.

      Personally I don't think it is worth the hassle and risk.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
  28. Ext4 still far from stable by Anonymous Coward · · Score: 2, Informative

    The article doesn't say this explicitly enough: if you like to keep your data, DON'T USE EXT4 YET! It is still in highly experimental stage. Try it out, fine... but not as the only copy of your data.

  29. What about corruption resistance? by rrohbeck · · Score: 1

    I've been bitten by the ext3 journal corruption bug due to out-of-order writes of the journal (write-heavy operation on a large RAID with write-back caching and a power failure), so... how well is journaling and recovery being tested under such conditions?

    1. Re:What about corruption resistance? by Anonymous Coward · · Score: 1

      Ext4 now checksums all the journal data. I can't comment on testing, but they have done work on improving detection of bad journal data (aka checksumming).

    2. Re:What about corruption resistance? by mikelieman · · Score: 1

      how well is journaling and recovery being tested under such conditions? Since it's Open Source software, the 'stock' answer will do:

      "How well are you planning and testing the journaling and recovery?"
      --
      Technology -- No Place For Wimps! Grateful Dead and Jerry Garcia Chatroom -- http://www.wemissjerry.org
  30. More precisely... by Ecuador · · Score: 1

    ...flushes the free space left on its array.

    --
    Violence is the last refuge of the incompetent. Polar Scope Align for iOS
  31. Re:But does it undelete... - correction by EvanED · · Score: 1

    There are three problems with such a simple solution; I talk about them above. (Ignore the first two; they don't apply. The third/fifth is in a reply to that post.)

  32. OMFG. NTFS? by rrohbeck · · Score: 1, Informative

    Anybody who advocates NTFS has never worked with directories with a large number (>100,000) of files under one directory tree. Just deleting one file can make the disk seek for several seconds, during which the filesystem is completely frozen. I guess it's reshuffling its entire B-tree.

    1. Re:OMFG. NTFS? by NitroWolf · · Score: 1

      Anybody who advocates NTFS has never worked with directories with a large number (>100,000) of files under one directory tree. Just deleting one file can make the disk seek for several seconds, during which the filesystem is completely frozen. I guess it's reshuffling its entire B-tree.

      >100,000? What kind of system are you running? If I have more than a few thousand files in a directory and I want to do anything with the directory, it bogs down to a crawl. If it have 30k - 40k, I have to be very careful what I delete and select a lot of files at once to delete. Deleting them individually is suicide.

    2. Re:OMFG. NTFS? by Anonymous Coward · · Score: 0

      I use reiserfs and I regularly manipulate directories with upto a million files in them. Its no slower than a directory with a thousand files.

      I never understood why all other filesystems are broken in this regard.

    3. Re:OMFG. NTFS? by marcosdumay · · Score: 1

      I guess it's reshuffling its entire B-tree.

      Well, one doesn't reshufle a B-tree... But I wouldn't be too surprised if I discover Windows is doing that.

  33. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  34. Consistency and integrity are important by Anonymous Coward · · Score: 0

    One of the new features is checksums for the journal. That alone should make it the filesystem of choice for everyone. After all, what good is a filesystem which will pass you faulty data and pretend everything's fine.

    BTW, is there a filesystem which maintains checksums for all data? I've had hard to detect problems with faulty hardware, because the error rate was very low, and to this day I don't know what data was corrupted because there were no checksums on most of the data.

    1. Re:Consistency and integrity are important by ZachPruckowski · · Score: 1

      ZFS does full checksumming, but for licensing reasons, it's not available for Linux (outside of via FUSE). It runs on BSD and Solaris.

  35. B sub 2? by bill_mcgonigle · · Score: 1

    Yeah, but now the problem is that KB is now ambiguous - it could either be 1000 bytes, or it could be 1024. Before anyone mentions HDD manufacturers, it isn't ambiguous there, either. 1 KB is 1000 bytes, yeah that's because they're fleecing you, it sucks but oh well.

    What if we CS geeks agree to write 56Kb<sub>2</sub>? If it's conversational, no need.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  36. e2fsprogs still not ready, by gzipped_tar · · Score: 1

    and that is the problem.

    --
    Colorless green Cthulhu waits dreaming furiously.
  37. OT: Your sig by swillden · · Score: 1

    Whenever I hear the word activist, I reach for my revolver.

    Better watch that around these activists. They're a peaceful bunch, but don't even think about drawing on them, especially if you only have six shots.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  38. SSD improvements? by Larsrc · · Score: 1

    What I was hoping for was some improvements in making use of the characteristics of SSDs. But maybe that'd have to be an entirely new filesystem that is not designed with seek time as a generic assumption. Any takers? -Lars

  39. Mac OS X - HFS+ vs. ZFS? by Anonymous Coward · · Score: 0

    I know you're trolling but OS X is slowly going to get rid of HFS+ in favor of Sun's ZFS. Soon you will have the option to migrate your current Mac file system to ZFS. What are the benefits? What are the downsides? Hopefully there will be an article on Slashdot to help you with that.

    BTW, this post was written on a Mac. Evangelizing the OS X platform is fine as long as you do it for the right reasons. Doing it the wrong way or for the wrong reasons make us all look bad. Open Source advocacy is the same way.

  40. The Linux RAID implementation is the problem by Colin+Smith · · Score: 1

    The ext3 file system is pretty much OK, ext4 is only tweaking functionality.

    RAID on Linux handled by the MD subsystem, which is largely cluster unaware. This means it's unsafe for example to stripe across multiple iSCSI devices then run a cluster file system like GFS on top, which also therefore means that you have to have hardware RAID on a per device basis.

    --
    Deleted
    1. Re:The Linux RAID implementation is the problem by Tsagadai · · Score: 1

      You are talking out your arse. The other part of mdadm is multipath. Multipath is designed and programed for that specific role of joining many iSCSI and FC attached storage devices. Please take your ignorance and fud and go back to sleep.

  41. Here's my suggestion: by warrax_666 · · Score: 1

    Have the "trash-instead-of-rm" script md5sum the "deleted" file and rename it to ~/.Trash/.. If you get clashes it's very likely to be an identical file anyway and you avoid the various issues that might crop up if you try to recreate directory structures in ~/.Trash.

    This might need a fair bit of cpu on very large files (anything below a few MB is trivial on modern CPUs), but then you probably don't want to keep very large files lying around in ~/.Trash anyway (prevents good block allocation by the file system), so you could just opt to delete those immediately.

    --
    HAND.
  42. It all falls into place by Anonymous Coward · · Score: 0

    Now I'm sure that Sturgeon is to blame for Nina's murder in a corporate conspiracy to finish off Reiser4.

    Phew, Sean... 9 kills, just 1 more for RAMPAGE!

    Or is it multi-kill, sorry, haven't played UT in ages. :-)

  43. Failure waiting to happen though... by thrill12 · · Score: 0

    ...when on April 26, 2514, at 12:01 PM a lonely hacker decides to boot up the box he found buried in his backyard - big letters on it: "Linux, Ext4 install". He only heard of "Linux" once, but never anything on "Ext4", and is immensely interested in seeing what the thing would do. Some old history patch (a patch is a millimeter thick/wide data carrier) contains information on the voltage of the time and how one could produce it using a solar array. So he puts his solar area (1 centimeter in diameter) in his room, and as the light of the room powers the solar array connects the box to the solar array powered converter providing 120V. Doing some further hacking he converts the "DVI"-output of the thing to his wallscreen's 1024bit-digital input, and presses the On-button.

    Momentarily, the system boots, starts counting "Bogomips" and generally makes the hacker feel like he found something of immense value. Now he will know everything on the old "Linux" operating system, which is so hard to locate or read on now B.G. Inc. has taken over governmental control of the former USA, and renamed the capitol "1 B.G. Way", and the whitehouse "Microhouse (c) MS". Then something happens, a message : "Kernel panic, init not found !", and the thing crashes..

    I tell you, how do we explain to that hacker, more than 500 years away, that EXT4 was simply not made to run beyond April 25, 2514 ? Unacceptable, failure waiting to happen: think of the poor future hackers in a dystopian society!

    --
    Slashdot: stuff for news, nerds that matter, matter for news, stuff that nerd
  44. Don't be too concerned by marcosdumay · · Score: 1

    By then, the onboard battery will already have failed, and data will be restored to January 1st 1970.

  45. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion