• Romanmir
    link
    English
    119 months ago

    And I think it’ll remove “rm” and keep right on going because Linux copies commands to ram then runs them, yeah?

    • @gizmonicus@sh.itjust.works
      link
      fedilink
      49 months ago

      Oh yeah. I’ve done it just for fun before reimaging a machine. It will mostly complete (some stuff isn’t a real file so rm just fails), and your desktop environment will remain up and running while it happen. Then errors start popping up, icons stop working, nothing loads anymore, you can’t reboot or shutdown because those were actually commands, and they’re missing now…

    • @xkforce@lemmy.world
      link
      fedilink
      2
      edit-2
      9 months ago

      Hmm I mean Ive never done it for obvious reasons but maybe? live cds/dvds load the whole OS in RAM and could erase everything but I am not sure about the OS on disk. I could try it in a vm and see what actually happens

      • Ooops
        link
        fedilink
        59 months ago

        Yes, it’s copied to ram. Which is also the reason you don’t need to stop programs while live updating them.

        The new version is only again copied from disk, when you start it at a later time.