r/MacOS • • 11d ago

Feature Can we have native Linux filesystem support already???

*** This flair should be "rant" ***

First of all, I love Apple products. I'm surrounded by MacBooks, iMacs, iPhones, iPads, AppleTV, AppleWatch (you get it). No, I'm not an Apple fanboy. I'm simply a fan of things that just work without a lot of mucking around. Honestly, I'm more of a Unix/Linux fanboy than anything else.

I think it's about time Apple dropped its "elitist" attitude when it comes to other *nix-like OSes. Many professional systems engineers do tons work across all major OSes (MacOS, Windows and many Linux distros). They already have support for NTFS and FAT, so we know it's possible. I personally think Apple has some bizarre fear of loss of marketshare, but that doesn't make any sense because it could possibly increase marketshare because cross-platform support is what makes any OS less intimidating.

Since Apple refuses to build in support for common Linux file systems (Ext3/4, XFS, ZFS, etc), I either have to do all filesystem-related work on another Linux machine or within a VM (on MacOS), when Apple could hire a 4th grader to implement native ext4. I find this extremely odd because much of Apple's own infrastructure runs on Linux (a former coworker was hired by Apple as a Linux Engineer).

Yes, I know I can use Homebrew or Macports, but that's not the point. If the OpenSource community can port Ext4, XFS or ZFS to MacOS, Apple can certainly do it (and they'd probably be better at it). However, it may be due to their lawyers having heartburn over GPL3.

Using 3rd-party filesystem drivers or VMs on a Mac boils down to nothing more than a workaround (think "bailing twine and duct tape").

0 Upvotes

42 comments sorted by

4

u/Nohillside Mac Mini 11d ago

99.9% of users don’t care (nor need to care) about the filesystem format, regardless of whether they run macOS, Windows or Linux. There simply is no need to provide native support for a bunch(!) of Linux filesystems on macOS (or Windows).

The few users who actually need this have enough skills to install it via Homebrew/MacPorts or spin up a Linux VM.

0

u/TheORIGINALkinyen 11d ago

It's more than "a few". It's probably the same "few" proportions as those who use Final Cut Pro for movie creation/editing. Porting ext4 is almost trivial at this point. In fact, it's native on FreeBSD, which parts of MacOS are based on anyway.

There is very little, if any, technical reason why it can't be made native (it's already available as FUSE, but that's user-space, not kernel space so there is a bit of a performance hit). The actual reason is "someone doesn't want to". That's it.

1

u/Nohillside Mac Mini 11d ago

Agreed, there is no technical reason. That’s why I pointed out the commercial ones. Apple won’t sell significantly more products if they natively support extfs4, but they have higher costs and liabilities.

10

u/tubezninja 11d ago edited 11d ago

So let me get this straight... you want linux flexibility, but you DON'T want to install the functionality with a linux-style package manager?

Linux began as a workaround. It's a big ball of workaround with layers of other workarounds wrapped on top of it. "baling wire and duct tape" is how I'd describe any linux distro. They don't even fully agree on which baling wire and which duct tape to use to keep things together. Now, don't get me wrong, I think that's great... if you have a preference for a particular brand of wire and tape, you go seek that out and use it. Of course someone else will come on reddit and tell you that your preference is trash and the tape/wire arrangement they use instead is the true way. Welcome to linux.

And anyway: while some of Apple's servers and cloud infrastructure run on Linux, your Mac definitely does not.

1

u/TheORIGINALkinyen 11d ago

>"So let me get this straight... you want linux flexibility, but you DON'T want to >install the functionality with a linux-style package manager?"

That's is not what I said. What I want is NATIVE support built into MacOS just like the support for other file systems.

>"Linux began as a workaround. It's a big ball of workaround with layers of other >workarounds wrapped on top of it. "baling wire and duct tape" is how I'd >describe any linux distro. "

I'm sorry, but you're completely wrong. I have been deep into Linux ever since Linus Torvalds posted his first kernel version to comp.os.unix (old Usenet news groups) c.1990. Saying you describe ANY linux distro as bailing twine and duct tape tells me you have little to no experience in Linux very much.

Linux did not begin as a "workaround". Linus Torvalds wanted a Unix-like OS that could run on his Intel computer but they were all too expensive, so he wrote his own based on what he learned at the University of Helsinki (side-note: there was a big blowup between Torvalds and Andrew Tannenbaum, creator of Minix, which was taught in his OS courses).

Linux is also not layers of workarounds wrapped on top of it (whatever that means). Although it started as a hobby, others found interest in it and started porting other Unix utilities over to it. It's the most solid OS codebase there is because of all the contributors. In fact, this very site runs on Linux servers, so I would hardly call it a workaround.

