this post was submitted on 02 Sep 2024
76 points (98.7% liked)
Linux
47952 readers
1412 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
With an encrypted disk, you only need to enter the encryption password when you shutdown or restart. Suspending and ~~sleep~~ lock screen don't need your encryption password.
Suspending to disk usually requires a password on resume.
That's true for hibernation, but not suspending. Hibernation stores everything in RAM onto the disk then shuts off the PC; to resume the system, you need to unlock the disk to access that data. Suspending doesn't turn off the computer, it keeps the CPU and RAM active.
On my Fedora system, I can hit the suspend button and get back into the OS without needing to type my encryption password, only my user password.
Ok so what do you call "sleep"? You've now listed suspending, sleeping, and hibernating as 3 different things.
I can sleep "sleep". All system components are still powered on at this stage, so it uses the most power. But at the same time it's the quickest to get back into your system. All that's really happening with sleep is that the screen turns off.
Then you have suspend. Laptops often first go to sleep but then suspend after a long period of inactivity to save battery.
Then you have hibernation. I don't think this is used that often nowadays.
I have never met anyone refer to "screen off" as "sleep".
https://en.wikipedia.org/wiki/Sleep_mode
The terms everybody else are using are: "sleep" = "suspend to RAM" = "S3" and "hibernation" = "suspend to disk".