Heya folks, some people online told me I was doing partitions wrong, but I’ve been doing it this way for years. Since I’ve been doing it for years, I could be doing it in an outdated way, so I thought I should ask.

I have separate partitions for EFI, /, swap, and /home. Am I doing it wrong? Here’s how my partition table looks like:

  • FAT32: EFI
  • BTRFS: /
  • Swap: Swap
  • Ext4: /home

I set it up this way so that if I need to reinstall Linux, I can just overwrite / while preserving /home and just keep working after a new install with very few hiccups. Someone told me there’s no reason to use multiple partitions, but several times I have needed to reinstall the OS (Linux Mint) while preserving /home so this advice makes zero sense for me. But maybe it was just explained to me wrong and I really am doing it in an outdated way. I’d like to read what you say about this though.

  • @lurch@sh.itjust.works
    link
    fedilink
    68 months ago

    Except for EFI/swap, partitions nowadays only make sense if you want to force a hard cap on a directory, e.g. /tmp, /var/mail or /var/spool to make sure one function of a system doesn’t break the others when it goes out of hand, but there’s also quotas for that. It always sucks if you have to resize, so it’s probably best to have as few as possible.

    • @pastermil@sh.itjust.works
      link
      fedilink
      48 months ago

      I use btrfs subvols to keep my stuff separate without any sort of hard limit.

      The reason? Makes managing system backups easier. The home and log directories are both on separate subvol; the tmp directories are on tmpfs. All I need to do is snapshpt the root subvol.