The Register Home Page

back to article Big moves in Linux filesystems as new bcachefs lands and KDE adds support for Apple's APFS

Linux 7.0 is approaching and there's a new version of bcachefs to go with it… as well as green shoots of support for Apple's new disk format. Interesting developments are happening in Linux filesystem land, with a new version of the bcachefs filesystem – and a Linux distro offering support for Apple's APFS disk format. A new …

  1. _wojtek

    btrfs vs bcachefs

    I'm slightly confused (or better yet -uninformed) - what are the biggest benefits oh using bcachefs over btrfs?

    wasn't there certain drama around bcachefs inclusion?

    1. Liam Proven (Written by Reg staff) Silver badge

      Re: btrfs vs bcachefs

      > I'm slightly confused (or better yet -uninformed) - what are the biggest benefits oh using bcachefs over btrfs?

      The summary is right there on the title of the bcachefs project website:

      "The COW filesystem for Linux that won't eat your data".

      When it gets into distress, Btrfs _will_ eat your data. It has 3 critical problems, and its user community is in deep denial about them. I have written about this at length, but in summary:

      1. It cannot reliably report free space. In other words, the `df -h` command lies to you. This means software can't check if it can safely do something without risking filling the volume.

      This is an extremely serious problem, because:

      2. Any attempt to write to a full Btrfs volume _will_ corrupt the volume.

      This is an extremely serious problem, because:

      3. There is no working `fsck`. The repair tools do not work. SUSE relies on Btrfs and SUSE's docs say, with a bright red WARNING heading, "do not attempt to use `btrfs-repair`."

      > wasn't there certain drama around bcachefs inclusion?

      Lots.

      https://www.theregister.com/2024/11/22/bcachefs_linux/

      https://www.theregister.com/2025/07/01/bcachefs_may_get_dropped/

      https://www.theregister.com/2025/09/12/opensuse_to_drop_bcachefs_support/

      https://www.theregister.com/2025/09/25/bcachefs_dkms_modules/

      Note, the URLs contain embedded dates.

      1. _wojtek

        Re: btrfs vs bcachefs

        thank you for detailed answer.

        I saw the title but didn't take it as a jab at btrfs (due go not knowing the issues).

        what's note scary is that some distros default go btrfs... (including Fedora , openSUSE and... SteamOS it seems)... mind-boggling!

        1. Liam Proven (Written by Reg staff) Silver badge

          Re: btrfs vs bcachefs

          > mind-boggling!

          The key thing to know about the UNIX world for 50 years now is that it's largely driven by factionalism.

          People and volunteer organisations and companies large and small to things certain ways for no better reason than because it's _different_ from how _those sods over there_ do it.

          They build huge complicated systems on top of something that was designed and built to be small and simple, because that's how we always did it so the right thing to do is to _do more of it._

      2. Mockup1974

        Re: btrfs vs bcachefs

        >1. It cannot reliably report free space

        What about `btrfs filesystem usage` or `btrfs fi df`

        >2. Any attempt to write to a full Btrfs volume _will_ corrupt the volume.

        Grok told me that "Modern Btrfs is designed to fail safely, not silently corrupt data. You may get write failures or read-only remounts, but not guaranteed corruption." Not sure if that's true.

        >3. There is no working `fsck`. The repair tools do not work.

        That seems to be true

        On the other hand, you get snapshots, checksums for data integrity, compression, subvolumes and so on. So there's good reasons to want to use it instead of ext4.

        1. Liam Proven (Written by Reg staff) Silver badge

          Re: btrfs vs bcachefs

          > What about `btrfs filesystem usage` or `btrfs fi df`

          You seem to misunderstand me.

          I am not saying "it will not tell you." That would be bad, but at least you'd know where you were.

          I am saying "it will readily tell you a number but that number might be wrong."

          It happily _responds_ to `df -h` or whatever, or the underlying API call, and to its own special syntax as well, but _the values given are not reliable_.

          It lies.

          > Grok told me

          It lies too. Even more. No, it is not true.

          Of course it's bally well _designed_ to be safe. I am sure they did the best they could. But that is not very good and it does not do things that almost every other Linux and Unix filesystem does just fine.

          You get all manner of advanced features but simple core features _do not work_ or _work wrongly_.

          That for me is unacceptable.

          But we work in an entire industry based around C and things built in C, possibly the most unsafe computer language ever designed.

          This industry happily accepts "well it mostly works most of the time for most people and you signed a bit of paper that says it's not our fault if it doesn't."

          I am not kidding. It is called the New Jersety style of design, and it is known as the "worse is better" style.

          https://www.dreamsongs.com/RiseOfWorseIsBetter.html

          Tony Hoare fought most of his career against it:

          https://www.theregister.com/2026/03/12/in_memoriam_sir_tony_hoare/

          «

          I conclude that there are two ways of constructing a software design: One way is to make it so simple that there are *obviously* no deficiencies, and the other way is to make it so complicated that there are no *obvious* deficiencies.

          »

          He worked closely with Niklaus Wirth.

          https://www.theregister.com/2024/01/04/niklaus_wirth_obituary/

          «

          "In spite of great leaps forward, hardware is becoming faster more slowly than software is becoming slower."

          »

          They tried to teach the industry. The industry ignored them.

          See how many people praise the late Dennis Ritchie, compared to Hoare or Wirth.

          Ritchie inflicted C upon the world: a language famed for being so unreadable you couldn't tell what your _own_ code did a few weeks later, let alone anyone else's.

          Now, he's regarded as the saviour.

          Ken Thompson, still alive and well, who built the OS they rewrote in Ritchie's language, is almost forgotten. A lifetime in someone else's legend.

          1. David Newall

            Re: btrfs vs bcachefs

            Ritchie inflicted C upon the world: a language famed for being so unreadable you couldn't tell what your _own_ code did a few weeks later, let alone anyone else's

            I've never heard that said. In almost 40 years working in the language, I've never found it so.

            I think you're thinking of APL.

            (1=+⌿0=N∘.|N)⌿N←1+⍳50

            1. DS999 Silver badge

              Re: btrfs vs bcachefs

              C syntax is perfectly readable. If people do too many fancy things like "x = *++a[b++ = --c]" it gets icky but there's no reason to do that anymore since the compiler will optimize explicit "a = a + 1" just as well as a++ or ++a (and allowing 50+ year old compilers running on systems with only 32K available to create better code was the whole reason behind that ++ -- type syntax)

              The biggest problem with understanding C code is tracking variables, and that's true no matter how good you make the names. Of course that's a problem with most languages, as your scope gets larger in terms of number of lines, number of functions, and number of files it exceeds the working capacity of your brain. IDEs can help somewhat but they just move the needle further to the right rather than eliminate it entirely.

              That's probably one of the strengths of AI as far as coding - it doesn't suffer from our human limitations of confusion over too many preincrements or postdecrements and so forth or working set size so it can track all that without misremembering, or constantly having to refer back and forth to different areas of the code to double check. Of course it has its own set of issues we meatbags don't suffer from but everything's a tradeoff I suppose.

            2. LybsterRoy Silver badge

              Re: btrfs vs bcachefs

              I last used APL in 1986 so I've forgotten lots of it but it also looks like they've added new bits. I have no idea what that code does - please explain.

              1. mjflory

                Re: btrfs vs bcachefs

                Feed it in here and you'll see. Fun! https://tryapl.org/

                1. LybsterRoy Silver badge

                  Re: btrfs vs bcachefs

                  Thank you - I tried it. Looking at the title bar there are far more primatives that I was used to - scarey!

            3. mjflory

              Re: btrfs vs bcachefs

              A prime example of hard-to-read code!

          2. David 132 Silver badge

            Re: btrfs vs bcachefs

            > Ritchie inflicted C upon the world: a language famed for being so unreadable you couldn't tell what your _own_ code did a few weeks later

            I'm not entirely sure that's reasonable, even within the bounds of journalistic hyperbole; I recently had cause to revisit C code I wrote in 1994 for an Amiga Workbench utility, and found it perfectly easy to parse and understand. Not to mention, realising that I'd evidently been writing conditional statements in the form x==y?dothis:dothat 30+ years ago, a construction that I clearly remember being the neatest thing since digital watches when I "first discovered it" 15 years ago when doing C# development... apparently I have huge gaps in my memory!

          3. LionelB Silver badge

            Re: btrfs vs bcachefs

            > … a language famed for being so unreadable you couldn't tell what your _own_ code did a few weeks later, let alone anyone else's.

            That would be bad C. Of course you can write unintelligible code in any language, and perfectly intelligible code in C. Little things like naming your variables sensibly, and documentation. Of course you also need to understand and be comfortable with the semantics of the language – and C is semantically rather simple.

            If there's a problem with C, it's not intelligibility – rather that it is unforgiving; it has few guards against screwing up, which places a burden on the programmer, and effectively limits its application scope1. The up-side of that is that it obliges you to understand exactly what your code is doing (but doesn't enforce that).

            1I don't think anyone in their right mind would want to write an operating system in C these days, as there are more suitable languages now, and the low-level hardware technologies are so much faster than they were back in the day of Richie and Thompson. On the other hand, there are plenty of scenarios where it is still useful and appropriate. I use it myself in scientific programming, usually in the form of highly modular plug-ins with well-defined APIs for higher-level scripting languages, where efficiency is a must, or complex data structures are involved.

      3. brainwrong

        Re: btrfs vs bcachefs

        "> I'm slightly confused (or better yet -uninformed) - what are the biggest benefits oh using bcachefs over btrfs?"

        This is complex and depends on what features you want to use. The only real answer to this is to spend time reading up on them, but much of the info found by search engines is out of date. Bcachefs promises to do everything btrfs was supposed to do, and more, but I think it's still early days.

        "1. It cannot reliably report free space. In other words, the `df -h` command lies to you. This means software can't check if it can safely do something without risking filling the volume."

        This is annoying. btrfs own tools can tell you the answer, but may require knowledge of the filesystem architecture to interperet the results.

        "2. Any attempt to write to a full Btrfs volume _will_ corrupt the volume."

        I'm sure I read somewhere that's no longer the case, that it will reserve some space for key filesystem operations. Copy-on-write means that any operation (even file delete) needs free space for the writes. It is worth noting that btrfs allows you to use a greater percentage of the available space than ext4, because inodes are not allocated in advance. I have a btrfs filesystem that's currently 99.9% full, it's got a bit slow. Any filesystem will be troublesome when near full.

        "3. There is no working `fsck`. The repair tools do not work. SUSE relies on Btrfs and SUSE's docs say, with a bright red WARNING heading, "do not attempt to use `btrfs-repair`.""

        I think the claim is that the nature of the fs is such that it cannot become inconsistent, and therefore fsck is not needed. This does depends on writes being made in the correct order, so beware of writeback caching. I have never had a problem.

        There is another nasty gotcha I've read about. If you have a 2 disk raid1, and one disk fails, you only get one opportunity to mount the degraded filesystem as read/write, so you must replace the failed device during this time because that requires writes. Future mounts of the degraded filesystem will be read only, because it is unable to satisfy the raid1 write profile with a single disk. So no using of degraded fs whilst you await delivery of a replacement disk, unlike mdadm raid.

        1. Liam Proven (Written by Reg staff) Silver badge

          Re: btrfs vs bcachefs

          > btrfs own tools can tell you the answer,

          *An* answer. The point being it may not be true.

          > knowledge of the filesystem architecture to interperet the results

          It is, or ought to be, a number. One single value, expressible in binary as an integer. *This should not require interpretation.*

          It's not reading tea-leaves to predict the future!

          > I think the claim is that the nature of the fs is such that it cannot become inconsistent, and therefore fsck is not needed.

          No, that is ZFS.

          Btrfs _has_ repair tools. I've tried them. Not only do they fail to meet the basic criteria of MS-DOS CHKDSK -- "I will make your filesystem consistent but I may lose data to do so" -- they fail even that. In most cases I have tried, `btrfs-check --repair` not only does not render the volume clean, it destroys it to the extent that it can no longer be mounted at all.

          The project's *own documentation* says don't use it:

          https://btrfs.readthedocs.io/en/latest/btrfs-check.html

          «

          *Warning*

          Do not use --repair unless you are advised to do so by a developer or an experienced user, and then only after having accepted that no fsck successfully repair all types of filesystem corruption. E.g. some other software or hardware bugs can fatally damage a volume.

          »

          1. brainwrong

            Re: btrfs vs bcachefs

            "*An* answer. The point being it may not be true."

            It appears that there isn't a single answer, because of how it works. Data and metadata typically have different write profiles (default is 1 copy of data, 2 of metadata). It'd need to know the future mix of those 2 to give a single accurate answer. It could probably do better though.

            "No, that is ZFS."

            I said they claim that for btrfs, I don't know that it's actually true, but I've not seen any reason to doubt it. But if writes don't happen in the correct order and are interrupted midway then there may be a problem. I've never had a problem here, but I am quite selective in which features I use. Some parts of it appear robust, other parts are by their own admission not production ready. FaceFuck apparently use btrfs extensively, and contribute code to the project, but are themselves selective in which features they use.

        2. David Newall

          Re: btrfs vs bcachefs

          I have a btrfs filesystem that's currently 99.9% full, it's got a bit slow.

          I look forward to reading about it, regomized as Bill in Who Me

      4. Lee D Silver badge

        Re: btrfs vs bcachefs

        Yep.

        I find it quite disconcerting how many NAS manufacturers want to default to btrfs volumes because I've had NOTHING but problems with them, going back many years.

        Same hardware, same drives, same kernel, same software, then make the drive/RAID volume ext4, never any problems, everything just works.

        Between that and snap packages (which just DON'T WORK because they're never even vaguely up to date or maintained properly, and want to save settings and user data into all kinds of dumb container areas), I'm really disappointed in how junk like that has been allowed to linger in Linux like it has been for that many years.

        1. Liam Proven (Written by Reg staff) Silver badge

          Re: btrfs vs bcachefs

          > I find it quite disconcerting how many NAS manufacturers want to default to btrfs volumes

          Yeah, me too.

          The reasoning is quite simple:

          1. Few people in the industry actually do the legwork to verify vendors' claims. They trust what they are told. Btrfs vendors say it is fine, enterprise-strength, etc.

          2. Btrfs can do things like merge differently-sized disks into an array. It won't be safe, there can only be at best partial redundancy in such a configuration and often not even that, but the tool favours the attitude of "do as much as we can" instead of "do only what we know we can do safely". Failures are the users' problem.

          > which just DON'T WORK

          Yeah they do. I use them heavily.

          > because they're never even vaguely up to date

          Some aren't. Not a unique problem.

          > or maintained properly

          Some aren't. Some are. Same as all software.

          > want to save settings and user data into all kinds of dumb container areas

          Actually, yes, that is a PITA.

          > I'm really disappointed in how junk like that has been allowed to linger in Linux like it has been for that many years.

          Everyone is pulling in their own directions and has their own goals. That is how FOSS works and it is how real life works.

          But people used to buying commercial software are not used to it.

          Here's the deal:

          If you need to distribute software that will run on almost any arbitrary OS, then you have to bundle it up with most of its dependencies. This makes it big and complicated.

          There are several different ways to do this:

          * ship a compressed archive with a big directory tree in it. Uncompress it somewhere. Closely control the structure and make the OS know about it, so they all look and work the same: have icons, can tell the OS what file types it can handle etc.

          There are several versions of this: the closest to a standard is macOS `.app` bundles. They work fine on Linux if you use GNUstep. No other desktop supports them and the GNUstep team deny they even built a desktop, so no distros include it, so it never caught on.

          So... FAIL

          * Distribute the whole directory tree. That needs complex infrastructure on both server and client end. It does work but you can't just copy and move stuff. It has to be hidden away and managed by complex software which must be installed in the OS.

          This is what Flatpak does. It only works right for GUI apps, and it only looks easy because the fiendish complexity is all hidden from the user. You can't build an OS from it. It's extremely clunky for terminal apps.

          Works, widely supported, but has major drawbacks. PARTIAL FAIL

          * Distribute a file archive; users can just run the archive.

          This is AppImage. It works, on almost everything. You need no support tooling or libraries or infrastructure.

          I like it.

          But, you don't get icons, you don't get associations, apps don't appear in menus and launchers, you need to go get your own updates in most apps. It's basic but it's clean, simple, and works.

          SUCCESS -- but by lowering the goalposts

          * Distrubute a file archive; mount it as a filesystem, symlink the contents into place.

          This is Snap. It works. It is clean and easy to understand. You can even uninstall the infrastructure and tools and _still run the app_.

          You need the tooling installed for it to work, there are new commands, etc. but it works, it integrates perfectly with any and all desktops, and you get icons, launchers, associations and all that. The tooling provides commands to update and so on. You can roll back to old versions. You can uninstall leaving no trace behind.

          It is simple. I can understand how it works. No special protocols or anything needed. You can run your own repos, distribute your own packages.

          _But_ there's only one official store and that is closed source.

          And only 1 distro family natively supports it as standard.

          SUCCESS... but a heavily qualified one.

          Give me a choice of complicated and hard to understand or simple and easy to understand, I will almost always go for the understandable.

          But the kind of people arguing for Flatpak online don't even try to understand and don't care. That's techie stuff. All they care about is open app stores anyone can run. FREEDOM! OPEN! FREE! FREEDOM! SCOTLAND!

          https://www.youtube.com/watch?v=HbDnxzrbxn4

          Me, I want something between Appimage and Snap.

          Make it dead easy and usable without plumbing, at a price (no updates, no automation etc.) but make it nicer if you install the tooling.

          But keep the implementation so easy that the user can fix it if it breaks. No fancy protocols, no fancy sync, none of that.

          1. Lee D Silver badge

            Re: btrfs vs bcachefs

            "If you need to distribute software that will run on almost any arbitrary OS, then you have to bundle it up with most of its dependencies. This makes it big and complicated."

            You then pressent all the solutions except the traditional one:

            DO NOT BUNDLE DEPENDENCIES.

            Just instruct the user / package maintainers that they are dependencies. It's then on the package management software to install them first, which users can do with one simple command to install that software without even realising.

            i.e. how it's worked for the last 30 years, and still works in modern Linux OS, once you tell the snap etc. junk to get lost.

            Bundling static-binaries, or containers containing (in effect) static binaries, is just a security nightmare and maintenance headache for all involved. Especially when... the package isn't maintained so it's still bundling old out of date insecure libraries, the software is 10 versions down, and it just doesn't work.

            If you'd like a really simple example... install the Steam snap package from the Ubuntu Store, which is the default if you try to install Steam on Ubuntu. Simply put... it installs. It runs. But nothing works. Games literally don't work. With absolutely zero messaging as to why that might be.

            Is that really making anything easier for either a fresh-to-Linux gamer? Or someone like me who was running hand-built, manually-compiled-kernel Slackware builds 30 years ago squeezing complete distros onto a floppy? No. No, it's not. And it's not to do with closed-source.

            I moved back to Linux desktop recently and went to install all my "favourite" OS software of recent years too. And being an old fuddy-duddy, I knew that I should really get with the times because it was likely things had moved on since the days of Slackware .tgz packages. So Ubuntu naturally suggested and defaults to snap. And the snaps for pretty much every piece of software I use... didn't work, in some fashion. Either years out of date (certain downloaders) and missing tons of features and no way to upgrade them by any other method, simply didn't work at all, or worked and couldn't see any of my files and couldn't save anywhere that it could tell you so you had to go hunting down some temporal snap subdirectory somewhere to get the file you'd saved from them (and, for example, that lobbed ABSOLUTELY everything on the root fs by default which is just a dumb idea for, say, video editing!). Oh, and basic things like access to Samba shares to load files into those programmes... nightmare. Everything from Vivaldi browser to VLC to Shotcut to... you name it.

            In the end, I literally got so annoyed with such a terrible working pattern than I uninstalled them all, and installed the dumb, basic, apt packages for the exact same software. Full versions, up-to-date, worked correctly, were instantly updateable when new versions came out, proper filesystem access so you could actually do things properly and choose where things were saved. And it installed and updated all dependencies for me automatically. I didn't have to do a damn thing.

            I tried snaps, I had some software in AppImage's (god, that's horrible too!), I had things that wanted me to jump through all kinds of hoops. And yet "apt install" just solved all my problems instantly.

            I want NONE OF THAT KIND OF JUNK because things literally work without it, far better and with ways that worked for decades. And as a programmer, they're just a security nightmare waiting to happen because you have NO IDEA what's lurking inside them, and they're almost universally NOT written by either the software authors, nor the distribution maintainers. It's just some random guy who wraps up other people's software and submits it to the AppStore, and a different guy for the next version, and so on.

            If it worked... even vaguely... I would never have noticed. But nothing snap worked as expected. Not even once. And I sit there as an experienced sysadmin, and I think "what would a basic user do if they were exposed to this" and the answer is... they'd just run a mile. I couldn't blame them at all. Software that doesn't work, an app-store that installs non-working nonsense, and then you can't update to versions made even years ago, and when you run anything you can't find your existing files or the new files you just created with it. It's the most off-putting I've ever seen a Linux distro be. And yet... remove that snap junk and go back to what we've been using for 30+ years in terms of package management... and everything just works and in a way that even the SAME APP STORE just installs things for you that just work.

            Honestly, it's worse than systemd, and I never thought I'd say that.

          2. ttlanhil

            Re: btrfs vs bcachefs

            > If you need to distribute software that will run on almost any arbitrary OS, then you have to bundle it up with most of its dependencies

            Even if we were to take that as true, that only presents a use case for third parties that can build a complex software system but can't build .deb & .rpm, or release enough source that others will package it (either the distros, or someone else managing packaging for you).

            Yes, there's more than .deb and .rpm but there are tools to use those or install from source enough that most distro maintainers can get the job done (and the users on distros that don't rpm/deb are probably used to building when it's not in their repos)

            And they can't statically link dependencies for some reason, even though they can distribute dynamically linked (probably only suitable for small packages, or where there's a lot of optional library loading - but I'm sure some of the cases would actually be better as static linkage over snap if the people building it actually understood it. But I digress)

            Or need specific library versions that would cause conflicts, but that's probably either because they require out of date or patched/beta versions (i.e. not what you usually want on your system)

            If that were how snaps were being used, people wouldn't mind so much

            But it's not - ubuntu defaults to snaps for stuff they manage - that should just be a .deb

            Even if we accept all the arguments about why snaps might be good, they don't apply in the official repos for a distro

            Or put another way - the only success story was in a place that already had a better solution in .deb packages

      5. TVU Silver badge

        Re: btrfs vs bcachefs

        ^ All that is very scary and I will be sticking with ext4.

      6. Henry Wertz 1 Gold badge

        Re: btrfs vs bcachefs

        Just had to second this. I've used btrfs several times in the past -- the first time I lost data. The second, third, and fourth times, the filesystem went read-only. No problem, I'll run fsck! No fsck. Every. Single. Time. this enthusiastic btrfs fan base insisted it was totally stable (as long as you didn't use a few odd bits of functionality like RAID-10, I was running a single disk so no problem) and I think the LONGEST I had it not blow up was about a week. IF you have perfectly reliable hardware, it might be reliable... but pull the power at the wrong moment and you're SOL. Oh I also ran it in a VM last year, since OpenSuse defaulted to it... after one unclean VM shutdown it blew out there too.

        And yes, there was some kind of drama. It really looked like it amounted to the Linux FS devs being concerned bcachefs would be all unstable like btrfs, and they'd have to deal with the fallout for years, the numbers of devs at Redhat etc. working on this is now VERY small. The conversation got heated, there were even accusations of Kent bringing in people to the discussion to try to push things his way; to be fair, from what I saw the kernel devs were doing so to (getting people from outside the filesystem dev to throw down.) Ultimately, the final straw was making too extensive of code changes during the kernel release candidate phase.

        Frankly, I don't have a side on this but I could see both sides point -- Kent's filesystem is well designed, and already in better shape than btrfs was for years (... and probably better shape than it is now.) On the other hand, throwing in big code patches during RC and all that, that just doesn't work.

        1. Altered Ego

          Re: btrfs vs bcachefs

          I ran btrfs for 2 years with OpenSuse, on a PC I used about once a month. After the third unrepairable root filesystem corruption I gave up and will never use it again.

          I thought: "an error, great I will use a snapshot!" No - *every single* snapshot now had the same missing files.

          I used a UPS, no unclean shutdowns. It usually failed after a whole system update. The only good thing was I had /home on a separate filesystem thank God. Absolutely no problems with ext4 before or since. ;-)

  2. Steve Davies 3 Silver badge

    APFS? Bring it on.

    As an Apple and Linux user (my place is 100% free of MS and Google) I use FAT (and its derivatives) to move data between the two OS's. To be able to mount APFS volumes on Linux would simplify my backups and archives considerably.

    1. RolandM

      Re: APFS? Bring it on.

      I am - in private life - a 100% Linux user. Is there any benefit for me when APFS can be mounted? May be some external HD devices?

      Just asking for me and a friend of course

      1. Liam Proven (Written by Reg staff) Silver badge

        Re: APFS? Bring it on.

        > Is there any benefit for me when APFS can be mounted?

        If you don't own or use Macs, not really, no.

        I do own Macs. I am typing on one.

      2. ErikOnTech

        Re: APFS? Bring it on.

        It would be interesting to see how a full implementation stacks up against other filesystems.

        It's reasonably robust, designed explicitly to run on SSDs, has some interesting features like file cloning, built-in tiering (frequently-used data can be kept on faster flash, less-frequently-used on spinning rust, etc), sparse volumes (disk volumes don't need to be in physically / logically contiguous areas of the disk, although on Macs this is facilitated by creating a container partition that usually covers the whole drive), single / multi-key encryption, and some boring but useful features like snapshotting and compression.

      3. blu3b3rry Silver badge
        Thumb Up

        Re: APFS? Bring it on.

        Although I do have two MacBooks both were Linuxed as they aged (that and I find I don't get on with MacOS's UI very much now)

        However I do have family members who exclusively use Apple kit and have done so for approaching 22 years - being able to support or recover their stuff if something goes wrong with tools I know is going to be massively helpful.

      4. mjflory

        Re: APFS? Bring it on.

        I wouldn't mind being able to see APFS from Linux. I put a big SSD into an old Macbook Air and installed Monterey, the most recent MacOS it can run; High Sierra, to run all the software that Monterey rejects; and MX Linux to get some work done. (A note on the case reminds me to hold ALT when I boot to choose where I'm going.) Monterey demanded APFS, which is of course terra incognita to MX. High Sierra uses it but complains it's unsupported (or maybe it just doesn't like the SSD). MX's ext4 is invisible to MacOS. For file transfer I use FAT32 USB sticks. It's a bit of a mess.

  3. achillesneil

    SSH

    It is easy to move date via SSH or rsync onto Apple or any device. I easily move stuff from Linux to NetBSD and vice versa. Mac OS is technically a UNIX system so supports it out of the box.

    1. Liam Proven (Written by Reg staff) Silver badge

      Re: SSH

      > It is easy to move date via SSH or rsync onto Apple or any device.

      Yeah, no, that does not answer the question. It answers an entirely different question that nobody in this context asked.

      Why not?

      Scenario 1:

      * You own a Mac. You dual boot it with a FOSS OS. How does SSH help you get files on or off your Mac volumes? Answer: it doesn't. You can't.

      Scenario 2:

      * A friend owns a Mac. It dies. There's some OS problem. They know how to start it in Target Disk Mode. Then it becomes a USB drive. Can you get the files off it for them?

      With SSH or any other network method, no, you can't. You are screwed. It is no help.

      Scenario 3:

      * A friend has an old iMac or Mac Pro or something. It dies of a hardware failure. You open it up, remove the drive, attach it to a USB cable, connect it to another computer with Linux.

      No network protocol helps you here. You need to mount that disk without the native OS's help.

      I am not saying it does not work. It does work but only when everything is working and all OSes are running *at the same time.*

      Native FS support matters when these conditions cannot be met.

  4. David Newall

    Do one thing and do it well

    What I notice, from reading these comments and bcachefs documents, is how awfully complicated it is. And I think feeping creaturism has been a problem for fs developers for quite a while.

    I'm surprised that developers don't go the other way.

    Want a filesystem that does RAID? Interpose a RAID layer between fs and media (e.g. mdraid). Want a filesystem that does COW? Interpose a COW layer. Want deduplication? Add a layer for that to the stack. Each layer to do one job but do it well.

    ZFS (which succeeds), btrfs (less so), bcachefs, these are complicated because they are complicated.

    1. Henry Wertz 1 Gold badge

      Re: Do one thing and do it well

      There are some that have done that. bcachefs is intentionally designed to have a bunch of advanced features, the likes of btrfs (but not so buggy) or ZFS.

      At home I actually do use a layered approach -- I've got some data volumes with ext4 to store the actual data (since it's so good at it), and s3ql filesystem layered on top, providing deduplication and compression (which it does very well.) s3ql is designed to be able to store your data in a block object store, but also allows pointing it at a local directory and it stores the blocks in there instead, so that's what I do. Nice thing is it's *very* POSIX compliant -- I can run a VirtualBox VM off it, put the steam library on there, put source code in there and build out of it, etc....Also I do run filesystem backups of my other systems into one, the deduplication saves a lot there of course. Some of those fuse filesystems are pretty restricted, this one implements everything; it even supports extended attributes (but not ACLs -- access control lists -- I think for security reasons, they are actually filtered out in the code.)

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon