reupload because i mixed up sigterm and sigkill like a dumb fuck

  • Demdaru@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    15 hours ago

    Gonna make Lemmy pissed off, but installed on my machine Nobara, Cachy and Mint at some point. All of them had comparable if not worse boot and shutdown times to Windows 10. xD ( And worse performance in games but that’s due to having old Nvidia GPU xD )

  • iocase@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    23 hours ago

    Xkill is my favorite. I prefer aiming the gun and pulling the trigger myself

  • starman2112@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    It’s not a request, it’s a warning. The machine will be without power soon, and it’s up to the machine whether it wants to prepare for that or not

  • Fiery@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    This but deleting a folder:

    • Are you sure you want to delete this
    • Delete too large to fit in garbage bin, so are you really sure
    • Couldn’t delete stuff (for no clear reason)
    • Even as admin file locks were hard blocking without any easy way to unblock

    Meanwhile on Linux with sudo rm -rf, it’s just gone as demanded.

    • smeenz@lemmy.nz
      link
      fedilink
      arrow-up
      0
      ·
      1 day ago

      Partially true. The difference is that in Linux, when you delete a file, you’re just removing the directory entry (potentially just one of many entries that point to the same data). The filesystem doesn’t actually remove the data and reclaim space until all open handles are closed and no remaining directory entries point to the data.

      Any running processes that have the file open are able to continue to read and write that data via the handle despite the directory entry being removed, until the handle is closed.

      • oce 🐆@jlai.lu
        link
        fedilink
        arrow-up
        0
        ·
        1 day ago

        I think a file delete just removing an adress and not the actual data is common to all OSes. That’s why to safely erase data from a disk it is recommended to fully overwrite the disk with random data, potentially multiple times.

        • WhyJiffie@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          0
          ·
          19 hours ago

          that’s a different thing. if you delete a file that is still opened by a process, the space will not get freed up until that process also closed the file. until that point the filesystem still keeps track of the file, it is just not present in any directories anymore.

        • InnerScientist@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          22 hours ago

          If you delete a still opened file on Linux then the file will disappear for all processes which didn’t already open it, all programs that did already open it can still read and write to it and the file on disk will never be overwritten (as in, used for other files) as long as there’s still a process with the file open.

          Simplifying how it works: The file you see is a link to the actual file(inode), when a program opens a file using this link they get a copy of the link. As long as one link/copy of it still exist the file won’t be deleted. When a program closes all its links get cleaned up so on shutdown all files which only have processes referring to them get marked as deleted.

  • jason@discuss.online
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    The first time I shutdown a Linux computer, I thought I broke something it happened so fast.

      • jason@discuss.online
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        I think that reaction comes from messing with computers too much. When you fuck up in a computer, that sudden shutdown is what you get. Gives me flashbacks.

      • highball@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        Same. I still feel like I should be parking the heads on my 10mb hard drive. Honestly at this point, I’m too embarased to ask if there is a proper way to send my servers for a reboot, and I cross my fingers I can log back in.

  • lbfgs@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    I had a systemd bug delay shutdown for 2 mins every time for a very long time on Debian. Never managed to fix it, Fedora did not have the same issue fortunately.

  • Aniki@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    also true for boot (not from suspended state), in my experience.

    windows: wait, let me display the windows logo for 10 seconds, then show a spinny circle, then show the lock screen, then when you try to enter your password, it loads your user profile for another 5 minutes before it shows your desktop icons

    linux: click the power button -> 1.5 seconds later i see the lock screen. enter password and it’s just there.

    • myotheraccount@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      19 hours ago

      Back when i still had windows as a second boot option, it was soooo annoyingly slow to boot (like 3 minutes or so). I thought it’s because I installed it on a HDD, not SSD (and that was indeed part of the reason). One day when my internet broke though, I realized it was actually super fast to boot suddenly. It just spent half the time downloading stuff from the internet before, during boot. From then on I just pulled the ethernet cable before booting windows. Fucking joke of an operating system

    • punkfungus@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      I’ve found it to be very dependent on the distro and the hardware it’s running on. Back when I was playing around with distros I definitely tried some that felt like you snapped your fingers and had a desktop. But I settled on Fedora and that takes longer to boot for me than Windows. Not that I mind, 30 seconds once a week or so just isn’t important to me.

      • BlueKey@fedia.io
        link
        fedilink
        arrow-up
        0
        ·
        18 hours ago

        Are you perhaps on Wifi? I noticed that Fedora is has configured Systemd to wait for online network before continuing starting the login services.

  • Evotech@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    Reboot

    Windows: save all your woooork. What apps you had open? How would I know?

    Linux: it’s all saved in ram, don’t worry. It’ll be like you never rebooted