• Johanno@feddit.org
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    4 months ago

    Since you forgot to add - - preserve-root It won’t go too far. But at some point the system wants to load a file that is deleted and the kernel will panic. System crash. Delete incomplete. But rest assured, the important stuff is gone.

    • DefederateLemmyMl@feddit.nl
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      4 months ago

      Since you forgot to add - - preserve-root It won’t go too far

      Go on then … try it.

      Or don’t because you will erase your system. (Hint: it’s in the asterisk)

      • Johanno@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        4 months ago

        Or was it non preserve. I never tried it though. I guess a vm should be fine to test it. On the other hand I don’t care enough.

        • DefederateLemmyMl@feddit.nl
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          edit-2
          4 months ago

          The flag is called --no-preserve-root, but the flag wouldn’t do anything here because you’re not deleting root (/), you’re deleting all non-hidden files and directories under root (/*), and rm will just let you do it.