💾 Archived View for altesq.net › ~evenfire › posts › 2022-07-09-2.gmi captured on 2023-04-26 at 13:22:02. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

Partitioning and BTRFS

Today I took the time to re-install GNU/Linux on my laptop and try new things with partitions and the filesystem of my choice, BTRFS.

So my new partition scheme looks like the following:

All partitions have the `noatime` flag. Before I only used LUKS + BTRFS, without LVM or any separate partitions from root. I've separated my partitions to have better grained access over them, for example I can deny the execution of setuid binaries, and scripts in my home partition. It also allows me to have separate BTRFS backups.

I've separated /var so logs or a bug in a program cannot fill my whole hard drive, and /tmp is separated to be put into RAM to make the whole system more speedier.

Another feature of BTRFS I enjoy is the ZSTD compression. It's especially good if you're low on space.

Home