var capacity 11.1 GiB, var usage 10.6 GiB

  • db2@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    15
    ·
    19 hours ago

    dd if=/dev/zero of=/var

    But really, remove what you don’t use and/or stop using flatpak.

      • db2@lemmy.world
        link
        fedilink
        arrow-up
        2
        arrow-down
        7
        ·
        17 hours ago

        That’s why I didn’t include any privilege escalation, even if someone ran it as is it would fail. But a warning is also appropriate, thanks.

        • bus_factor@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          11 hours ago

          That doesn’t make it better.

          The first thing a novice user learns is to slap sudo in the front if they don’t have access to do something.

      • db2@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        12 hours ago

        It would probably fail unless var was a block device actually. It wouldn’t turn a directory in to a file.