💾 Archived View for altesq.net › ~masqq › gemlog › 2022-07-09-2.gmi captured on 2022-07-16 at 13:50:17. Gemini links have been rewritten to link to archived content

View Raw

More Information

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

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