10 ms·
rm -r fs/ext3
- cbhl 11y agoI feel like, a few years from now, a new kernel developer will wonder why there are ext2 and ext4 modules but not an ext3 module, and this will be the answer.
- eru 11y agoWhat about a hypothetical ext1?
- tedunangst 11y agoNobody uses ext fs.
- ajross 11y agoThe Extended File System is not a hypothesis, it was a real filesystem. But it was replaced by ext2 (from the same author) very early, and by the time the distributions we know today were being put together it had already become the default choice. I don't know when exactly ext was removed from the kernel tree.
- TazeTSchnitzel 11y agoPerhaps ext4 should be renamed ext34.
- jlgaddis 11y agoNah. It's the "fourth extended" filesystem, not the "thirty-fourth extended" filesystem. Hopefully we'll have something else to replace it before we get that far!
- TazeTSchnitzel 11y agoext34 as in ext3/4. Nobody would assume it was the 34th edition.
- bronson 11y agoThen it would be called ext234 now. In another decade it would be called ext2345?
- blinkingled 11y agoNote that ext4 FS driver can mount both ext2 and ext3 filesystems on its own. So this isn't that big a deal.
- rayiner 11y agoObligatory "I feel old" post: Feels like not that long ago I was wondering whether to patch my kernel and upgrade to the experimental ext3.
- mhurron 11y agoThats funny, I was just remembering installing one of my first Linux distros where I had to choose between 2.2 or the brand new 2.4. I remember booting between them to see which one worked best with what I had. I suppose I had to decide to deal with ext3 not long after that.
- mromanuk 11y agoyes, me too. I remember living on the edge with the 2.4, I used Slackware. I recompiled the kernel once or two times a day :/ Always patching nvidia driver (in cli) because I cannot access X11 without driver :D
- jsjohnst 11y agoI remember choosing between Xia and Ext2 when I first installed Linux. Both had just came out that year if memory serves. Friend tried to push me to use Xia, but I went the other way. Had more headaches initially, but time shows which one won out in the end.
- InclinedPlane 11y agoJournaling? So futuristic. Ah, good times. I wonder... does anyone have numbers on how long it takes to fsck big drives using ext2?
- JoshTriplett 11y agoI remember that as well. I took a while to upgrade to ext3, and a much longer while to upgrade to ext4 (long after ext4dev became ext4). For most types of software, I like novelty. For filesystems, I like boring; boring is good.
- raverbashing 11y agoOr use the alternative: ReiserFS
- MBCook 11y agoI had completely forgotten about the whole reiserfs saga: v3, v4, creation of ext4, ZFS comparisons, then the trial. The file system wars were an interesting time. God I've been reading LWN forever. I had already been reading for many years when that stuff was going on.
- gnu8 11y agoI'm glad the author chose to leave out the details and just say he left the community. We don't need to read the lurid but irrelevant details in every article about filesystems.
- maaku 11y agoAnd now you've gotten everyone who didn't know to google it :P
- ddoolin 11y agoYour comment was enough to cause me to Google it. I'm glad I did (that isn't to say happy about the circumstance), this kind of drama doesn't come around these parts often... The first line of his Wikipedia entry is a tell-all: https://en.wikipedia.org/wiki/Hans_Reiser https://en.wikipedia.org/wiki/Hans_Reiser
- rodgerd 11y agoAnd if you read the Talk pages you'll see he still has his defenders, getting angry about him being described as a murderer.
- vidarh 11y agoAs far as I can tell most of those comments pre-dates his conviction. During the trial, I too saw plenty of reasons not to want to assume guilt prematurely - there were plenty of weird circumstances, and the evidence did not necessarily seem overwhelming at a distance (quite possibly reading the full transcript might have reduced that doubt) though it certainly pointed in his direction. The question really was not whether or not he looked guilty, though, but whether or not the evidence proved it beyond reasonable doubt. But of course he afterwards ended up leading police to her grave, causing whatever doubt was justified before to disappear (and the pre-conviction doubt also steadily dropped largely thanks to his own behaviour during the trial).
- malkia 11y agoFirst I thought, what about people with ext3 installed - then I've found this post - http://thread.gmane.org/gmane.linux.kernel/1996708 http://thread.gmane.org/gmane.linux.kernel/1996708 "no fstab changes required. The ext4 driver has been able to register itself as ext[23] for quite some time now, so it's transparent. Many/most distros have been using the ext4.ko driver for ext3 & ext2 for years. You may already be using that on some boxes, and not even know it. ;) -Eric (Sandeen)" Some more techincal information here: http://article.gmane.org/gmane.linux.file-systems/97986 http://article.gmane.org/gmane.linux.file-systems/97986 (thanks madars for the correct url)
- desdiv 11y agoWhich brings up a good question: how many of ext4's 60,000 lines of code are compatibility drivers for ext3 and ext2?
- tanderson92 11y agoDoesn't the statement > "The ext4 driver has been able to register itself as ext[23] for quite some time now, so it's transparent." itself imply that ext4 merely builds on ext2/3 ? That is, there shouldn't be too much compatibility code, since 3/4 are logical extensions of ext2. The need for a split was explained in the article and more by Linus: it wasn't incompatibility but the scary possibility for instability in a filesystem that most people used as the canonical linux filesystem. edit: think of ext3/4 as a fully backwards compatible 'branch' that is only now being 'merged' back in.
- justizin 11y agoIIRC once you mount an ext2/3 volume as ext4, you can't go back. ext4 has made a lot of improvements, but has also had a lot of corruption issues, even if corner cases. If you don't need extremely large files or extremely cluttered directory structures, you don't _need_ ext4, though I haven't compared directly in a few years, and I suspect a lot of these stability issues have shaken out. The worst I experienced was kvm guests with ext4 filesystems stored in files on ext4 filesystems causing the not only the guest, but often the _host_ filesystem to go corrupt. Obviously, using LVM volumes or basically anything but filesystem images for production VMs would have avoided this, but the infrastructure I supported at the time already had a lot of this in place and too many other problems to solve to focus on it.
- ryen 11y ago> For a while, some thought that might be a filesystem called reiser4, but that story failed to work out well even before that filesystem's primary developer left the development community This was a nice toungue-in-cheek for Hans Reiser going to prison
- marcosdumay 11y agoHe left the community long before he got accused of anything. He created his FS, and moved away.
- mc808 11y agoIt's not clear why they don't remove both ext2 and ext3. From the article it sounds like they're equally redundant but harmless other than taking up space in a directory listing. Does ext2 have "features" (read: potentially useful bugs) that are no longer present in ext4? Edit: Ahh. Looks like I missed "good filesystem for developers to experiment with."
- azurezyq 11y agoAs the author pointed out, the ext2 is more like a canonical example of how a fs should look like. More for educational use I think.
- joshstrange 11y agoI don't doubt that at all but I'm still confused. That's was SCM is for... Not like removing it from the repo makes it disappear off the face of the earth...
- JoshTriplett 11y agoext2 is a lot smaller than ext4. Then again, if you need to build an extremely tiny system, you probably want something even tinier than ext2.
- makomk 11y agoYeah, I think it's still in use on embedded systems that need read-write filesystems. (Read-only filesystems often end up being squashfs instead for space reasons.)
- leni536 11y agoext2 doesn't have journal. I'm not sure if you can remove the journal from ext4 and use the ext4 driver, but running without journal could make sense on usb drives.
- laumars 11y agoYou can run ext4 without journaling. You can also run ext2 with the ext4 driver. The reason for keeping ext2 around is more for educational purposes rather than compatibility with removable devices.
- nickpsecurity 11y agoReading the comments, I'm guessing I was the only fan of SGI who saw supercomputers used XFS (or variants), figured it would handle my lowly workloads, put it on my machines, worked around its few weaknesses, and just never thought of filesystem choice again aside from boot partition. Still my favorite filesystem for what was my favorite supercomputing & NUMA company.
- grahamux 11y agoand now XFS is the default in RHEL / CentOS 7
- nickpsecurity 11y agoI was about to try out the latest versions of RHEL-based distros in the near future. You just gave me more incentive. :)
- jessaustin 11y ago...worked around its few weaknesses... Details please! What are they and what did you do?
- nickpsecurity 11y agoBelieve it or not, Wikipedia has you covered on some big ones: https://en.wikipedia.org/wiki/XFS#Performance_considerations https://en.wikipedia.org/wiki/XFS#Performance_considerations (And disadvantages section.) I mostly used lowest common denominator of it with backups, clusters, and so on. Any other issues I countered with storage design and recovery procedures. I often did recovery around once a week or month to prevent silent buildup of issues. So, there might be issues I'm not aware of but it worked fine almost every time. Another commenter mentioned audio skips which happened to maybe a handful of my own files out of GB of music. Could be one of those issues or a quirk with that commenter's setup.
- bronson 11y agoI did the same thing for the same reason and I'm still finding songs in my mp3 collection with long strings of nulls in them. They only spent a year on XFS but that, plus a flaky display driver, did quite some damage. Luckily I kept my less bulky files on an ext2 partition and they were fine. Turns out supercomputer software might be written to a different set of requirements... Who knew!
- trengrj 11y agoCan anyone share a non-paywalled link? I'm getting "subscription required" from LWN.
- davidgerard 11y ago> For a while, some thought that might be a filesystem called reiser4, but that story failed to work out well even before that filesystem's primary developer left the development community. Well, not so much "left" ...
- seba_dos1 11y agoEffectively left. The fact and the reason why he was effectively forced to are irrelevant to this article.
- roel_v 11y agoIsn't there a rule against submitting paywalled articles?
- JoshTriplett 11y agoIt's an LWN subscriber link; it's supposed to work without a subscription. A few other comments mention hitting that as well, though; odd.
- DavidNielsen 11y agoThis is the second LWN subscriber link to be posted in as many days. I suspect they might have been a little peeved as posting those for the entire world to use isn't exactly the intended use.
- JoshTriplett 11y agoJonathan Corbet has explicitly said he likes seeing LWN subscriber links posted to services like HN, as long as nobody is systematically posting every paid article.