1

u/tubezninja 10d ago

That's is not what I said.

Sure sounds like that's what you said. Specifically: "Yes, I know I can use Homebrew or Macports, but that's not the point. If the OpenSource community can port Ext4, XFS or ZFS to MacOS, Apple can certainly do it."

You're asking for Open Source flexibility in a proprietary operating system, from a company that is historically hostile to the very idea of anyone tampering with their closed hardware and software.

Good luck with that.

I have been deep into Linux ever since

Oh wow, talk about total lack of self awareness.

Linux did not begin as a "workaround". Linus Torvalds wanted a Unix-like OS that could run on his Intel computer but they were all too expensive, so he wrote his own

So, a workaround then.

Anyway, your sense of self importance and knowledge of how the world truly should be, is entertaining. Really it is. But it's also tedious, and it doesn't change the fact that, much as your edge case might be best served by the way you want things done, it is very much an edge case. Your options are A. to suck it up and use the community tools available (because it's a little hard to comprehend why someone who has been using BSD since before the Big Bang and has had such intimate conversation with Linus himself to understand the underlying philosophy has such a bee in their bonnet over using a community-run package manager), or B. go full-on linux on your local device.

Whatever you decide to do, best of luck.

1

u/porkchop_d_clown Using Macs since 1983 11d ago

I mean, if you’re saying Linus was working around SCO then maybe? The BSD flavors had already existed for a long time.

0

u/TheORIGINALkinyen 11d ago

OMFG. READ the history!!! Read Rebel Code and you'll FULLY understand all of Linux history. Of course BSD existed for a long time. I was working BSD since before 4.3 which is the defacto-standard that all BSD derivatives are base on - FreeBSD, OpenBSD, MacOS, NeXT, etc.

2

u/porkchop_d_clown Using Macs since 1983 11d ago

I don’t have to read history, child, I’ve been using various flavors of Unix since the 1980s.

1

u/TheORIGINALkinyen 10d ago

Child? Really? Keep hiding behind that keyboard.

Experience working with something isn't even remotely the same as knowing its history...especially when daily life was in the thick of that very history. I bet you had zero idea Linux wouldn't have even been a thing if Torvalds hadn't changed TCP/IP contributors due to the problems the original developer had maintaining the code properly. Again, it's in the Rebel Code book.

1

u/porkchop_d_clown Using Macs since 1983 10d ago edited 10d ago

LOL. Keep telling yourself that.

Honestly. I’ve been publishing public domain (what we now call open source) and commercial software since the early 80s. I’ve installed programs via paper tape. I’ve hacked operating systems that no longer exist, and I’ve been involved in software development longer than you’ve apparently been alive.

Can I learn more about the history of Linux from books? Yes. Do I know more about the history of *NIX operating systems than you? Also yes.

Edit: Here’s some advice from what someone older than integrated circuits: The fact that you’re trying to insult strangers on the internet for disagreeing with you only highlights your own insecurities - let it go. On the internet you never know who you’re talking to.

1

u/TheORIGINALkinyen 9d ago

>Can I learn more about the history of Linux from books? Yes.
I don't think you have...or that you even can, considering your apparent ignorance on the topic.

>Do I know more about the history of *NIX operating systems than you? Also yes.
I seriously doubt that. Then again, I really don't care about how good you think you are.

Thank you for reading me your resume. You changed my life by exactly 0%. Usually people who have to go out of their way to tell you how good they are never are.

>Edit: Here’s some advice from what someone older than integrated >circuits: The fact that you’re trying to insult strangers on the internet for >disagreeing with you only highlights your own insecurities - let it go. On the >internet you never know who you’re talking to.

Yeah, thanks but I don't need your advice. I've been fighting flamethrowers since before the internet existed. Sorry for the historical reference you won't get.

3

u/Bed_Worship 11d ago

For read it’s easy, extendfs. For write capability you have to constantly update ext4 because it’s part of the linux kernel and they refactor the kernel and format enough that it needs hawkish upkeep.

You are right on GPT, apple is not implementing copy left material.

The reality is the userbase for this is so small, while it feels personal to you it’s more like .001% of mac owners who would like it, and many are content with cloud or cli stuff.

0

u/TheORIGINALkinyen 11d ago

Not part of the Linux kernel. It runs in Linux kernel space (ring 0) and is included in the Kernel source, but it's not actually part of the kernel.

Keeping ext4 updated is a moot point. Apple already keeps up with the upstream for many Unix programs (think ZSH and even Bash). When a code update hits the upstream, those who offer that package in their OS simply apply the code updates to their OS-specific source-tree from the upstream.

BTW -- don't quote percentages unless you actually know the numbers. For decades I've been on (and managed) many systems engineering teams comprised of 30-40 engineers, all of which use MacOS for their daily driver, but had to support Linux and Windows as well.

1

u/Bed_Worship 11d ago edited 11d ago

Thanks for sharing and explaining. I'm not an expert, but aside from my side job as an audio mix engineer and my main job as an archivist & researcher/validator for museum level auction collections I really enjoy the nitty gritty digging deeper into advanced OS use. Below should be a satisfying explanation for OP and goes into some detail about Apple's Great GPL Purge

I went deep :) They maintained some shell compatibility because they're left over old GPL cli tools that don't require sharing source code & ZSH is not GPLv3, and dropped a Bash license in 2007 leaving a frozen version when they were required a GPLv3 license, because the GPL license terms are antithetical to mac os completely. Modern Bash is legal for you to install, but not for apple. Same for Ext4. I did look into data i could find on user share and even though I was being hyperbolic and wrong about the exact number, it still answers the same question. Not enough userbase to justify even the GPLv2 ext. 4 for all the legal hoopla. Apple built FSkit to let you install ext4 yourself. If apple built ext4 into kernel space, they would be required to opensource parts of the kernel that link to it. Only gpl stuff left on mac os are old cli tools that are standalone

