this post was submitted on 27 Jul 2023
219 points (92.6% liked)

Linux

48045 readers
729 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 46 comments
sorted by: hot top controversial new old
[–] Dirk@lemmy.ml 55 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.

[–] Secret300@lemmy.world 6 points 1 year ago

package manger

current technology

How do I tell microsoft this isn't new

[–] Scary_le_Poo@beehaw.org 0 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.

[–] Fleppensteijn@feddit.nl 1 points 1 year ago

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

[–] Dirk@lemmy.ml 1 points 1 year ago (1 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 ...

[–] Scary_le_Poo@beehaw.org 1 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.

[–] phoenix591@lemmy.phoenix591.com 44 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,

[–] proton_lynx@lemmy.world 25 points 1 year ago (2 children)

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

[–] Montagge@kbin.social 8 points 1 year ago (5 children)
[–] Confetti_Camouflage@pawb.social 9 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.

[–] Nobug404@geddit.social 2 points 1 year ago

Shadow copy.

[–] Secret300@lemmy.world 7 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.

[–] Montagge@kbin.social 8 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.

[–] joel_feila@lemmy.world 4 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

[–] otl@lemmy.sdf.org 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?

[–] user8e8f87c@berlin.social -2 points 1 year ago (1 children)
[–] Montagge@kbin.social -4 points 1 year ago

I don't necessarily see that as wrong

[–] proton_lynx@lemmy.world -5 points 1 year ago (1 children)

I think a better question would be: "what's not wrong with NTFS?"

[–] Dubious_Fart@lemmy.ml 24 points 1 year ago (2 children)

His list is so expansive he cant even list one item from it in response.

[–] nakal@kbin.social 5 points 1 year ago* (last edited 1 year ago)

I'll try. Short: It's not as powerful as ZFS.

Examples:

  • no low cost snapshots (don't harm performance)
  • no checksums, no self-healing
  • 256 TB limit
  • magical reserved $ and OneDrive filenames
  • magical 8.3 mapping
  • broken standard API calls (CreateFileW instead of fopen)
[–] Dax87@forum.stellarcastle.net 3 points 1 year ago (1 children)

The only reason why there's NTFS hate in the Linux community is because it's associated with windows.

This tribalism bullshit is tiring.

[–] neo@lemmy.comfysnug.space 0 points 1 year ago (2 children)

NTFS is genuinely inferior in many respects, especially on hard drives, Mister Blue Tribe.

[–] Dax87@forum.stellarcastle.net 3 points 1 year ago* (last edited 1 year ago) (1 children)

Yes, NTFS lacks features that surely one of the many Linux filesystems have. But it also has features others do not. There is no one-siize-fits-all filesystem.

  • Ext4 is generally faster than NTFS, but cannot handle as large of files
  • ZFS has a multitude of features that NTFS does not, like zraid, dedup, etc., but usually at the cost of RAM.
  • BTRFS is included in the Linux kernel and also has many features, like being able to conveniently switch hard drive raid-like configurations on the fly with rebalance, but doesn't support fs-level encryption
  • NTFS lacks in many features the others do not, and is a "non-standard" filesystem. However, it's one of the few with better cross-platform support, more advanced access control, pre-emptive journaling, reparse points, etc.

It's quite obvious that my calling out tribalism has felt to you an attack.

We get enough of this "us vs them" mentality in literally every topic and medium. I'd just like a little more nuance and genuine discourse. So I apologize if I've offended you.

[–] neo@lemmy.comfysnug.space -1 points 1 year ago (1 children)

Ext4 is generally faster than NTFS, but cannot handle as large of files

Going to be honest with you, this has not been my experience.

And you can imagine whatever you want, but that doesn't make it reality.

[–] Dax87@forum.stellarcastle.net 1 points 1 year ago (1 children)

? Imagine? 16 exabytes for NTFS according to multiple sources, like Wikipedia and Microsoft documents, and 16 terabytes for ext4.

If you want to refute that then it's most likely you have just had some unlucky experience, and at best it's anecdotal.

Considering your rather disingenuous second sentence, I can see that you are not here to engage in conversation, but to troll. You're exactly what nobody needs buddy. Cya.

[–] neo@lemmy.comfysnug.space 0 points 1 year ago

im not the one who came onto a linux community to talk about how microsoft is better

[–] falsem@kbin.social 1 points 1 year ago (1 children)

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

[–] lynny@lemmy.world 27 points 1 year ago (2 children)

Ext4 came out 20 years ago.

[–] pastermil@sh.itjust.works 4 points 1 year ago (1 children)

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

[–] agressivelyPassive@feddit.de 1 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.

[–] Kata1yst@kbin.social 1 points 1 year ago

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

[–] Espi@kbin.social 24 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.

[–] beefcat@kbin.social 16 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.

[–] skullgiver@popplesburger.hilciferous.nl 12 points 1 year ago* (last edited 11 months ago)

[This comment has been deleted by an automated system]

[–] philipstorry@lemmy.world 23 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.

[–] runblack@reddthat.com 8 points 1 year ago

Thank you for the explanations!

[–] cmeerw@programming.dev 14 points 1 year ago

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

[–] Zozano@lemmy.world 5 points 1 year ago

Mmmm... butter.... (Fs)

[–] WalrusByte@lemmy.world 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

[–] Kalcifer@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (1 children)

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

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.

[–] gaybear@lemmy.world 1 points 1 year ago

I'm giving grandpa (ntfs) a defragment as a gift πŸ’—

[–] itchy_lizard@feddit.it 1 points 1 year ago

Windows XP is great and I'll never upgrade my blood pressure machine from it.

load more comments
view more: next β€Ί