var capacity 11.1 GiB, var usage 10.6 GiB

  • db2@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    16
    ·
    22 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
        8
        ·
        20 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
          4
          ·
          13 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
            arrow-down
            1
            ·
            7 hours ago

            Nobody puts var on its own partition anymore, it would sill fail.

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

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