This Linux filesystem was supposed to change everything—here’s the dark reason it failed


There are dozens of Linux file systems, and I’m sure you’ve heard of ReiserFS at least once. It promised a great deal but ultimately failed. I could give you some technical reason for its demise, but that would be dishonest. The true reason is much darker, and if you heard it, you might appreciate your day a little more.

ReiserFS was a project that promised so much in the early days of Linux, and its lead developer—Hans Reiser—had big aspirations for his invention and company (Namesys). ReiserFS took his Linux file system in an entirely new direction with its B-tree index and tail-packing features—something sorely needed at the time. With distros like SUSE adopting it early, the future looked good for Hans Reiser’s gem, but fate had other plans.

Problems begging to be fixed

Inefficient searches and storage bogged Linux down

In the early days of Linux, file systems were not as performant as they are now—scalability was a mere afterthought, and Ext2 is a prime example.

Everything is a file on Linux, and directories are no different. What you see as a folder icon is merely an illusion, and the directory is actually a special file that stores directory data. The reality is slightly more complex, involving an inode, but that’s the general idea.

To search for a particular filename in a directory, Ext2 performed a linear search of its directory file, which means it checked every file entry one after the other. When a directory contains millions of files (like an email server), and the requests come thick and fast, the server begins to buckle under the enormous pressure.

Linux mascot flying happily above the clouds with the Windows logo behind.


Switching From Windows to Linux: A Step-by-Step Migration Guide

A distro hopper’s guide to migrating from Windows to Linux.

B-tree indexing

A rapid and scalable solution that could handle millions of files

A B-tree is a self-balancing data structure organized like a Christmas tree. To skip all the gory details, their primary benefit to ReiserFS is their astounding speed. For example, searching a tree with trillions of items takes only a few dozen operations. For ReiserFS, storing metadata in the tree meant there was no limit to the number of files a directory could contain—unlike Ext2, which got bogged down for every file added.

ReiserFS also stored everything in the tree—metadata and file data. This was very different for the time and eliminated performance bottlenecks during metadata operations.

Tail packing

A sensible space-saving technique

ReiserFS saved space by packing small files into the same block, which is a small (e.g., 4KB) boundary that most file systems use to assign a standard space. When you save a 6KB file, it allocates two 4KB blocks, with half a block going unused. ReiserFS crammed small files into the unused tail of the block, keeping the number of allocations and wasted space down. Such a technique is useful for servers that host many small files, which were every web, email, and file server at the time.

Tux, the Linux mascot, using a laptop as the Windows logo behind him fades away on a blue background.


The “Windows vs. Linux” debate is a waste of time: Here’s a better approach

It’s not Windows vs. Linux, it’s Windows and Linux.

From the mainline to the main yard

An unrecoverable error

Linux mascot on a globe holding a flag. Credit: Lucas Gouveia/How-To Geek | eamesBot/Shutterstock

It was looking good for Hans and his team, and in 2001, ReiserFS found its way into the kernel mainline. That lasted for several years until Hans and his company hit a tiny snag: he murdered his wife.

In 2008, the state of California convicted Hans of first-degree murder. He initially denied it at his trial but later confessed on tape for a reduced sentence of second-degree murder—which carries 15 years to life. Hans described punching his wife in the mouth and then strangling her while his children played computer games in another part of the house. He stored her body in the bathroom and then in his car for two days while he searched for a place to bury her.

According to Hans, his wife (a physician) was an “unfathomable” psychopath and a gifted liar who was “jealous of her own children.” He also later claimed at a civil trial in 2012 that he was protecting them because she had Munchausen by proxy—a mental disorder where a caregiver fabricates or induces illness in someone under their care. At the same trial, he compared himself to Moses, who murdered a slave master and buried the body in the sand.

Sometime around the first trial, his company had become inactive and ceased all operations. Hans was effectively out of business, and, in the civil trial, he was ordered to pay $60m in damages to his children.

The inevitable demise of ReiserFS

It’s not us, it’s you

To add to the woes, cracks begun to appear in ReiserFS, from subtle file corruption issues to using outdated kernel APIs. The most pressing issue was that ReiserFS got swept up in the Y2038 problem. While ReiserFS could represent times up to 2106, it did not modernize along with the kernel, and in 2022, it was deprecated in the kernel mainline and then later removed in 2024.


Hans had big plans for ReiserFS, and for a while, his company was delivering. Things were looking up for him, but like the rest of us, he couldn’t escape real life. Hans clearly had problems and didn’t deal with them. It cost him his freedom, his children, and his dream.

The moral of the story is: if you don’t maintain your code, Linus will delete it from the mainline.

A laptop with Linux, the Windows logo next to it, a swap icon in the center, and a warning sign.


7 Things Nobody Tells You About Dual Booting Linux and Windows

Truths about dual booting I learned the hard way.



Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


Smartphones have amazing cameras, but I’m not happy with any of them out of the box. I have to tweak a few things. If you have a Samsung Galaxy phone, these settings won’t magically transform your main camera into an entirely new piece of hardware, but it can put you in a position to capture the best photos your phone can muster.

