• TimeSquirrel
    link
    fedilink
    432 months ago

    Is this the equivalent of a PC maker in 2024 going “yeah, I don’t think we are going to put a floppy drive in anymore…”?

    • @homura1650@lemm.ee
      link
      fedilink
      622 months ago

      No. It is the equivalent of a PC maker going “yeah. I don’t think we are going to put in a CD drive anymore because the DVD drive we have been including for years can do CDs as well”

      • @LeFantome@programming.dev
        link
        fedilink
        42 months ago

        That is a great analogy.

        Linux can support ext2 two ways today: explicitly and as a side effect of ext4 support. All this change does is remove the explicit support.

        We can remove the explicit CD support provided by a dedicated drive because the DVD drive will provide it as a side-effect.

      • @Markaos@lemmy.one
        link
        fedilink
        222 months ago

        I don’t think that’s a similar situation - the Linux kernel lost some functionality there, but in this case Ext2 filesystems are still fully supported by the Ext4 driver, so there’s no difference in “hardware” support.

        The separate Ext2 driver was being kept for embedded devices with extreme memory or storage limitations where saving some kilobytes by not having all the new Ext3/4 features was useful, but when you can afford the extra memory, there’s no reason not to just use the Ext4 driver for all Ext2/3/4 filesystems.

  • u/lukmly013 (lemmy.sdf.org)
    link
    fedilink
    English
    362 months ago

    I hope Slackware 15 doesn’t still recommend ext2 for being “fast and stable” like Slackware 14 did, so at least until the start of 2022.

    • lemmyreaderOP
      link
      fedilink
      English
      182 months ago

      That reminds me that some howtos I’ve seen in the past recommended to use ext2 for a separate /boot partition.

      • NaN
        link
        fedilink
        English
        8
        edit-2
        2 months ago

        Now we use fat on the ESP. Ext2 for boot was pretty common in the past, journaling wasn’t really needed and it was going to work with whichever bootloader you used. At the time your other partitions might use who knows what and bootloader support for that filesystem wasn’t guaranteed.

        • @toastal@lemmy.ml
          link
          fedilink
          12 months ago

          Depends how you read that. FAT32 is basically required for /boot/EFI but you still see /boot as separate old, stable filesystem on some setups. Usually it is just a bit easier/less hassle to do the whole thing up as FAT32 but you don’t have to.

      • lemmyvore
        link
        fedilink
        English
        12 months ago

        Perhaps for LILO compatibility? But that would make it a pretty old howto (10 years or more).

    • @nyan@sh.itjust.works
      link
      fedilink
      172 months ago

      If I recall correctly, ext3 is ext2 with journalling on top, so they can’t really get rid of ext2 without also ditching ext3.

      • @CosmicTurtle0@lemmy.dbzer0.com
        link
        fedilink
        English
        82 months ago

        I love ZFS but support for it on Ubuntu seems haphazard. It works fine for non-root drives.

        I’ve tried running it as my root partition and just gave up after it fucked up my bpool dataset too many times.

          • @CosmicTurtle0@lemmy.dbzer0.com
            link
            fedilink
            English
            32 months ago

            Yup. It booted fine but after a few reboots, bpool somehow got corrupted and refused to boot. It happened repeatedly after several reinstalls.

            • qprimed
              link
              fedilink
              English
              22 months ago

              ZFS hits memory hard and sometimes can bring out latent deficiencies in that hardware. on non-optimal hardware its a bit of a hardware torture test in its own right.

              having said that, EXT4 and XFS are wonderful unless you need zfs/btrfs.

              • Avid Amoeba
                link
                fedilink
                22 months ago

                Always run 3-4 passes of Memtest86+ on any newly acquired hardware/RAM modules.

            • Avid Amoeba
              link
              fedilink
              1
              edit-2
              2 months ago

              Yeah, the current implementation from the installer never got beyond the experimental stage when it was first introduced. I saw there’s a new “guided setup” in the 24.04 release notes. No idea what it entails yet. I think I’ve also seen a page for setting it up for / in OpenZFS’es docs. I might try it at some point.

      • @subtext@lemmy.world
        link
        fedilink
        62 months ago

        Same here lol, just read through ext{2…4} as well as Btrfs and Bcachefs (and B Trees of course). What a wonderful unplanned deep dive.

      • exscape
        link
        fedilink
        6
        edit-2
        2 months ago

        ZFS is really nice. I started experimenting with it when it was being introduced to FreeBSD, around 2007-2008, but only truly started using it last year, for two NASes (on Linux).

        It’s complex for a filesystem, but considering all it can do, that’s not surprising.

      • Avid Amoeba
        link
        fedilink
        3
        edit-2
        2 months ago

        ZFS is boss. I’m already using it for storage. Need to learn how to use it for /.

        • @Peasley@lemmy.world
          link
          fedilink
          12 months ago

          Not recommended for single-disk root partitions. This is a mistake I’ve made myself. Recovery tools are non-existant on ZFS so non-parity setups are inherently risky. If you have root setup on at least raidz1 with at least 2 disks you are fine.

          • Avid Amoeba
            link
            fedilink
            1
            edit-2
            2 months ago

            Personally I wouldn’t consider recovery as an option at all because it could easily be unavailable because the SSD failed. Instead, I tend to add a mirror drive and/or keep frequent backups where that’s not possible. So from that perspective ZFS is equivalent to Ext4, which I currently use. I’d prefer ZFS over it for it’s data verification, snapshotting and datasets features.

            • @Peasley@lemmy.world
              link
              fedilink
              1
              edit-2
              2 months ago

              I’ve successfully recovered data from ext4 on a broken drive on one occasion. I agree it would have been better to have backups so lesson learned I suppose. Still if I’d been on ZFS root with no mirror I’d have been even more SOL

    • @ozymandias117@lemmy.world
      link
      fedilink
      English
      32 months ago

      The ext4 driver can read ext2/ext3 partitions while supporting the 2038 time issue

      The only change here is the driver loading the filesystem

      Ext3 support is already only available through the ext4 driver

  • @LeFantome@programming.dev
    link
    fedilink
    52 months ago

    You will still be able to mount an ext2 file system with the kernel until ext4 support is removed. That is still going to be a long, long time.