this post was submitted on 27 Jul 2023
282 points (91.7% liked)

Linux

48334 readers
650 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by AlpΓ‘r-Etele MΓ©der, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Happy 30th Birthday "New Technology" File System! Thanks for 30 years of demonstrating Linux superiority with a gap that widens with every new kernel release πŸ‘

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 72 points 1 year ago (2 children)

I heard, this commercial distribution β€œWindows” still uses it. But this thing just recently got a (very limited) package manger. So they seem to be very late with adapting to current technology.

[–] [email protected] 8 points 1 year ago (1 children)

package manger

current technology

How do I tell microsoft this isn't new

load more comments (1 replies)
[–] [email protected] 4 points 1 year ago (2 children)

On the bright side it only very rarely destroys itself when updating. However, some very loud foss distributions do it fairly often.

[–] [email protected] 5 points 1 year ago (2 children)

It forces you to update and then works at "something something" for 5 minutes to 5 hours and then reboots and does the same thing again but after logging in, none of your applications are updated and also none of the system seems to be changed with the updates. You don't even get proper status information during updates.

Of course it doesn't destroy itself when it doesn't change anything ...

[–] [email protected] 4 points 1 year ago

Oof this is only thing if you have the os on an HDD. I've had similar behavior on *buntu running off of an HDD.

On an sdd or nvme you'll never have stuff like this happen.

There is an argument to be made for it being better ux to not have programs update without telling you. Winget isn't perfect, but it can auto update your stuff if need be.

[–] [email protected] 2 points 1 year ago

Windows Server 2022 supports hotpatching in Azure and on prem if hosted on Azure Stack HCI. Not sure if it's coming to Windows 11 or not.

[–] [email protected] 4 points 1 year ago

It's good at destroying other OSs that may be installed alongside though

[–] [email protected] 56 points 1 year ago (1 children)

There's nothing wrong with solid old file systems; ext4 is almost 17 and no one complains about it,

[–] [email protected] 29 points 1 year ago (2 children)

But that's the problem, NTFS is not solid at all.

[–] [email protected] 14 points 1 year ago (1 children)
[–] [email protected] 19 points 1 year ago

No it's not. Ever tried grabbing it? You can't. Must be liquid or something

[–] [email protected] 10 points 1 year ago (19 children)
[–] [email protected] 11 points 1 year ago (1 children)

Nothing inherently wrong with NTFS itself as a filesystem besides being proprietary, and Microsoft supplies absolutely no support for using it in Linux. All the work done to get it running in Linux has been from the ground up and it shows. Many times I've had a hiccup on my external drives and they completely lock up until they're repaired on a windows machine. Unfortunately NTFS is one of the only journaled file system that works on both Windows, Apple, and Linux.

There has also been a lot of advances for filesystems like checksumming so you know when you get bitrot. Or copy-on-write which can take snapshots of a file and then further changes are stored as the difference. You can then rollback to any snapshot you've taken.

[–] [email protected] 2 points 1 year ago

Shadow copy.

[–] [email protected] 10 points 1 year ago (2 children)