Turn on the composition guide

Alignment is easier when you can see lines

Grid lines visible using the composition guide feature in the Galaxy Z Fold 6 camera app. Credit: Bertel King / How-To Geek

Much of what makes a good photo has little to do with how many megapixels your phone puts out. It’s all about the fundamentals, like how you compose a shot. One of the most important aspects is the placement of your subject.

Whether you’re taking a picture of a person, a pet, a product, or a plant, placement is everything. Is the photo actually centered? Or, if you’re trying to cultivate more visual interest, are you adhering to the rule of thirds (which is not to suggest that the rule of thirds is an end-all, be-all)? In either case, having an on-screen grid makes all the difference.

To turn on the grid, tap on the menu icon and select the settings cog. Then scroll down until you see Composition guide and tap the toggle to turn it on.

Going forward, whenever you open your camera, you will see a Tic Tac Toe-shaped grid on your screen. Now, instead of merely raising your phone and snapping the shot, take the time to make sure everything is aligned.

Take advantage of your camera’s max resolution

Having more pixels means you can capture more detail

I have a Samsung Galaxy Z Fold 6. The camera hardware on my book-style foldable phone is identical to that of the Galaxy S24 released in the same year, which hasn’t changed much for the Galaxy S25 or the Galaxy S26 released since. On each of these phones, however, the camera app isn’t taking advantage of the full 50MP that the main lens can produce. Instead, photos are binned down to 12MP. The same thing happens even if you have the 200MP camera found on the Galaxy S26 Ultra and the Galaxy Z Fold 7.

To take photos at the maximum resolution, open the camera app and look for the words “12M” written at either the top or side of your phone, depending on how you’re holding it. The numbers will appear right next to the indicator that toggles whether your flash is on or off. For me, tapping here changes the text from 12M to 50M.

Photo resolution toggle in the camera app of a Samsung Galaxy Z Fold 6. Credit: Bertel King / How-To Geek

But wait, we aren’t done yet. To save storage, your phone may revert back to 12MP once you’re done using the app. After all, 12MP is generally enough for most quick snaps and looks just fine on social media, along with other benefits that come from binning photos. But if you want to know that your photos will remain at a higher resolution when you open the camera app, return to camera settings like we did to enable the composition guide, then scroll down until you see Settings to keep. From there, select High picture resolutions.

Use volume keys to zoom in and out

Less reason to move your thumb away from the shutter button

Using volume keys to zoom in the camera app on a Samsung Galaxy Z Fold 6. Credit: Bertel King / How-To Geek

Our phones come with the camera icon saved as one of the favorites we see at the bottom of the homescreen. I immediately get rid of this icon. When I want to take a photo, I double-tap the power button instead.

Physical buttons come in handy once the app is open as well. By default, pressing the volume keys will snap a photo. Personally, I just tap the shutter button on the screen, since my thumb hovers there anyway. In that case, what’s something else the volume keys can do? I like for them to control zoom. I don’t zoom often enough to remember whether my gesture or swipe will zoom in or out, and I tend to overshoot the level of zoom I want. By assigning this to the volume keys, I get a more predictable and precise degree of control.

To zoom in and out with the volume keys, open the camera settings and select Shooting methods > Press Volume buttons to. From here, you can change “Take picture or record video” to “Zoom in or out.”

Adjust exposure

Brighten up a photo before you take it

Exposure setting in the camera app on a Samsung Galaxy Z Fold 6. Credit: Bertel King / How-To Geek

The most important aspect of a photo is how much light your lens is able to take in. If there’s too much light, your photo is washed out. If there isn’t enough light, then you don’t have a photo at all.

Exposure allows you to adjust how much light you expose to your phone’s image sensor. If you can see that a window in the background is so bright that none of the details are coming through, you can turn down the exposure. If a photo is so dark you can’t make out the subject, try turning the exposure up. Exposure isn’t a miracle worker—there’s no making up for the benefits of having proper lighting, but knowing how to adjust exposure can help you eke out a usable shot when you wouldn’t have otherwise.

To access exposure, tap the menu button, then tap the icon that looks like a plus and a minus symbol inside of a circle.

From this point, you can scroll up and down (or side to side, if holding the phone vertically) to increase or decrease exposure. If you really want to get creative, you can turn your photography up a notch by learning how to take long exposure shots on your Galaxy phone.


Help your camera succeed

Will changing these settings suddenly turn all of your photos into the perfect shot? No. No camera can do that, even if you spend thousands of dollars to buy it. But frankly, I take most of my photos for How-To Geek using my phone, and these settings help me get the job done.

Samsung Galaxy Z Fold 7 on a white background.

Brand

Samsung

RAM

12GB

Storage

256GB

Battery

4,400mAh

Operating System

One UI 8

Connectivity

5G, LTE, Wi-Fi 7, Bluetooth 5.4

Samsung’s thinnest and lightest Fold yet feels like a regular phone when closed and a powerful multitasking machine when open. With a brighter 8-inch display and on-device Galaxy AI, it’s ready for work, play, and everything in between.




Source link