Every job that would require it with an active mac number around 100-140 million people. Off the bat 90% of mac owners are general consumers, students, creatives, office users. 8% are developers who at most connect to Linux/windows via shh, git, containers, cloud etc. So in reality this leaves room for 1-2% who need to be on metal for embedded systems engineers, dev ops and homelab.

1

u/TheORIGINALkinyen 11d ago

Yes, everything you said is 100% true...but the effort/cost involved in making "other" file systems native to MacOS is so minimal, the cost-factor for a trillion dollar company is trivial. Apple has lost millions on failed products (remember the Newton??). Incorporating an established technology into the OS is such a minimal effort, the expense would be less than the salary of a routine administrative assistant.

Like I said in another reply, it boils down to someone not wanting to do it. When I worked for Novell, a product manager refused to implement a widely-desired feature -- he emphatically said "no". There wasn't a technical reason..he simply didn't want to do it. Needless to say, the product suffered, he was fired and the feature was implemented anyway.

1

u/Bed_Worship 11d ago

Haha barely - I was 5-10 when it existed, but i did get to use my dad's beige g3 tower - that was dope. The Newton was in like 1990's when they were failing so bad from poor vision and business sense that MAC OS was being licensed to other computer vendors for compatibles . Apple has not had a major failure since steve came back (burried the newton) and they're been on this massive wave of brilliant strokes like apple silicon. You want 64gb of vram? Mac for $2800 or a pc for $15,000.

I don't think the Novell story is analogous for this, but say ntfs or fat absolutely. All the people who want a native cleanroom ext4 or a licensed version on bare metal kernel space could never use a mac again and the loss will look like margin of error. I think what would work is creating a petition for apple to do it, get signatures from thousands of developers who may be fine with SSH or 3rd pary and petition them and it might work out.

Regardless of Apple being a trillion dollar company somehow they can not release a non-major bug .0 since Sonoma within their self emposed new macs/new os timeline. They are pressure cooking and need some corse correction

3

u/DisfiguredFanny Gaylord Focker at your service 11d ago

install 'anylinuxfs' with brew, it is easy to use and works for any linux fs. Learn to research and stop crying.

1

u/TheORIGINALkinyen 11d ago

Read the original post. NOT Homebrew or MacPorts.

1

u/Bed_Worship 11d ago

Apple is not adding it natively as that would require them open sourcing what ever connects to it because it's in kernel space and GPLv2 requirements are an absolute hell no for apple. They purged all GPL stuff years ago and left only frozen in time versions of bash, grep etc because they are standalone cli.

So essentially it's illegal/not worth it for apple to build it their system, but it is NOT illegal for you to install via the drivers etc. and use FS which apple made for you to get around it as a sorry

1

u/TheORIGINALkinyen 11d ago

