• ddkman@lemm.ee
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    8 months ago

    This is funny, because copying files to a USB flashdrive, is just inherently disfunctional in linux.

    • smileyheadOP
      link
      fedilink
      arrow-up
      7
      ·
      8 months ago

      TRUE!!! Why “user friendly” distros does not mount removable drives with sync option by default is beyond me.

      • ddkman@lemm.ee
        link
        fedilink
        arrow-up
        9
        ·
        8 months ago

        Hang on there is a sync option? Does that make the progressbar work? If so why is it not enabled?

        • smileyheadOP
          link
          fedilink
          arrow-up
          8
          ·
          8 months ago

          Yep. Almost all operating systems have a bufor that tell programs file was moved when it is still in the process. It makes perfect sense, it speed things up and extends the lifespan of the device.

          You can flush that bufor manually with just the sync command or disable it for whole partition with -o sync option. Technically you should unmount drives before unplugging for safety anyway, but people are stupid or more important lazy and in my opinion for external devices mounting with sync really should be the default. Maybe some low-level developer would disagree.

          • Sonotsugipaa@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            8 months ago

            I’m very confused by this thread.

            Progress bars are handled by the applications themselves, whether flushing happens or not;

            immediate flushing does not increase storage lifespan, in fact letting the OS decide when to do it may allow wear-leveling to work better.

            (Though, IMO immediate flushing should be the default for removable media on user-friendly distributions, like swap partitions are)

            • smileyheadOP
              link
              fedilink
              arrow-up
              2
              ·
              8 months ago

              Progress bars are handled by the applications themselves

              Yes, but OS must tell the application how much of the operation is done

              immediate flushing does not increase storage lifespan

              I was trying to say the opposite. Caching/buffering is what longers the lifespan and can speed system up

    • SaltyIceteaMaker@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      8 months ago

      Zen kernel hasn’t even support for fat32 last time i used a usb.

      Actually had to switch kernel to use it

      • ddkman@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        To be fair in the other direction. Debian and Ubuntu and forks have it. They handle pretty much all filesystems fine, which is indeed impressive. Suprisingly Windows also has pretty good EXT drivers, so in a way the world is in harmony :D .