From e02e0b3573c2d42c1e8f5186d665c72c70e4cc16 Mon Sep 17 00:00:00 2001 From: henk Date: Sat, 1 Oct 2022 20:08:56 +0200 Subject: [PATCH] 2022-10-01 20:08:56 --- linux/SWAP.txt | 5 +++++ linux/hdparm.txt | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 linux/SWAP.txt create mode 100644 linux/hdparm.txt diff --git a/linux/SWAP.txt b/linux/SWAP.txt new file mode 100644 index 0000000..89f35fb --- /dev/null +++ b/linux/SWAP.txt @@ -0,0 +1,5 @@ + fallocate -l 2G /swap2file + chmod 600 /swap2file + mkswap /swap2file + swapon /swap2file + diff --git a/linux/hdparm.txt b/linux/hdparm.txt new file mode 100644 index 0000000..4969487 --- /dev/null +++ b/linux/hdparm.txt @@ -0,0 +1,3 @@ +# snelheid van de sd etc +hdparm -t --direct /dev/mmcblk0p2 +