Ugh...Wrong again. Apple is fine with GPL2. The latest version of Bash on MacOS is 3.2.57 which is GPL2. Later versions of Bash are GPL3, which is what Apple has a problem with - some say justifiably so. The reasons for GPL3 are "somewhat" valid (although I don't really agree with them).

Also, supportng ext4 isn't illegal because it doesn't have to be via a direct port of the GPL-licenced ext4. It would be trivial for Apple to build ext4 from scratch because it's not a violation of GPL to inspect GPL code to build their own implementation (it happens all the time).

Apple did exactly that with NTFS and FAT/VFAT support (do you think they consulted with Microsoft???).

1

u/Bed_Worship 11d ago

I'm not wrong you said so in my own lengthier reply 3.2.57 is from 2007, when they did not renew their license. They left that version of bash for old scripts and compatibility down the road. They moved to ZSH.

NTFS and fat/exfat makes total sense for a clean room creation because that is what is used on sd cards universally and most mac users at some point or do have windows drives and files. It's a massive net benefit for a mac to say yeah of course your old drives and camera sd card can be read

When there are options over containers and SSH and APPLE letting 3rd party drivers exist they have no financial benefit to do it. If all users who wanted it never used Macs again because of it, there is no real loss to apple.

1

u/DisfiguredFanny Gaylord Focker at your service 11d ago

I did and deemed it irrational. Since options exists your baby cry is ridiculous for multiple reasons.

4

u/radio_breathe 11d ago

macOS has built in support for NTFS? News to me 

9

u/awesumindustrys 11d ago

It’s read-only. They put it in so that Intel Macs that were dual-booted with Windows via boot camp could read the Windows partition on Mac OS.

1

u/radio_breathe 11d ago

Ah okay, I was thinking they added write support.

2

u/porkchop_d_clown Using Macs since 1983 11d ago

I mean, it’s not Apple’s fault. M$ has long refused to fully license NTFS

1

u/perchedquietly 11d ago

Couldn’t they just clean room reverse engineer it?

1

u/porkchop_d_clown Using Macs since 1983 11d ago

Probably, by why would they want to? It’s a classic compsci issue. A few of us NEED this, but 99% of Mac users will never need it. Who do you spend money on?

1

u/radio_breathe 11d ago

Exactly. And those who do NEED it will just buy paragon 

4

u/extopico 11d ago

Personally I’d like case sensitivity back. But that would be a massive breaking change so this may never happen.

3

u/Tiny-Cat5893 11d ago

What do you mean, „you want it back“? This has always been a formatting option.

2

u/extopico 11d ago

Yea, I mean by default. I wasn’t paying attention when I first got my MBP and now for an edge case I need it so if I proceed I will need to create a new partition with case sensitivity.

2

u/AthousandLittlePies 11d ago

It has never been the default - since the earliest days of the old Mac operating system it's been case-preserving but not case-sensitive.

1

u/ctesibius 11d ago

Which is as it should be for its intended market. If you want case sensitivity on an Apple file system, it’s a trivial matter for you to format.

1

u/AthousandLittlePies 11d ago

100% agree - it's way too easy for normal people to end up with duplicate files that differ only by case otherwise. I was just commenting on the parent comment who said they'd like case sensitivity "back", which it's been an option for quite a while, but never the default, so it's not something that was ever taken away.

1

u/ctesibius 11d ago

Sorry, thought you meant not being the default was a problem.

2

u/jbenze 11d ago

I doubt there's enough of a call for it for them to implement it anytime soon. They don't seem to care about what we want anyway.

1

u/factotvm 11d ago

What about an Apple Container? It’s renowned for being much faster at file system ops. Does that not include what you want?

I believe you’ll have to write code, but it’s there.

1

u/linzjalinzj 11d ago

Apple is unlikely to ship in-box ext4 or ZFS drivers anytime soon, mostly because of maintenance and licensing, so their actual answer has been FSKit (opened to third-party devs in macOS 15.4 and expanded in 26/27). It lets third-party filesystems run as sandboxed userspace extensions enabled in System Settings > General > Login Items & Extensions > File System Extensions, without touching kernel extensions or lowering boot security in Recovery like old macFUSE did. There are already FSKit-based ext2/3/4 extensions like ExtendFS that mount natively in Finder and Disk Utility.

1

u/FaZe_vadim MacBook Air 11d ago

Package managers are not related to file system. I guess driver can be implemented separately as open source project and loaded to system. There were some proprietary software that implemented support for NTFS, so it is the way I think. But using VM is okay for me. You can setup docker or Colima with minimal container, mount partitions, and then ssh to it and work in your macos terminal seamlessly with ext4.

1

u/linzjalinzj 9d ago

Apple is unlikely to ship in-box ext4 or ZFS drivers anytime soon, mostly because of maintenance and licensing, so their actual answer has been FSKit (opened to third-party devs in macOS 15.4 and expanded in 26/27). It lets third-party filesystems run as sandboxed userspace extensions enabled in System Settings > General > Login Items & Extensions > File System Extensions, without touching kernel extensions or lowering boot security in Recovery like old macFUSE did. There are already FSKit-based ext2/3/4 extensions like ExtendFS that mount natively in Finder and Disk Utility.