this post was submitted on 06 Jun 2024
931 points (99.1% liked)

linuxmemes

21448 readers
827 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
    you are viewing a single comment's thread
    view the rest of the comments
    [–] Drummyralf@lemmy.world 34 points 5 months ago* (last edited 5 months ago) (7 children)

    Can someone explain why MacOS always seems to create _MACOSX folders in zips that we Linux/Windows users always delete anyway?

    [–] Surreal@programming.dev 19 points 5 months ago (3 children)

    Window adds desktop.ini randomly too

    [–] rickyrigatoni@lemm.ee 9 points 5 months ago (1 children)

    Linux adds .demon_portal files all over my computer too.

    [–] Cethin@lemmy.zip 38 points 5 months ago

    That's not Linux doing that. It's the demons in your hardware trying to escape. They normally don't cause too many issues luckily, but if you don't close the portals occasionally they can take over your system.

    [–] ulterno@lemmy.kde.social 4 points 5 months ago* (last edited 5 months ago) (1 children)

    Yeah, those tend to be pre-folder settings for the File Explorer.
    Like View options, thumbnails and such.

    It's been a while for me, but I think there was something specially for thumbnails too. You might find one if you go into the folder options and set a folder to optimized for pictures/videos and add some to it.

    Anti Commercial-AI license

    [–] Drummyralf@lemmy.world 2 points 5 months ago

    Huh, never noticed that. Probably always thought that was just part of the program/files needed.

    [–] FIST_FILLET@lemmy.ml 16 points 5 months ago (1 children)

    this is a complete uneducated guess from a relatively tech-illiterate guy, but could it contain mac-specific information about weird non-essential stuff like folder backgrounds and item placement on the no-grid view?

    [–] Scrollone@feddit.it 10 points 5 months ago (1 children)

    Correct. It contains filesystem metadata that's not supported in the zip files "filesystem".

    [–] PlexSheep@infosec.pub 1 points 5 months ago

    Interesting. We have that in Linux too just not for every directory.

    [–] LiveLM@lemmy.zip 8 points 5 months ago (1 children)

    They're Metadata specific for Macs.
    If you download a third party compression tool they'll probably have an option somewhere to exclude these from the zips but the default tool doesn't Afaik.

    [–] Drummyralf@lemmy.world 2 points 5 months ago* (last edited 5 months ago) (1 children)

    Thanks! Hmm, never thought of looking at 7zip's settings to see if it can autodelete/not unpack that stuff. I'll see if I can find such a setting!

    [–] ReveredOxygen@sh.itjust.works 3 points 5 months ago

    You can definitely check, but I would expect the option to exist when the archive is created rather than when it's extracted

    [–] best_username_ever@sh.itjust.works 5 points 5 months ago (1 children)

    "Resource forks" IIRC, old stuff. Same for the .DS_Store file.

    [–] renzev@lemmy.world 6 points 5 months ago* (last edited 5 months ago)
    [–] cm0002@lemmy.world 4 points 5 months ago

    Because Apple always gotta fuck with and "innovate" perfectly working shit

    Windows's built-in tool can make zips without fucking with shit AND the resulting zip works just fine across systems.

    Mac though...Mac produced zips always ALWAYS give me issues when trying to unzip on a non-mac (ESPECIALLY Linux)

    [–] PoolloverNathan@programming.dev 3 points 5 months ago

    MacOS has two files per file, so the extras need to be stored somewhere.

    [–] Hawk@lemmynsfw.com 3 points 5 months ago (1 children)

    HFS+ has a different features set than NTFS or ext4, Apple elect to store metadata that way.

    I would imagine modern FS like ZFS or btrfs could benefit from doing something similar but nobody has chosen to implement something like that in that way.

    [–] Drummyralf@lemmy.world 2 points 5 months ago (1 children)

    Yeah totally!

    frantically searches for the meaning of all those abbreviations

    [–] Hawk@lemmynsfw.com 3 points 5 months ago (2 children)

    I gotcha:

    • Btrfs
      • BTree File System
        • A Copy on White file system that supports snapshots, supported mostly by
    • ZFS
      • Zetabyte File System
        • Copy on Write File System. Less flexible than BTRFS but generally more robust and stable. Better compression in my experience than BTRFS. Out of Kernel Linux support and native FreeBSD.
    • HFS+
      • what Mac uses, I have no clue about this. some Copy on Write stuff.
    • NTFS
      • Windows File System
      • From what I know, no compression or COW
      • In my experience less stable than ext4/ZFS but maybe it's better nowadays.
    [–] TCB13@lemmy.world 2 points 5 months ago (1 children)

    Great summary, but I've to add that NTFS is WAY more stable than ext4 when it comes to hardware glitches and/or power failures. ZFS is obviously superior to both but overkill for most people, BTRFS should be a nice middle ground and now even NAS manufacturers like Synology are migrating ext4 into BTRFS.

    [–] Hawk@lemmynsfw.com 1 points 5 months ago

    Well that's good to know because I had some terrible luck with it about a decade ago. Although I don't think I would go back to windows, I just don't need it for work anymore and it's become far too complex.

    I've also had pretty bad luck with BTRFS though, although it seems to have improved a lot in the past 3 years that I've been using it.

    ZFS would be good but having to rebuild the kernel module is a pain in the ass because when it fails to build you're unbootable (on root). I also don't like how clones are dependant on parents, requires a lot of forethought when you're trying to create a reproducible build on eg Gentoo.