We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f49045 commit 2210c1dCopy full SHA for 2210c1d
1 file changed
apps/More RAM/install
@@ -255,7 +255,9 @@ if ! grep -qxF "ExecStart=/usr/bin/zram.sh storage-off" /etc/systemd/system/zram
255
#create a partition and mount it
256
mkfs.ext4 -F -O ^has_journal,^metadata_csum,^orphan_file -b 4096 /dev/zram${storage_drive_num} >/dev/null
257
mkdir -p /zram
258
- mount -o discard /dev/zram${storage_drive_num} /zram
+ #-o discard seems to cause boot problem for some users. Can't reproduce. See https://github.com/Botspot/pi-apps/issues/2968
259
+ #mount -o discard /dev/zram${storage_drive_num} /zram
260
+ mount /dev/zram${storage_drive_num} /zram
261
chmod -R 777 /zram #make writable for any user
262
rmdir /zram/lost+found || true
263
fi
0 commit comments