forked from colin/disk-space-report
Update README.md
This commit is contained in:
parent
821249b0e0
commit
c98bd82999
|
@ -1,4 +1,3 @@
|
|||
```markdown
|
||||
# Swap File Creation Script
|
||||
|
||||
This script automatically creates a swap file on your system, allowing you to increase the available virtual memory. It calculates the optimal swap file size based on the available disk space, ensuring that the swap file does not exceed 30GB or 5% of the free disk space, whichever is smaller.
|
||||
|
@ -42,5 +41,4 @@ The script will provide the following output:
|
|||
|
||||
## Note
|
||||
|
||||
This script requires `sudo` privileges to create and activate the swap file, as well as to modify the `/etc/fstab` file for persistence across reboots when using the `--persist` flag.
|
||||
```
|
||||
This script requires `sudo` privileges to create and activate the swap file, as well as to modify the `/etc/fstab` file for persistence across reboots when using the `--persist` flag.
|
Loading…
Reference in New Issue