this post was submitted on 11 Aug 2023
98 points (96.2% liked)

Linux

48145 readers
823 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

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
[–] M_Reimer@lemmy.world 24 points 1 year ago (4 children)

One small /boot which is also my EFI system partition.

And a partition for / which covers all the rest of the drive.

Partitioning only limits flexibility. At some time you will regret your choice of partition sizes.

[–] UnfortunateShort@lemmy.world 13 points 1 year ago (1 children)

Tbf, you can mitigate this problem by using lvm or btrfs with subvolumes.

[–] M_Reimer@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

I did that years ago and then kept fiddling with the lfs subvolume sizes. I see absolutely no advantages to make things more complicated than needed.

[–] kristoff@infosec.pub 5 points 1 year ago* (last edited 1 year ago)

I dan't know if this is still valid but I used to be told to have different partitions for your system, logs and data (home directories) .. and have the swap-partition located in between them. This was to limit the distance the head has to move when reading from your system starts swapping.

But if you use a SSD drive, that is not valid anymore of course :-)

Kr.

[–] mhz@lemm.ee 0 points 1 year ago

That is why one small (512Mib) ESP and one BTRFS partition occupying the rest of my drive is my go, I can isolate the root (/), var and home partitions using subvolumes.

Users who distro hope may need a separate /home partition.

[–] library_napper@monyet.cc -5 points 1 year ago (2 children)

Aaaand your server just crashed because of a spammy log. You lost the company $222 million overnight, the database is corrupt, and every 9 minutes the company looses another $1 million.

Good job.

[–] chayleaf@lemmy.ml 3 points 1 year ago (1 children)

systemd resets the logs when they get bit, this isn't the 2000s anymore. But if you want to limit the size of /var/log, any modern filesystem has disk quotas per-directory

[–] skullgiver@popplesburger.hilciferous.nl 2 points 1 year ago* (last edited 11 months ago)

[This comment has been deleted by an automated system]