• Romanmir
    link
    fedilink
    English
    111 year ago

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

    • @[email protected]
      link
      fedilink
      41 year 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
      link
      2
      edit-2
      1 year 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
        51 year 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.