mirror of
https://github.com/Le0xFF/VoidLinuxInstaller.git
synced 2024-11-22 11:16:22 +03:00
Clarify what swapfile could be used for
This commit is contained in:
parent
02b210171e
commit
43008df3e6
@ -6,7 +6,7 @@ As stated in the gist, this script provides:
|
||||
- Full Disk Encryption (including `/boot`) with LUKS;
|
||||
- Optional Logic Volume Management (LVM);
|
||||
- BTRFS as filesystem;
|
||||
- Optional swapfile enabling also [zswap](https://fedoraproject.org/wiki/Zswap);
|
||||
- Optional swapfile enabling also [zswap](https://fedoraproject.org/wiki/Zswap) (swap is needed if you plan to use hibernation);
|
||||
- Trim on SSD.
|
||||
|
||||
To know how the script works in details, please jump to the [How does it work?](#how-does-it-work) section!
|
||||
|
2
vli.sh
2
vli.sh
@ -293,7 +293,7 @@ function create_swapfile {
|
||||
|
||||
header_cs
|
||||
|
||||
echo -e -n "\nDo you want to create a \${BLUE_LIGHT}swapfile\${NORMAL} in \${BLUE_LIGHT}/var/swap/\${NORMAL} btrfs subvolume?\nThis will also enable \${BLUE_LIGHT}zswap\${NORMAL}, a cache in RAM for swap (y/n): "
|
||||
echo -e -n "\nDo you want to create a \${BLUE_LIGHT}swapfile\${NORMAL} in \${BLUE_LIGHT}/var/swap/\${NORMAL} btrfs subvolume?\nThis will also enable \${BLUE_LIGHT}zswap\${NORMAL}, a cache in RAM for swap.\nA swapfile is needed if you plan to use hibernation (y/n): "
|
||||
read -n 1 -r yn
|
||||
|
||||
if [[ "\$yn" == "y" ]] || [[ "\$yn" == "Y" ]] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user