1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-22 01:21:34 -05:00

Update README.md

This commit is contained in:
TommyTran732 2021-04-14 00:38:35 -04:00 committed by tommytran732
parent 8d483e4ef9
commit 9c40f85950
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -14,6 +14,9 @@ This is my fork of [easy-arch](https://github.com/classy-giraffe/easy-arch), a *
1. /boot is now encrypted
2. Added option to select your own kernel flavor
3. Enabled AppArmor
4. Removed swap partition (I will add zram auto config later)
5. Replaced Snapper with Timeshift (snapper rollback only works nicely with openSUSE's layout and openSUSE's GRUB. Since the current layout works better with tTmeshift and we don't have any GRUB package with SUSE's patches on the AUR, I opt in for Timeshift instead.
6. The entire /var, not /var/log is in its own subvolume. There are more things that should not be included and restore with the main system, such as docker containers and virtual machines.
### Partitions layout
@ -34,13 +37,11 @@ The **partitions layout** is pretty straightforward, it's inspired by [this sect
| 1 | @ | / |
| 2 | @home | /home |
| 3 | @snapshots | /.snapshots |
| 4 | @var_log | /var/log |
| 5 | @swap | /swap (optional) |
| 4 | @var | /var |
The **BTRFS subvolumes layout** follows the traditional and suggested layout used by **Snapper**, you can find it [here](https://wiki.archlinux.org/index.php/Snapper#Suggested_filesystem_layout). I only added a swap subvolume in case you need a swapfile, but it's totally optional. You'll be asked if you want it or not during the script execution. Here's a brief explanation of the **BTRFS layout** I chose:
1. `@` mounted as `/`.
2. `@boot` mounted as `/boot`.
3. `@home` mounted as `/home`.
4. `@snapshots` mounted as `/.snapshots`.
5. `@var_log` mounted as `/var/log`.
6. `@swap` mounted as `/swap` (_optional_).
5. `@var` mounted as `/var/`.