Skip to content

Instantly share code, notes, and snippets.

use Test;
class X::Timeout is Exception {
has $.payload;
method message() {
"Timeout error occurred: {self.payload}";
}
}
@Marcool04
Marcool04 / Read-only FS on Raspberry Pi.md
Created March 4, 2023 13:54 — forked from thenaterhood/Read-only FS on Raspberry Pi.md
Set up a raspberry pi with ArchLinux or Raspbian with a Read-only root filesystem

Read-only FS on Raspberry Pi

Most embedded devices use a read-only root filesystem. This can make them more resilient to unexpected shutdowns that could otherwise cause data corruption. Depending on your application, you might consider your Pi to be an embedded system. This can also help with some issues that can come from SD card unreliability.

Full instructions and explanations are obtained from this link but you can run these commands directly. I modified some of the instructions for personal convenience.

Login with default username and password: (ArchLinux Arm: alarm, alarm, Raspbian: pi, raspberry)

Optionally enable root over SSH. The rest of these instructions assume you are in root.

nano /etc/ssh/sshd_config