Very slow, still needs defragmented, proprietary, (I know a lot of people don't care about that but also a lot feel that proprietary software is malware) and is so unbelievably slow on hard drives. I know I said slow twice but god damn on a hard drive it's rough. I know just get an SSD but I have a 2TB hard drive I keep my games on. It used to be on NTFS so I could dual-boot and not download a game twice but once I left windows I put ext4 on it and it helps a bit.

[–] [email protected] 12 points 1 year ago

I have a 2TB HDD that was ntfs and now ext4 as well. I can't say I've noticed a difference, but I didn't do any benchmarking either.

I wouldn't consider ntfs as malware like I would something like anticheat software. As far as I know ntfs doesn't intentionally or negligently harm, open a system to harm, or perform tasks that have nothing to do with the designed function.

Drefragging sucks I guess, but it had to be run so infrequently. I can certainly understand why someone would want to move onto something that removed the need for it.

[–] [email protected] 5 points 1 year ago

When I swapped from l windows to linux my at the 12+ year old pc went from needing like 15 minutes from boot to load the web browser. Linux mint cut that down to 1 minute. yes i cleaned my disk and defrag it regularly. Just less bloat and better fs

[–] [email protected] 3 points 1 year ago

I got curious so did some quick research. I know very little about file systems and Windows. Found this: https://en.m.wikipedia.org/wiki/ReFS I wonder what Microsoft wanted to improve upon or change?

load more comments (16 replies)
[–] [email protected] 35 points 1 year ago (2 children)

Ext4 came out 20 years ago.

[–] [email protected] 47 points 1 year ago (1 children)

No. No no no, I clearly remember I was sitting in my discrete math class at college reading my rss feeds when... Oh no.

[–] [email protected] 12 points 1 year ago (1 children)

Need some extra AAs for your PDA so you can finish that thought?

[–] [email protected] 6 points 1 year ago

That's cold...

[–] [email protected] 11 points 1 year ago (1 children)

Shit, that's probably older than the interns in my office...

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

It was a really hard hit for me, when the new hires were grownups, but born in a different millennium than me.

[–] [email protected] 29 points 1 year ago (2 children)

I can't believe Microsoft is still using this piece of crap filesystem. If they had a CoW filesystem they could even paper over the mess that is Windows Update without having to actually fix it, they could save petabytes of storage over the world and significantly improve reliability all in one go. Let's not even mention how NTFS is amazingly slow on hard drives, manages to fragment to hell and back without doing anything, requires offline repairs like it was FAT32 and its compression barely does anything while massively slowing down the computer.

Yet here I am envying btrfs, APFS, ZFS and even fucking XFS for their reflinks and CoW.

In fact, not even WSL uses a modern FS, I think Microsoft is allergic to modern FSs.

[–] [email protected] 21 points 1 year ago* (last edited 1 year ago)

None of these problems are really dealbreakers for a consumer-oriented file system in 2023. Not even ext4 supports CoW. Now that everyone boots off an SSD, things like file fragmentation no longer matter, and most of NTFS' continued slowness has more to do with Windows itself than the actual file system.

ReFS is Microsoft's new file system meant for more advanced use cases. It supports many but not all of these advanced features. Starting with Windows 11, you can actually boot off a ReFS drive, though I'm not sure that is a recommended configuration.

[–] [email protected] 14 points 1 year ago* (last edited 1 year ago)

[This comment has been deleted by an automated system]

[–] [email protected] 28 points 1 year ago (1 children)

I may as well make myself unpopular with some context...

Some here have compared NTFS with ZFS, which is unfair as ZFS is over 12 years younger. In 1993 machines had an average of less than 4Mb of RAM, and the average disk size was probably somewhere in the 80-100Mb range. NTFS required more RAM - if you wanted to run it I think you had to have 12Mb of RAM minimum, maybe even 16Mb. If you didn't have that you had to install your Windows NT 3.1 copy with FAT...

A better comparison filesystem would be XFS, which was developed at around the same time and saw its first release in 1994.

XFS has had a lot more development of late than NTFS has, and it could be argued that because of that it now has the edge. But both are venerable survivors of that era. Both are reliable, robust, feature-rich and widely deployed.

A lot of problems that people have with NTFS are to do with the way Windows handles disk access rather than the filesystem itself. A filesystem is more than just an on-disk layout and a bit of code to read or write from it, it also has to interact with OS disk buffering systems, security systems, caching mechanisms, and possibly even things like file locking and notification mechanisms.

Windows has a concept of the "installable file system" - these days it's primarily a way to load filter drivers that can inspect all I/O operations. It's how Windows security programs like antivirus work, but also how Windows prevents writes to its own folders by ordinary users. As you can guess, that slows things down. On the boot/OS drive of a Windows machine there are a lot of filter drivers. Android developers know this from how long some build operations take, and have often cursed at NTFS for it. Yet if you move the project onto a non-OS NTFS drive, suddenly it's much faster - because that drive lacks many of those filter drivers, as there is no OS to protect on that drive.

The point here being that NTFS often gets slammed for issues which aren't its fault, and it has no control over.

NTFS is probably in the top ten most-installed filesystems ever. And high on that top ten. (I wonder what that top ten would look like? I think that embedded use of ext2 probably places it near the top, but then you have wildcards like the Minix file system... anyway, back on track!)

Filesystems are one of those things that everyone takes for granted, yet are incredibly important. NTFS may not be native to Linux, and may come from somewhere that many see as "the enemy", but I think 30 years of tireless work deserves some recognition.

Happy birthday, NTFS. You've done well.

[–] [email protected] 8 points 1 year ago

Thank you for the explanations!

[–] [email protected] 27 points 1 year ago (3 children)

Stuff shouldn't include temporal or subjective aspects in their name like New Technology File System, Grand Unified Bootloader... that's all I got but you get the idea.

[–] [email protected] 10 points 1 year ago (1 children)

I'm jumping industries here, but Nintendo could not get that out of their system for a while. A game titled "New Super Mario Bros." came out in it's first first iteration in 2006. It did quite well, so they kept making sequels, the most recent titled "New Super Mario Bros. U Deluxe". They also put out a couple game consoles with "New" at the beginning, if memory serves.

[–] [email protected] 8 points 1 year ago

Nintendo DS => Nintendo 3DS => New Nintendo 3DS => New Nintendo 3DS XL

[–] [email protected] 4 points 1 year ago

NT stands for "no toast". The guy who named it forgot his breakfast that morning.

When asked what NT stood for he lied and came up with "new technology" on the spot.

(And if you believe that I have a bridge to sell you.)

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

[This comment has been deleted by an automated system]

[–] cmeerw 18 points 1 year ago

XFS is 29 years old and certainly still in use as well.

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (1 children)

I've heard that ReFS is supposedly replacing NTFS, on Windows.

[–] [email protected] 1 points 1 year ago

ReFS still is not supported for use as a boot (C:) drive, but it's used extensively in enterprise environments for VHD storage and as a backup target.

Snapshotting and merging is much faster because of "Fast Cloning." It also has something called "integrity streams" which can be used to tell if data has been corrupted.

I don't understand this all at a deep level, but it seems promising.

[–] [email protected] 5 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago

Was just helping my mom get some files off her old Windows Vista hard drive the other day. I was celebrating and didn't even know it, lol

[–] [email protected] 1 points 1 year ago

I bet you're one of those cool dudes that spells Microsoft with a dollar sign πŸ˜‚

load more comments
view more: next β€Ί